From 98b9fdc80abc60b5e57370328ea51cf06365bab0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 23 六月 2025 20:31:10 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index 44554d7..671b5fb 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -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