From 5f4c59e35b6532391bdd5a394d7ab87ccbbc67b2 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期六, 22 二月 2025 09:55:09 +0800 Subject: [PATCH] 测试完成 --- vue.config.js | 4 ++-- src/views/patient/propaganda/particty.vue | 2 -- src/views/patient/propaganda/QuestionnaireTask.vue | 14 ++++++-------- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue index bac0337..04c9c0a 100644 --- a/src/views/patient/propaganda/QuestionnaireTask.vue +++ b/src/views/patient/propaganda/QuestionnaireTask.vue @@ -200,11 +200,10 @@ <el-col :span="20" ><el-form-item label="閫傜敤绉戝" prop="region"> <el-select - v-model="deptcodesWards" + v-model="form.deptcode" @remove-tag="removetag" style="width: 400px" size="medium" - multiple filterable placeholder="璇烽�夋嫨绉戝" > @@ -223,11 +222,10 @@ <el-col :span="20" ><el-form-item label="閫傜敤鐥呭尯" prop="region"> <el-select - v-model="leavehospitaldistrictcodes" + v-model="form.leavehospitaldistrictcode" style="width: 400px" @remove-tag="removehpsp" size="medium" - multiple filterable placeholder="璇烽�夋嫨鐥呭尯" > @@ -1309,7 +1307,7 @@ this.$modal.msgError("璇烽�夋嫨鏈嶅姟绫诲瀷"); return; } - if (this.deptcodesWards[0]||this.leavehospitaldistrictcodes[0]) { + if (this.form.leavehospitaldistrictcode||this.form.deptcode) { } else { this.$modal.msgError("璇烽�夋嫨绉戝鎴栫梾鍖�"); return; @@ -1347,9 +1345,9 @@ this.form.type = this.$route.query.type; } this.form.serviceType = this.serviceType; - this.form.deptcode = this.deptcodesWards.join(","); - this.form.leavehospitaldistrictcode = - this.leavehospitaldistrictcodes.join(","); + // this.form.deptcode = this.deptcodesWards.join(","); + // this.form.leavehospitaldistrictcode = + // this.leavehospitaldistrictcodes.join(","); Editsingletask(this.form).then((res) => { if (res.code == 200) { diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue index c57d76a..5989005 100644 --- a/src/views/patient/propaganda/particty.vue +++ b/src/views/patient/propaganda/particty.vue @@ -223,7 +223,6 @@ style="width: 400px" size="medium" filterable - multiple placeholder="璇烽�夋嫨绉戝" > <el-option @@ -246,7 +245,6 @@ @remove-tag="removehpsp" size="medium" filterable - multiple placeholder="璇烽�夋嫨鐥呭尯" > <el-option diff --git a/vue.config.js b/vue.config.js index 08b0554..25f1f4d 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://61.160.111.174:8095`, - // target:`http://localhost:8095`, + target:`http://localhost:8095`, // target: `http://192.168.101.135:8095`, // target: `http://192.168.101.166:8093`, // target: `http://192.168.191.181:8095`, -- Gitblit v1.9.3