zhangxiaoxu123456
2022-04-28 76e28b7140b15261f1d82c2855eb09b49e5902b3
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' }
                }
            }
        }
    }