From ee31f47ffb5be16aa79fdd46733e79d16df6cd8c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 26 二月 2025 16:13:44 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/hospital.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue
index ebd51cc..0a68128 100644
--- a/src/views/patient/patient/hospital.vue
+++ b/src/views/patient/patient/hospital.vue
@@ -20,9 +20,9 @@
               @keyup.enter.native="handleQuery"
             />
           </el-form-item>
-          <el-form-item label="浣忛櫌鍙�" prop="patid">
+          <el-form-item label="浣忛櫌鍙�" prop="patno">
             <el-input
-              v-model="queryParams.patid"
+              v-model="patno"
               placeholder="璇疯緭鍏ユ偅鑰呯紪鍙�"
               clearable
               style="width: 250px"
@@ -429,6 +429,7 @@
         { papersname: "涓浗娓境灞呮皯韬唤璇�" },
         { papersname: "涓浗鍙版咕灞呮皯韬唤璇�" },
       ],
+      patno:null,
       // 琛ㄥ崟鍙傛暟
       form: {
         name: "",
@@ -600,13 +601,22 @@
       this.queryParams.startOutHospTime = this.dateRange[0];
       this.queryParams.endOutHospTime = this.dateRange[1];
       this.queryParams.pageNum = 1;
+      if (this.patno) {
+      this.queryParams.patno = this.patno;
+
+      }
       this.getList();
     },
     /** 閲嶇疆鎸夐挳鎿嶄綔 */
     resetQuery() {
       this.dateRange = [];
-      this.resetForm("queryForm");
-      this.$refs.tree.setCurrentKey(null);
+      this.queryParams= {
+        pageNum: 1,
+        pageSize: 10,
+        cry: 1,
+        searchscope:2,
+      },
+      this.patno=null;
       this.handleQuery();
     },
     // 澶氶�夋閫変腑鏁版嵁

--
Gitblit v1.9.3