zhangxiaoxu123456
2022-05-10 6e41ce0ab4300758ebd77ea257c3d9532e3df7e0
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' }
                }
            }
        }
    }