From d9d193db52f94c91b8e1c8de69aa0e6c8b130fe1 Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期四, 26 十二月 2024 14:54:09 +0800
Subject: [PATCH] 12

---
 src/views/doctor/check/index.vue |   47 ++++++++++++++++++++++++++++-------------------
 1 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index 36d4782..696d582 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -627,15 +627,20 @@
                       ></el-switch>
                     </template>
                   </el-table-column>
-                  <el-table-column prop="resultType" label="缁撴灉寤鸿" >
+                  <el-table-column prop="resultType" label="缁撴灉寤鸿">
                     <template slot-scope="scope">
                       <el-popover placement="top" trigger="hover" width="400">
                         <div>
-                         {{ scope.row.nr }}
+                          {{ scope.row.proAdvice }}
                         </div>
                         <div slot="reference" class="jianyi">
-                          {{ scope.row.nr }}
-                        
+                          <el-input
+                            type="textarea"
+                            autosize
+                            v-model="scope.row.proAdvice"
+                            placeholder="璇疯緭鍏ョ粨鏋滃缓璁�"
+                            :disabled="true"
+                          ></el-input>
                         </div>
                       </el-popover>
                     </template>
@@ -923,11 +928,16 @@
                     <template slot-scope="scope">
                       <el-popover placement="top" trigger="hover" width="400">
                         <div>
-                         {{ scope.row.nr }}
+                          {{ scope.row.proAdvice }}
                         </div>
                         <div slot="reference" class="jianyi">
-                          {{ scope.row.nr }}
-                        
+                          <el-input
+                            type="textarea"
+                            autosize
+                            v-model="scope.row.proAdvice"
+                            placeholder="璇疯緭鍏ョ粨鏋滃缓璁�"
+                            :disabled="true"
+                          ></el-input>
                         </div>
                       </el-popover>
                     </template>
@@ -1779,7 +1789,7 @@
             } else {
               this.focusrow.exceptionDesc = false;
             }
-            this.focusrow.nr = this.autorule[0].nr
+            this.focusrow.proAdvice = this.autorule[0].nr;
             this.autorule.forEach((item) => {
               if (this.focusrow.conclusion) {
                 this.focusrow.conclusion += item.bz;
@@ -1787,8 +1797,6 @@
                 this.focusrow.conclusion += item.bz;
               }
             });
-            // this.rows.push(this.focusrow);
-            // console.log(this.rows,5522);
           }
         });
       } else {
@@ -1812,7 +1820,7 @@
             } else {
               this.focusrow.exceptionDesc = false;
             }
-            this.focusrow.nr = this.autorule[0].nr
+            this.focusrow.proAdvice = this.autorule[0].nr;
             this.autorule.forEach((item) => {
               if (this.focusrow.conclusion) {
                 this.focusrow.conclusion += item.bz;
@@ -2451,15 +2459,11 @@
                 if (item1 === item) {
                   item = item1;
                 }
-                // if (item.isReturn == true) {
-                //   item.isReturn = 1;
-                // }
-                // if (item.isReturn == false) {
-                //   item.isReturn = 0;
-                // }
               });
             }
             this.tjOrderDetail.push({
+              proAdvice: item.proAdvice,
+
               proName: item.project.proName,
               proId: item.project.proId,
               orderDetailId: item.orderDetailId,
@@ -2646,6 +2650,8 @@
               });
             }
             this.tjOrderDetail.push({
+              proAdvice: item.proAdvice,
+
               proName: item.project.proName,
               proId: item.project.proId,
               orderDetailId: item.orderDetailId,
@@ -2816,6 +2822,7 @@
           });
         }
         this.tjOrderDetail.push({
+          proAdvice: item.proAdvice,
           proName: item.project.proName,
           proId: item.project.proId,
           orderDetailId: item.orderDetailId,
@@ -2831,6 +2838,8 @@
 
       let data = [
         {
+          proAdvice: item.proAdvice,
+
           tjNumber,
           proId: this.proId,
           remark: this.proParentList.remark, // 澶囨敞
@@ -2943,7 +2952,7 @@
   font-size: 12px;
 }
 ::v-deep .el-checkbox__input.is-checked .el-checkbox__inner {
-    background-color: #66cc66;
-    border-color: #66cc66;
+  background-color: #66cc66;
+  border-color: #66cc66;
 }
 </style>

--
Gitblit v1.8.0