From 073edc90c84ee4e8b3efe18db4ecfdbf039fdcb6 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 24 三月 2025 15:27:33 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/record/index.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue
index 433000b..f5c3146 100644
--- a/src/views/followvisit/record/index.vue
+++ b/src/views/followvisit/record/index.vue
@@ -853,6 +853,7 @@
         pageSize: 10,
         serviceType: 10,
         searchscope: 3,
+        sendstate:2,
         scopetype: [],
         leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
@@ -954,7 +955,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;
@@ -1155,6 +1160,7 @@
         pageSize: 10,
         serviceType: 10,
         searchscope: 2,
+        sendstate:2,
       };
       this.handleQuery(1);
     },
@@ -1329,8 +1335,6 @@
           getTaskservelist({
             patid: row.patid,
             taskid: row.taskid,
-      deptOrDistrict:2,
-
           }).then((res) => {
             if (res.code == 200) {
               objson.sendstate = 4;

--
Gitblit v1.9.3