From b262be766fd1dbcb936d9dda5b5e802de4d27e59 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期四, 28 四月 2022 11:24:40 +0800
Subject: [PATCH] 其他业务
---
src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue b/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue
index 8ad0422..6b8406d 100644
--- a/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue
+++ b/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue
@@ -3,6 +3,7 @@
<div class="shebaoShouzhiZongbiao-table">
<h1>绀句細淇濋殰鍩洪噾缁熻琛�</h1>
<el-table
+ :cell-style="handleCellStyle"
:data="tableData"
style="width: 100%">
<el-table-column
@@ -421,7 +422,12 @@
window.addEventListener('resize',function () {
myEchart.resize()
})
- }
+ },
+ handleCellStyle({rowIndex, columnIndex}) {
+ if(columnIndex == 0) {
+ return { background:'#51D2FF' }
+ }
+ },
}
}
</script>
--
Gitblit v1.9.1