From c1f1ecb1045b0eaf2933e7279eabbbde17559eab Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 24 七月 2025 16:59:30 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/discharge/index.vue |   30 +++++++++++++++++++++++-------
 1 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index 001e5a1..0ce6bee 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -282,6 +282,7 @@
       </el-row>
       <el-table
         v-loading="loading"
+        ref="userform"
         :data="userList"
         :row-class-name="tableRowClassName"
         @selection-change="handleSelectionChange"
@@ -839,7 +840,17 @@
             </el-form-item>
           </el-col>
         </el-row>
-
+        <el-row >
+          <el-col :span="8">
+            <el-form-item label="杩囨护鍖荤敓" width="100" prop="filterDrname">
+              <el-input
+                v-model="form.filterDrname"
+                placeholder="璇疯緭鍏ュ尰鐢熷鍚�"
+                maxlength="30"
+              />
+            </el-form-item>
+          </el-col>
+        </el-row>
         <el-row>
           <el-col :span="24">
             <el-form-item label="杩囨护鍘熷洜">
@@ -1124,10 +1135,10 @@
           name: "寰呴殢璁�",
           value: 0,
         },
-        {
-          name: "宸插彂閫�",
-          value: 0,
-        },
+        // {
+        //   name: "宸插彂閫�",
+        //   value: 0,
+        // },
 
         // {
         //   name: "琛ㄥ崟宸插彂閫�",
@@ -1348,7 +1359,7 @@
           this.ycvalue = response.rows[0].yc;
           this.cardlist[2].value = response.rows[0].fssb;
           this.cardlist[3].value = response.rows[0].dsf;
-          this.cardlist[4].value = response.rows[0].yfs2;
+          // this.cardlist[4].value = response.rows[0].yfs2;
           this.yfsvalue = response.rows[0].yfs;
         }
         this.loading = false;
@@ -1424,7 +1435,7 @@
           this.ycvalue = response.rows[0].yc;
           this.cardlist[3].value = response.rows[0].fssb;
           this.cardlist[4].value = response.rows[0].dsf;
-          this.cardlist[5].value = response.rows[0].yfs2;
+          // this.cardlist[5].value = response.rows[0].yfs2;
           this.yfsvalue = response.rows[0].yfs;
         }
         this.loading = false;
@@ -1605,9 +1616,13 @@
         if (res.code == 200) {
           this.$message.success("璇勫垎淇濆瓨鎴愬姛");
           this.scoreDialogVisible = false;
+          this.selectedRows=[];
+          this.$refs.userform.clearSelection()
         } else {
           this.$modal.msgWarning("璇勫垎淇濆瓨澶辫触");
           this.scoreDialogVisible = false;
+          this.selectedRows=[];
+          this.$refs.userform.clearSelection()
         }
       });
       // 杩欓噷鍙互娣诲姞淇濆瓨閫昏緫锛屽璋冪敤API淇濆瓨璇勫垎
@@ -1818,6 +1833,7 @@
     handleUpdate(row) {
       particularpatient(row.patid).then((response) => {
         this.form = response.data;
+        this.form.filterDrname = store.getters.nickName;
       });
       this.amendtag = true;
       this.Labelchange = true;

--
Gitblit v1.9.3