From c140987b3ef6fd47e3b795fc3a2c6f880f49f9c2 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期三, 12 三月 2025 13:41:28 +0800
Subject: [PATCH] qx

---
 src/views/doctor/check/index.vue |   49 +++++++++++++++++++++++++++++++++++++------------
 1 files changed, 37 insertions(+), 12 deletions(-)

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index ac92118..af318a4 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -555,7 +555,7 @@
                   >
                     <template slot-scope="scope">
                       <el-checkbox
-                        v-model="scope.row.exceptionDesc"
+                        v-model="scope.row.exceptionDesc"  @change="changDesc(scope.row)"
                       ></el-checkbox>
                     </template>
                   </el-table-column>
@@ -592,7 +592,7 @@
                         autosize
                         v-model="scope.row.conclusion"
                         autocomplete="off"
-                        placeholder="璇疯緭鍏ユ娴嬬粨鏋�"
+                        placeholder="璇疯緭鍏ョ粨鏋滅粨璁�"
                         disabled
                       ></el-input>
                     </template>
@@ -1221,6 +1221,7 @@
           <div class="tab8">
             <div class="tab3">
               <el-form
+              @submit.native.prevent
                 :model="queryParam1"
                 ref="tableList"
                 :inline="true"
@@ -1418,6 +1419,7 @@
     return {
       remakes: "",
       titles: "",
+      type: null,
       advice: "",
       idss: [],
       vaids: [],
@@ -1582,8 +1584,9 @@
       } else {
         this.curindex = row;
         this.$refs.bbb.title = "閫夋嫨妫�娴嬬粨鏋�";
-        this.$refs.bbb.proId = row.proId;
-        this.$refs.bbb.getList();
+        // this.$refs.bbb.proId = row.proId;
+        this.$refs.bbb.open = true;
+        this.$refs.bbb.getList(this.curindex);
       }
     },
     handleChangesZt(params) {
@@ -1597,8 +1600,14 @@
       return "";
     },
     getbzlist() {
+      this.loading = true;
       getDeptAdvice(this.queryParam1).then((response) => {
-        this.deptAdviceList = response.data.list;
+        
+        if(response.data.list){
+          this.deptAdviceList = response.data.list;
+          this.loading = false  
+        }
+       
         this.total1 = response.data.total;
       });
     },
@@ -1629,13 +1638,19 @@
     },
     // 妫�鏌ユ楠岀粨鏋滄寜閽�
     result() {
-      this.openOne = true;
       let tjNumber = this.tableAll.tjNumber;
-      console.log(tjNumber, 999);
+      console.log(this.tableAll.tjNumber,666);
+      
 
       getXm(tjNumber).then((res) => {
-        console.log(res, 666);
         this.xiangmuList = res.data;
+        if(this.xiangmuList.length > 0){
+          this.openOne = true;
+        }
+        else{
+          this.openOne = false;
+          this.$modal.msgWarning("鏆傛棤椤圭洰涓庢鏌ユ楠岀粨鏋�")
+        }
       });
     },
     queryResultone(row) {
@@ -1650,7 +1665,6 @@
         // 璁剧疆鏄惁闇�瑕佹敼鍙橀鑹�
         if (ycbz === "1") {
           this.isRed = true; // 璁剧疆鏍囪瘑锛屾敼鍙樺瓧浣撻鑹�
-          console.log(this.isRed, 444);
         } else {
           this.isRed = false; // 鎭㈠榛樿棰滆壊
         }
@@ -1788,6 +1802,15 @@
       //     this.doctorName = item.nickName
       //   }
       // })
+    },
+
+    changDesc(item){
+      console.log(item)
+      if(item.exceptionDesc == true){
+        item.conclusion = "寮傚父"
+      }else{
+         item.conclusion = "姝e父"
+      }
     },
 
     myclass(row, column, rowIndex, columnIndex) {
@@ -1969,9 +1992,9 @@
       });
     },
     hb() {
-      if (this.queryParams.tjNumber != "") {
-        this.submitForm();
-      }
+     /*  if (this.queryParams.tjNumber != "") {
+        // this.submitForm(); 
+      } */
     },
     propoChange() {
       this.cusobj = { sex: this.tableAll.cusSex, isZj: 1 };
@@ -2004,6 +2027,7 @@
       this.loading = true;
       this.queryParams.type = this.tjStatus;
       getProList(this.queryParams).then((response) => {
+        console.log(response,333);
         if (response.code == 200) {
           this.loading = false;
           if (response.data) {
@@ -2532,6 +2556,7 @@
             tjNumber: this.tjNumber,
             proParentId: this.nums,
           };
+          this.loading = true; 
           getParentId(data).then((response) => {
             this.proParentList = response.data;
             this.value = [];

--
Gitblit v1.8.0