From 87cbee9b14970d997c1e5c54b5fef4d04369c968 Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123456 <zxx19900626> Date: 星期四, 05 五月 2022 09:57:52 +0800 Subject: [PATCH] 社会收支总表修改 --- src/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue index d3baac5..1224121 100644 --- a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue +++ b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue @@ -5,6 +5,7 @@ <div class="chuangye-table"> <el-table :max-height="tableHeight" + :cell-style="handleCellStyle" border :data="danbaoTableData" style="width: 100%"> @@ -79,6 +80,7 @@ <h1>浜哄姏璧勬簮鏈嶅姟浜т笟鍥綋鏈堟儏鍐电粺璁¤〃</h1> <div class="danbaotongjibiao-table"> <el-table + :cell-style="handleCellStyle" :max-height="tableHeight" border :data="renliziyuanTableData" @@ -218,6 +220,11 @@ }, getHeight() { this.tableHeight = (window.innerHeight - nowSize(400)) / 2 + }, + handleCellStyle({rowIndex, columnIndex}) { + if(columnIndex == 0) { + return {background:'#51D2FF'} + } } }, created() { -- Gitblit v1.9.1