From 36b7179cda46033aa5f142aecf0cd213cd50232c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 11 三月 2025 17:09:29 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/questionnaire/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue
index 6a691ce..00d347f 100644
--- a/src/views/patient/questionnaire/index.vue
+++ b/src/views/patient/questionnaire/index.vue
@@ -766,6 +766,7 @@
         pageSize: 10,
         serviceType: 7,
         searchscope: 3,
+        sendstate:2,
         scopetype: [],
         leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
@@ -867,7 +868,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;
@@ -1006,6 +1011,7 @@
         pageSize: 10,
         serviceType: 7,
         searchscope: 2,
+        sendstate:2,
       };
       this.handleQuery(1);
     },

--
Gitblit v1.9.3