From c726f0a0d060e4c73af878aaa20bc353dc886852 Mon Sep 17 00:00:00 2001
From: sendo <172933527@qq.com>
Date: 星期一, 29 九月 2025 16:32:50 +0800
Subject: [PATCH] yxh

---
 src/views/patient/propaganda/particty.vue |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 763efd9..8e079e3 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -480,7 +480,7 @@
                         size="medium"
                         :disabled="!patientqueryParams.allhosp"
                         @click="handleQuery"
-                        >鏂板</el-button
+                        >娣诲姞鎮h��</el-button
                       >
                     </el-col>
 
@@ -1683,12 +1683,12 @@
       } else {
         this.patientqueryParams.pids = null;
       }
-      // 绫诲瀷鍒ゆ柇
+      // 绫诲瀷鍒ゆ柇 yxh淇敼
       if (this.patientqueryParams.allhosp == 1) {
         this.patientqueryParams.cry = 1;
       } else if (this.patientqueryParams.allhosp == 4) {
-        this.patientqueryParams.cry = 0;
-        this.patientqueryParams.allhosp = "1";
+      //  this.patientqueryParams.cry = 0; 
+      //  this.patientqueryParams.allhosp = "1";
       }
       // 鏉ユ簮鍒ゆ柇
 
@@ -1798,16 +1798,15 @@
     },
     getList() {},
     handleQuery() {
+      console.log("this.patientqueryParams.allhosp",this.patientqueryParams.allhosp);
       if (this.patientqueryParams.topica == 0) {
-        this.patientqueryParams.leavehospitaldistrictcodes =
-          store.getters.leavehospitaldistrictcodes;
+        this.patientqueryParams.leavehospitaldistrictcodes = store.getters.leavehospitaldistrictcodes;
         this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
       } else if (this.patientqueryParams.topica == 1) {
         this.patientqueryParams.leavehospitaldistrictcodes = null;
         this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
       } else if (this.patientqueryParams.topica == 2) {
-        this.patientqueryParams.leavehospitaldistrictcodes =
-          store.getters.leavehospitaldistrictcodes;
+        this.patientqueryParams.leavehospitaldistrictcodes =   store.getters.leavehospitaldistrictcodes;
         this.patientqueryParams.leaveldeptcodes = null;
       }
       if (
@@ -1821,7 +1820,10 @@
       )
         this.patientqueryParams.leaveldeptcodes = null;
       this.handleAddpatient();
+      
+      console.log("this.patientqueryParams.allhosp",this.patientqueryParams.allhosp);
     },
+
     resetQuerymb() {
       this.topqueryParams = { svyname: "" };
       this.handleQuerymb();

--
Gitblit v1.9.3