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/questionnaire/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue
index 6a691ce..2f008dd 100644
--- a/src/views/patient/questionnaire/index.vue
+++ b/src/views/patient/questionnaire/index.vue
@@ -867,7 +867,11 @@
         console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
       }
       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.total = response.total;

--
Gitblit v1.9.3