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/login.vue                       |   10 +++++-----
 src/views/patient/propaganda/index.vue    |    9 +++++++--
 src/store/getters.js                      |   16 ++++++++--------
 src/views/followvisit/discharge/index.vue |    6 +++---
 4 files changed, 23 insertions(+), 18 deletions(-)

diff --git a/src/store/getters.js b/src/store/getters.js
index 5610c8a..dfbad96 100644
--- a/src/store/getters.js
+++ b/src/store/getters.js
@@ -639,14 +639,14 @@
   ],
   // 闅忚绫诲瀷
   tasktypes: (state) => [
-    {
-      value: 16,
-      label: "璇鹃闅忚",
-      raw: {
-        cssClass: "",
-        listClass: "",
-      },
-    },
+    // {
+    //   value: 16,
+    //   label: "璇鹃闅忚",
+    //   raw: {
+    //     cssClass: "",
+    //     listClass: "",
+    //   },
+    // },
 
     {
       value: 2,
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index 225339b..1e700f1 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -1203,7 +1203,7 @@
         pageSize: 10,
         sendstate: 2,
         sort: 2, //0 鍑洪櫌鏃堕棿(姝e簭)    1 鍑洪櫌鏃堕棿(鍊掑簭)   2 鍙戦�佹椂闂�(姝e簭)    3 鍙戦�佹椂闂�(鍊掑簭)
-        serviceType: 16,
+        serviceType: 2,
         searchscope: 3,
         visitCount: 1,
         scopetype: [],
@@ -1575,7 +1575,7 @@
         pageSize: 10,
         sendstate: 2,
         sort: 2, //0 鍑洪櫌鏃堕棿(姝e簭)    1 鍑洪櫌鏃堕棿(鍊掑簭)   2 鍙戦�佹椂闂�(姝e簭)    3 鍙戦�佹椂闂�(鍊掑簭)
-        serviceType: 16,
+        serviceType: 2,
         searchscope: 3,
         visitCount: 1,
         scopetype: [],
@@ -1669,7 +1669,7 @@
         path: "/followvisit/QuestionnaireTask",
         query: {
           type: 2,
-          serviceType: 16,
+          serviceType: 2,
         },
       });
     },
diff --git a/src/views/login.vue b/src/views/login.vue
index 7068ef0..ddaf564 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -116,13 +116,13 @@
         password: "",
         rememberMe: false,
         code: "",
-        orgid:'H41010500003',
+        orgid: "H41010500003",
       },
       options: [
-{ value: "H41010500003", label: "娌冲崡涓尰鑽ぇ瀛︾涓�闄勫睘鍖婚櫌" },
-    { value: "H41082200269", label: "鍗氱埍鍘夸汉姘戝尰闄�" },
-    { value: "H41078202417", label: "杈夊幙甯備腑鍖婚櫌" }
-       ],
+        { value: "H41010500003", label: "娌冲崡涓尰鑽ぇ瀛︾涓�闄勫睘鍖婚櫌" },
+        { value: "H41082200269", label: "鍗氱埍鍘夸汉姘戝尰闄�" },
+        { value: "H41078202417", label: "杈夊幙甯備腑鍖婚櫌" },
+      ],
       loginRules: {
         username: [
           { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勮处鍙�" },
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