From 1073d84e9e9af6b9ac5c0136dfd2b828c676ef8a Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期四, 25 四月 2024 11:29:08 +0800
Subject: [PATCH] su

---
 src/views/doctor/checkAll/index.vue |   30 +++++++++++++++++-------------
 1 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 36553b6..fa565b2 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -110,7 +110,7 @@
               鎬у埆锛�
             </td>
             <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-              {{ tableAll.cusSex }}
+              {{ tableAll.cusSex == 0? "鐢�" :tableAll.cusSex == 1?"濂�":"鏈煡"}}
             </td>
           </tr>
           <tr style="border: 1px solid #dfe6ec; border-collapse: collapse">
@@ -728,7 +728,7 @@
 
   created() {
     // this.getNowTime();
-    this.getList();
+   
     this.getdate();
   },
 
@@ -744,6 +744,7 @@
           moment(res.data).format("YYYY-MM-DD 00:00:00"),
           moment(res.data).format("YYYY-MM-DD 23:59:00"),
         ];
+        this.getList();
       });
     },
     // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡
@@ -1095,23 +1096,25 @@
     },
     // 閲嶇疆
     resetQuery() {
+      this.startTime=[]
       this.resetForm("tableList");
       this.submitForm();
     },
 
     // 鐐瑰嚮璇︽儏
     handleClick(row) {
+     
       this.tableAll = row;
       this.tjproject = "0"
-      if (this.tableAll.cusSex === 0) {
-        this.tableAll.cusSex = "鐢�";
-      }
-      if (this.tableAll.cusSex === 1) {
-        this.tableAll.cusSex = "濂�";
-      }
-      if (this.tableAll.cusSex === 2) {
-        this.tableAll.cusSex = "鏈煡";
-      }
+      // if (this.tableAll.cusSex === 0) {
+      //   this.tableAll.cusSex = "鐢�";
+      // }
+      // if (this.tableAll.cusSex === 1) {
+      //   this.tableAll.cusSex = "濂�";
+      // }
+      // if (this.tableAll.cusSex === 2) {
+      //   this.tableAll.cusSex = "鏈煡";
+      // }
       this.tjNumber = this.tableAll.tjNumber;
       getState(this.tjNumber).then((res) => {
         this.status = res.data;
@@ -1129,10 +1132,10 @@
                 this.drawer = true;
                 getupdateCheckType(this.tjNumber).then((response) => {
                   this.changedate = response.data;
-                  this.changedate.forEach((item) => {
+                  if (this.changedate) {
+                    this.changedate.forEach((item) => {
                     this.textarea1 = item.checkAdvice;
                   });
-                  if (this.changedate) {
                     for (let i = 0; i < this.changedate.length; i++) {
                       this.remark = this.changedate[i].remark;
                     }
@@ -1218,6 +1221,7 @@
               });
             });
           this.drawer = false;
+          
         }
       });
 

--
Gitblit v1.8.0