From 08b5ddfa9a0a2ed52bd7d7b98ca16ef4dcc610a6 Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123 <819527061@qq.com> Date: 星期二, 13 九月 2022 14:19:43 +0800 Subject: [PATCH] 页面修改 --- src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruForm.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruForm.vue b/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruForm.vue index c5fa912..5279232 100644 --- a/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruForm.vue +++ b/src/pages/components/shebaoZhengjiShouru/shebaoZhengjiShouruForm.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%" @@ -56,7 +57,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