From 599dc1a68be60373048aff95bd53ef8fdd138b4e Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期四, 03 四月 2025 18:02:28 +0800
Subject: [PATCH] 1

---
 src/views/doctor/checkAll/index.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 0524fff..68f6865 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -720,8 +720,7 @@
         <el-button @click="jianqians = false">鍙� 娑�</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="鏂板寮傚父缁撴灉" :visible.sync="addNewDialogVisible" width="900px" :before-close="handleAddNewClose"
-      class="custom-dialog">
+    <el-dialog title="鏂板寮傚父缁撴灉" :visible.sync="addNewDialogVisible" width="900px" class="custom-dialog">
       <el-form :model="newItem" ref="newItemForm" label-width="100px" class="custom-form">
         <el-form-item label="椤圭洰鍒嗙被" prop="parentName">
           <el-select v-model="newItem.parentName" placeholder="璇烽�夋嫨椤圭洰鍒嗙被" clearable filterable
@@ -771,7 +770,7 @@
         <el-form :inline="true">
           <el-form-item label="寤鸿鍚嶇О">
             <el-input v-model="queryParams1.zyzd" placeholder="璇疯緭鍏ュ缓璁悕绉拌繘琛岀瓫閫�" clearable style="width: 200px"
-              @input="filterAdvices(true)" onkeydown="if(event.keyCode === 32) return false;" />
+              @input="filterAdvices(true)" onkeydown="if(event.keyCode === 32 || event.keyCode === 13) return false;" />
           </el-form-item>
         </el-form>
       </div>
@@ -1044,6 +1043,7 @@
     });
   },
   methods: {
+
     handleAdviceBlur(row, index) {
       // 鏋勯�� advices 鏁版嵁
       let advicesToSubmit = [];
@@ -1205,12 +1205,6 @@
       if (value) {
         this.newItem.jcxm = value; // 灏嗛�夋嫨鐨勯」鐩垎绫昏祴鍊肩粰妫�娴嬮」鐩�
       }
-    },
-
-    handleAddNewClose(done) {
-      // this.$confirm('纭畾鍏抽棴鏂板绐楀彛鍚楋紵鏈繚瀛樼殑鏁版嵁灏嗕涪澶便��')
-      //   .then(() => done())
-      //   .catch(() => { });
     },
 
     // 娣诲姞鏂扮殑寤鸿缁�
@@ -1455,7 +1449,7 @@
                 loading.close();
               }, 3000);
               this.$message({
-                message: "鎶ュ憡姝e湪鐢熸垚锛岃涓ゅ垎閽熷悗棰勮锛�",
+                message: "璇锋挙鍥為噸鏂扮敓鎴愭姤鍛�",
                 type: "error"
               });
             } else {
@@ -1618,8 +1612,14 @@
       if (this.textarea1 == null) {
         this.textarea1 = "";
       }
+      console.log(data)
       data.forEach((item) => {
-        this.textarea1 += item.advice;
+        if(item.advice){
+          this.textarea1 += item.advice;
+        }else{
+          this.textarea1 += item.jynr;
+        }
+        
       });
     },
     proposalChange() {

--
Gitblit v1.8.0