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

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

diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue
index 46575a2..0c3b321 100644
--- a/src/views/patient/propaganda/index.vue
+++ b/src/views/patient/propaganda/index.vue
@@ -840,15 +840,12 @@
           store.getters.belongWards.map((obj) => obj.districtCode);
       }
       this.loading = true;
-
-      if (
-        this.topqueryParams.leavehospitaldistrictcodes[0] &&
-        this.topqueryParams.leaveldeptcodes[0]
-      ) {
-        this.topqueryParams.deptOrDistrict = 2;
-      } else {
-        this.topqueryParams.deptOrDistrict = 1;
+      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