From a5cba9ab040f6f97558046885dce3017f9bab7e9 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 11 八月 2026 14:12:29 +0800
Subject: [PATCH] 提交

---
 src/views/patient/patient/hospital.vue |   31 ++++++++++++++++++++++++-------
 1 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue
index 560b7a6..4120437 100644
--- a/src/views/patient/patient/hospital.vue
+++ b/src/views/patient/patient/hospital.vue
@@ -60,8 +60,8 @@
               v-model="queryParams.scopetype"
               placeholder="榛樿鍏ㄩ儴绉戝"
               :options="sourcetype"
-            filterable
-            clearable
+              filterable
+              clearable
               :props="{ expandTrigger: 'hover' }"
               @change="handleChange"
             ></el-cascader>
@@ -205,7 +205,7 @@
                     scope.row.idcardno,
                     scope.row.drcode,
                     scope.row.drname,
-                    scope.row.patid,
+                    scope.row.patid
                   )
                 "
                 ><span class="button-textsc">{{
@@ -404,7 +404,11 @@
                 width="120"
                 align="center"
               />
-              <el-table-column prop="leaveldeptname" label="绉戝" align="center" />
+              <el-table-column
+                prop="leaveldeptname"
+                label="绉戝"
+                align="center"
+              />
               <el-table-column
                 prop="leavehospitaldistrictname"
                 label="鐥呭尯"
@@ -431,7 +435,7 @@
             <el-table
               :data="taskList"
               border
-               height="680"
+              height="680"
               style="width: 100%"
               size="small"
               @current-change="handleTaskSelectionChange"
@@ -615,7 +619,12 @@
 import Treeselect from "@riophae/vue-treeselect";
 import { listDept } from "@/api/system/dept";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
-import { query360PatInfo,query360PatInfonh, getTasklist, addSubtask } from "@/api/AiCentre/index";
+import {
+  query360PatInfo,
+  query360PatInfonh,
+  getTasklist,
+  addSubtask,
+} from "@/api/AiCentre/index";
 
 import store from "@/store";
 
@@ -927,7 +936,12 @@
         pageSize: 100, // 璁剧疆杈冨ぇ鐨勫垎椤佃幏鍙栨洿澶氫换鍔�
         type: 2, // 鏍规嵁瀹為檯鎯呭喌璋冩暣
       };
-
+      topqueryParams.deptcodes = store.getters.belongDepts.map(
+        (obj) => obj.deptCode
+      );
+      topqueryParams.hospitaldistrictcodes = store.getters.belongWards.map(
+        (obj) => obj.districtCode
+      );
       getTasklist(topqueryParams)
         .then((response) => {
           this.taskList = response.rows;
@@ -1015,6 +1029,9 @@
         }
 
         this.batchTaskVisible = false;
+        this.$router.push({
+          path: "/followvisit/Continue",
+        });
         this.getList(); // 鍒锋柊鎮h�呭垪琛�
       } catch (error) {
         this.$modal.msgError("鎵归噺娣诲姞浠诲姟杩囩▼涓嚭閿欙細" + error.message);

--
Gitblit v1.9.3