From 5dff3baef47eca75e0ceb3cda069cf8f0b7b768a Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期五, 24 一月 2025 17:53:30 +0800
Subject: [PATCH] 1

---
 src/views/doctor/check/index.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index ac92118..808bde7 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -1418,6 +1418,7 @@
     return {
       remakes: "",
       titles: "",
+      type: null,
       advice: "",
       idss: [],
       vaids: [],
@@ -1629,13 +1630,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 +1657,6 @@
         // 璁剧疆鏄惁闇�瑕佹敼鍙橀鑹�
         if (ycbz === "1") {
           this.isRed = true; // 璁剧疆鏍囪瘑锛屾敼鍙樺瓧浣撻鑹�
-          console.log(this.isRed, 444);
         } else {
           this.isRed = false; // 鎭㈠榛樿棰滆壊
         }
@@ -1969,9 +1975,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 +2010,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) {

--
Gitblit v1.8.0