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

diff --git a/src/views/patient/ycquestionnaire/index.vue b/src/views/patient/ycquestionnaire/index.vue
index 55b089c..67c3af9 100644
--- a/src/views/patient/ycquestionnaire/index.vue
+++ b/src/views/patient/ycquestionnaire/index.vue
@@ -866,7 +866,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;
@@ -889,10 +893,8 @@
           }
 
           if (item.preachform) {
-            if (item.endtime) {
               item.preachformson = item.preachform;
               idArray = item.preachform.split(",");
-            }
 
             item.preachform = idArray.map((value) => {
               // 鏌ユ壘id瀵瑰簲鐨勫璞�

--
Gitblit v1.9.3