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

diff --git a/src/views/followvisit/technology/index.vue b/src/views/followvisit/technology/index.vue
index 751ea89..eb1a8ee 100644
--- a/src/views/followvisit/technology/index.vue
+++ b/src/views/followvisit/technology/index.vue
@@ -954,7 +954,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;
@@ -1329,7 +1333,6 @@
           getTaskservelist({
             patid: row.patid,
             taskid: row.taskid,
-      deptOrDistrict:2,
           }).then((res) => {
             if (res.code == 200) {
               objson.sendstate = 4;

--
Gitblit v1.9.3