From d846a58dbdfa0366c73427bfc62ff3ecae56d8f6 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 16 七月 2025 14:32:05 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/outpatient/index.vue         |    1 -
 vue.config.js                                      |    4 ++--
 src/views/patient/propaganda/QuestionnaireTask.vue |   19 ++++++++++++-------
 3 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue
index 93dd91a..54d3da6 100644
--- a/src/views/followvisit/outpatient/index.vue
+++ b/src/views/followvisit/outpatient/index.vue
@@ -66,7 +66,6 @@
             icon="el-icon-plus"
             size="medium"
             @click="handleAdd"
-            v-hasPermi="['system:user:add']"
             >鏂板</el-button
           >
         </el-col>
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 7f5fcee..f06523a 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -945,7 +945,6 @@
       patientqueryParams: {
         pageNum: 1, //
         pageSize: 10,
-        topica: 1, //0鍏ㄩ儴1绉戝2鐥呭尯
         leavehospitaldistrictcodes: [],
         leaveldeptcodes: [],
         hospitaldistrictcodes: [],
@@ -1686,13 +1685,20 @@
     },
 
     resetQuery() {
-      this.patientqueryParams= {
+      let allhosp = this.patientqueryParams.allhosp;
+      this.patientqueryParams = {
         pageNum: 1, //
         pageSize: 10,
+        allhosp: allhosp,
+        leavehospitaldistrictcodes: [],
+        leaveldeptcodes: [],
+        hospitaldistrictcodes: [],
+        deptcodes: [],
       };
-      console.log(this.patientqueryParams,'this.patientqueryParams');
 
-      this.handleQuery()
+      console.log(this.patientqueryParams, "this.patientqueryParams");
+
+      this.handleQuery();
     },
     handleQuerymb() {
       getQtemplatelist(this.topqueryParams).then((response) => {
@@ -2001,7 +2007,7 @@
           }
         )
           .then(() => {
-         if (Array.isArray(this.objyl.suitway)) {
+            if (Array.isArray(this.objyl.suitway)) {
               this.objyl.suitway = this.objyl.suitway.join(",");
             }
             this.objyl.templateid = this.objyl.svyid;
@@ -2016,8 +2022,7 @@
             this.previewtf = false;
           })
           .catch(() => {
-
-                 if (Array.isArray(this.objyl.suitway)) {
+            if (Array.isArray(this.objyl.suitway)) {
               this.objyl.suitway = this.objyl.suitway.join(",");
             }
             this.objyl.templateid = this.objyl.svyid;
diff --git a/vue.config.js b/vue.config.js
index 6062c0f..0b35599 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,9 +36,9 @@
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
         // target: `http://192.168.168.60:8095`,
-        // target: `http://192.168.144.34:8095`,
+        target: `http://192.168.144.34:8095`,
         // target: `http://192.168.100.100:8095`,
-        target:`http://localhost:8095`,
+        // target:`http://localhost:8095`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''

--
Gitblit v1.9.3