src/pages/components/juminYanglaoBaoxian/baoxianForm.vue
@@ -1,12 +1,13 @@ <template> <div class="baoxianForm-wrap" :style="{paddingTop : paddingTop + 'rem'}"> <el-table :cell-style="handleCellStyle" :max-height="tableHeight" border style="width: 100%" :data="tableData"> <el-table-column width="200" min-width="140" align="center" prop="areaName" label="县(市、区)"> @@ -108,6 +109,11 @@ this.tableData = res.list } }) }, handleCellStyle({rowIndex, columnIndex}) { if(columnIndex == 0) { return { background:'#51D2FF' } } } } }