From 7c2ff43a4f70638fb063d0aa1d2f1624e6cada33 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期六, 07 五月 2022 15:25:42 +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