From a398c62a2ac6ef819f162dc3e0923bed144905dc Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 27 六月 2025 09:17:11 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/behospitalized.vue |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index 6cf033e..671b5fb 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -27,9 +27,9 @@
                   @keyup.enter.native="handleQuery"
                 />
               </el-form-item>
-          <el-form-item label="浣忛櫌鍙�" prop="patid">
+          <el-form-item label="鎮h�呯紪鍙�" prop="patid">
             <el-input
-              v-model="queryParams.patid"
+              v-model="queryParams.patno"
               placeholder="璇疯緭鍏ユ偅鑰呯紪鍙�"
               clearable
               @keyup.enter.native="handleQuery"
@@ -147,7 +147,7 @@
           </el-table-column>
 
           <el-table-column
-            label="浣忛櫌鍙�"
+            label="鎮h�呯紪鍙�"
             align="center"
             key="patno"
             prop="patno"
@@ -205,8 +205,8 @@
           <el-table-column
             label="鐥呭尯"
             align="center"
-            key="leavehospitaldistrictname"
-            prop="leavehospitaldistrictname"
+            key="hospitaldistrictname"
+            prop="hospitaldistrictname"
             width="120"
           />
           <el-table-column
@@ -216,7 +216,7 @@
             prop="bedNo"
             width="120"
           />
-          <el-table-column
+          <!-- <el-table-column
             label="涓绘不鍖荤敓"
             align="center"
             key="drname"
@@ -229,7 +229,7 @@
             key="nurseName"
             prop="nurseName"
             width="120"
-          />
+          /> -->
 
           <el-table-column
             label="鎿嶄綔"
@@ -555,19 +555,19 @@
     getList() {
       this.loading = true;
       if (this.queryParams.searchscope == 1) {
-        this.queryParams.leaveldeptcodes = store.getters.belongDepts.map(
+        this.queryParams.deptcodes = store.getters.belongDepts.map(
           (obj) => obj.deptCode
         );
-        this.queryParams.leavehospitaldistrictcodes=null;
+        this.queryParams.hospitaldistrictcodes=null;
       } else if (this.queryParams.searchscope == 2) {
-        this.queryParams.leavehospitaldistrictcodes =
+        this.queryParams.hospitaldistrictcodes =
           store.getters.belongWards.map((obj) => obj.districtCode);
-          this.queryParams.leaveldeptcodes=null;
+          this.queryParams.deptcodes=null;
       } else {
-        this.queryParams.leaveldeptcodes = store.getters.belongDepts.map(
+        this.queryParams.deptcodes = store.getters.belongDepts.map(
           (obj) => obj.deptCode
         );
-        this.queryParams.leavehospitaldistrictcodes =
+        this.queryParams.hospitaldistrictcodes =
           store.getters.belongWards.map((obj) => obj.districtCode);
       }
       listpatient(this.queryParams).then((response) => {

--
Gitblit v1.9.3