From 9290a0a7023a612cddc5971553a6efb727a51165 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期二, 19 八月 2025 17:34:58 +0800
Subject: [PATCH] qx

---
 src/views/doctor/check/index.vue |   46 ++++++++++++++++++++++++++++++++++++----------
 1 files changed, 36 insertions(+), 10 deletions(-)

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index 39698cd..17a8635 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -2064,17 +2064,28 @@
               console.log('蹇呭~椤规鏌�:', project.proDefault);
 
               if (!proResult || proResult.trim() === '') {
-                this.radio = this.lastClickedTab.name;
                 this.$modal.msgError("璇锋鏌ラ」鐩槸鍚﹀~鍐欏畬鎴�");
                 this.minedis = true;
                 return;
-              }
-
-              if (proResult.includes(' ')) {
+              } else if (proResult.includes(' ')) {
                 this.$modal.msgError("璇锋鏌ラ」鐩槸鍚︽湁绌烘牸");
-                this.radio = this.lastClickedTab.name;
                 this.minedis = true;
                 return;
+              } else {
+                this.minedis = false;
+                this.tjOrderDetail.push({
+                  proAdvice: item.proAdvice,
+                  proName: project.proName,
+                  proId: project.proId,
+                  orderDetailId: item.orderDetailId,
+                  flowingWaterId: item.flowingWaterId,
+                  proResult: proResult,
+                  tjStatus: 1,
+                  isReturn: item.isReturn ? 1 : 0,
+                  exceptionDesc: item.exceptionDesc ? 1 : 0,
+                  conclusion: item.conclusion,
+                  rulesList: item.rulesList
+                });
               }
             }
 
@@ -2129,7 +2140,7 @@
           this.nums = tab.name;
           this.proId = tab.name;
           this.lastClickedTab = tab;
-            this.minedis = false
+          this.minedis = false
           this.getParentIdsss();
           this.getbzlist();
         });
@@ -2181,7 +2192,7 @@
       // }
       for (const item of this.proParentList.sons) {
         const { project, proResult } = item;
-
+        console.log(project.proDefault)
         // 蹇呭~椤归獙璇�
         if (project.proDefault) {
           console.log('蹇呭~椤规鏌�:', project.proDefault);
@@ -2190,13 +2201,28 @@
             this.$modal.msgError("璇锋鏌ラ」鐩槸鍚﹀~鍐欏畬鎴�");
             this.minedis = true;
             return;
-          }
-
-          if (proResult.includes(' ')) {
+          } else if (proResult.includes(' ')) {
             this.$modal.msgError("璇锋鏌ラ」鐩槸鍚︽湁绌烘牸");
             this.minedis = true;
             return;
+          } else {
+            this.minedis = false;
+            this.tjOrderDetail.push({
+              proAdvice: item.proAdvice,
+              proName: project.proName,
+              proId: project.proId,
+              orderDetailId: item.orderDetailId,
+              flowingWaterId: item.flowingWaterId,
+              proResult: proResult,
+              tjStatus: 1,
+              isReturn: item.isReturn ? 1 : 0,
+              exceptionDesc: item.exceptionDesc ? 1 : 0,
+              conclusion: item.conclusion,
+              rulesList: item.rulesList
+            });
           }
+
+
         }
 
         // 闈炲繀濉」鏁版嵁澶勭悊

--
Gitblit v1.8.0