From 0516a6bf61d07b035e1a7c361d1566963a313fdd Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 11 三月 2025 14:34:41 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue
index 0131541..51964e9 100644
--- a/src/views/patient/propaganda/index.vue
+++ b/src/views/patient/propaganda/index.vue
@@ -806,7 +806,11 @@
           store.getters.belongWards.map((obj) => obj.districtCode);
       }
       this.loading = true;
-      this.topqueryParams.deptOrDistrict=2;
+      if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
+        this.topqueryParams.deptOrDistrict=2;
+      }else{
+        this.topqueryParams.deptOrDistrict=1;
+      }
 
       getTaskservelist(this.topqueryParams).then((response) => {
         this.userList = response.rows[0].serviceSubtaskList;

--
Gitblit v1.9.3