zhangxiaoxu123456
2022-04-27 b55d1c67769dcc8d90eed2bb4f8a7dfd51e7303a
src/pages/components/juminYanglaoBaoxian/baoxianForm.vue
@@ -1,6 +1,7 @@
<template>
  <div class="baoxianForm-wrap" :style="{paddingTop : paddingTop + 'rem'}">
    <el-table
      :cell-style="handleCellStyle"
      :max-height="tableHeight"
      border
      style="width: 100%"
@@ -108,6 +109,11 @@
                       this.tableData = res.list
                    }
                })
            },
            handleCellStyle({rowIndex, columnIndex}) {
                if(columnIndex == 0) {
                    return { background:'#51D2FF' }
                }
            }
        }
    }