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/zhiyePeixun.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue index 51a17f1..1fe2376 100644 --- a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue +++ b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue @@ -6,6 +6,7 @@ :data="tableData" max-height="tableHeight" :header-cell-style="handleheader" + :cell-style="handleCellStyle" style="width: 100%"> <el-table-column fixed="left" @@ -109,6 +110,11 @@ } }, + handleCellStyle({rowIndex, columnIndex}) { + if(columnIndex == 0) { + return { background:'#51D2FF' } + } + }, zhiyepeixunEcharts() { let myEchart = this.$echarts.init(document.getElementById('zhiyepeixunEcharts')) let option = { -- Gitblit v1.9.1