From bbaa459312668dfb5257409d0bdbc45a2dd5884c Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期三, 18 十二月 2024 15:02:19 +0800 Subject: [PATCH] 总检区分背景色 --- src/views/doctor/checkAll/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 0bbe6e7..920eb31 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -764,7 +764,7 @@ :data="statusList" style="width: 100%" :header-cell-style="{ background: '#e6a23c' }" - :stripe="true" + > <el-table-column align="center" @@ -1939,10 +1939,11 @@ }; }, redxiangmu({ row }) { - if (row.type == 0) { + if (row.type != 1) { // 鍙橀鑹茬殑鏉′欢 return { - color: "red", // 杩欎釜return鐨勫氨鏄牱寮� 鍙互鏄痗olor 涔熷彲浠ユ槸backgroundColor + backgroundColor: '#AAD8DF !important', // 杩欎釜return鐨勫氨鏄牱寮� 鍙互鏄痗olor 涔熷彲浠ユ槸backgroundColor + // color: "#AAD8DF ", }; } }, -- Gitblit v1.8.0