From 87cbee9b14970d997c1e5c54b5fef4d04369c968 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123456 <zxx19900626>
Date: 星期四, 05 五月 2022 09:57:52 +0800
Subject: [PATCH] 社会收支总表修改
---
src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruTotal.vue | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruTotal.vue b/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruTotal.vue
index 3c864a3..6178120 100644
--- a/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruTotal.vue
+++ b/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruTotal.vue
@@ -3,6 +3,7 @@
<div class="danwei-box">鍗曚綅锛氫汉</div>
<div class="shebaoZhengjiShouruForm-table">
<el-table
+ :cell-style="handleCellStyle"
:max-height="tableHeight"
border
style="width: 100%"
@@ -58,7 +59,12 @@
methods: {
getHeight() {
this.tableHeight = window.innerHeight - nowSize(350)
- }
+ },
+ handleCellStyle({rowIndex, columnIndex}) {
+ if(columnIndex == 0) {
+ return { background:'#51D2FF' }
+ }
+ },
},
created() {
window.addEventListener('resize', this.getHeight)
--
Gitblit v1.9.1