From 6d4e9ccb34e0292bfadba7bfd678231cb37ae8c0 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期三, 02 七月 2025 15:45:16 +0800
Subject: [PATCH] :qx

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

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 13e6d24..82d066e 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -2589,14 +2589,22 @@
 
     yichanghuifu() {
       this.loading = true;
-      this.status1 = 4;
       let tjNum = this.tjNumber;
-      console.log(this.tjNumber, 111222);
-
       huiFuyichangxiangmu(tjNum).then((res) => {
-        console.log(res, 9999999);
+        this.status1 = 4;
         this.ychfList = res.data;
-      });
+        if(this.ychfList.length == 0){
+          this.message.success("鏆傛棤寮傚父鎭㈠椤圭洰")
+        }
+      })
+      .catch((error)=>{
+        console.error("鑾峰彇椤圭洰澶辫触锛�",error);
+        
+        this.$message.error("鑾峰彇椤圭洰澶辫触")
+      })
+      .finally(()=>{
+        this.loading = false;
+      })
     },
     hfyc(id) {
       this.$confirm("纭瑕佹仮澶嶈椤瑰悧锛�", "鎻愮ず", {

--
Gitblit v1.8.0