From 2d38ba9cd15c60b875bc8dc7eeb7aecc5a04fc2b Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 11 九月 2025 17:53:41 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/propaganda/index.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue
index bfecf2f..fa455f6 100644
--- a/src/views/patient/propaganda/index.vue
+++ b/src/views/patient/propaganda/index.vue
@@ -101,7 +101,7 @@
         <el-col :span="1.5">
           <el-button
             type="primary"
-                        icon="el-icon-plus"
+            icon="el-icon-plus"
             size="medium"
             @click="handleAdd"
             >鏂板</el-button
@@ -753,6 +753,8 @@
         serviceType: 4,
         searchscope: 2,
         sendstate: 2,
+         leaveldeptcodes: [],
+        leavehospitaldistrictcodes: [],
       },
       propss: { multiple: true },
       options: [],
@@ -831,7 +833,7 @@
   methods: {
     /** 鏌ヨ闂ㄨ瘖瀹f暀鏈嶅姟鍒楄〃 */
     getList() {
-       if (this.topqueryParams.searchscope == 3) {
+      if (this.topqueryParams.searchscope == 3) {
         this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
           (obj) => obj.deptCode
         );
@@ -839,6 +841,8 @@
           store.getters.belongWards.map((obj) => obj.districtCode);
       }
       this.loading = true;
+      console.log(this.topqueryParams.leavehospitaldistrictcodes);
+      console.log(this.topqueryParams.leaveldeptcodes);
 
       if (
         this.topqueryParams.leavehospitaldistrictcodes[0] &&
@@ -848,6 +852,7 @@
       } else {
         this.topqueryParams.deptOrDistrict = 1;
       }
+      console.log(55);
       getTaskservelist(this.topqueryParams).then((response) => {
         this.userList = response.rows[0].serviceSubtaskList;
         this.userList.forEach((item) => {

--
Gitblit v1.9.3