From 2b1cfeacf31e505d00a3613dd020fe14926950cd Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 10 三月 2025 16:27:32 +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 b10eabf..00613a0 100644
--- a/src/views/patient/propaganda/index.vue
+++ b/src/views/patient/propaganda/index.vue
@@ -807,7 +807,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;
         this.userList.forEach((item) => {

--
Gitblit v1.9.3