From b8085c12e2f5542210c8a73a997e0b88d39e18b0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 20 三月 2025 16:45:56 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/outpatient/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue
index 71c8090..957c7bf 100644
--- a/src/views/followvisit/outpatient/index.vue
+++ b/src/views/followvisit/outpatient/index.vue
@@ -660,7 +660,11 @@
     /** 鏌ヨ闂ㄨ瘖闅忚鍒楄〃 */
     getList() {
       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;

--
Gitblit v1.9.3