From 7f3bd68b67a4f8ae0565b19433299c5e6336f951 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期四, 19 五月 2022 14:46:07 +0800
Subject: [PATCH] 其他业务
---
src/pages/components/juminYanglaoBaoxian/baoxianForm.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/pages/components/juminYanglaoBaoxian/baoxianForm.vue b/src/pages/components/juminYanglaoBaoxian/baoxianForm.vue
index 99ccfdd..bfafd68 100644
--- a/src/pages/components/juminYanglaoBaoxian/baoxianForm.vue
+++ b/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' }
+ }
}
}
}
--
Gitblit v1.9.1