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 |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index cd5b5d4..920eb31 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -190,7 +190,7 @@
             />
           </template>
         </el-table-column>
-        <el-table-column label="鎿嶄綔" align="center" width="90px" fixed="right">
+        <el-table-column label="鎿嶄綔" align="center" width="120px" fixed="right">
           <template slot-scope="scope">
             <el-button
               fixed="right"
@@ -579,8 +579,9 @@
             <el-button type="primary" @click="proposalChange"
               >鐢熸垚寤鸿</el-button
             >
+          
           </div>
-
+  
           <el-form
             ref="numberValidateForm"
             label-width="80px"
@@ -763,7 +764,7 @@
                   :data="statusList"
                   style="width: 100%"
                   :header-cell-style="{ background: '#e6a23c' }"
-                  :stripe="true"
+                
                 >
                   <el-table-column
                     align="center"
@@ -1321,6 +1322,7 @@
   data() {
     return {
       // 鏇存柊鎬绘寤鸿
+
       initialTotalCheckAdvice: "",
       initialState: "",
       preObj: {},
@@ -1512,7 +1514,7 @@
         this.yichangList = res.data;
         this.getExpends();
         if (!this.yichangList) {
-          this.$message({
+          _this.$message({
             type: "warning ",
             message: "鏆傛棤寮傚父鎶ュ憡",
           });
@@ -1521,10 +1523,10 @@
     },
     getdate() {
       getNewDateList().then((res) => {
-        this.startTime = [
+        /* this.startTime = [
           moment(res.data).format("YYYY-MM-DD 00:00:00"),
           moment(res.data).format("YYYY-MM-DD 23:59:00"),
-        ];
+        ]; */
         this.getList();
       });
     },
@@ -1937,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