From 73a9ae225888adae528d9b06233f65da04d883db Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期五, 20 五月 2022 13:42:22 +0800 Subject: [PATCH] 其他业务 --- src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue index 30f0486..6848bd8 100644 --- a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue +++ b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue @@ -7,6 +7,7 @@ :max-height="tableHeight" :data="tableData" :header-cell-style="handleheader" + :cell-style="handleCellStyle" stripe border style="width: 100%"> @@ -110,7 +111,7 @@ loseReEmployment:[], //澶变笟浜哄憳鍐嶅氨涓� diffReEmployment: [], //灏变笟鍥伴毦浜哄憳鍐嶅氨涓� xdata:[], - tableHeight: window.innerHeight - nowSize(1000) + tableHeight: window.innerHeight - nowSize(960) } }, mounted() { @@ -263,6 +264,11 @@ lineHeight: '0', } }, + handleCellStyle({rowIndex,columnIndex}) { + if(columnIndex == 0) { + return { background:'#51D2FF' } + } + }, getHeight() { this.tableHeight = window.innerHeight - nowSize(1000) }, @@ -339,7 +345,7 @@ } } .laogongJiuyeEcharts{ - height: calc(100% - 2.34375rem /* 600/256 */ - 0.33203125rem /* 85/256 */); + height: calc(100% - 2.5rem /* 640/256 */ - 0.33203125rem /* 85/256 */); } } </style> -- Gitblit v1.9.1