From 8904734d9acaac1341ba6c65501792e7fb916d56 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 15 八月 2024 09:42:55 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/Missioncreation.vue | 65 +++++++++++++++++++++++++++++---
1 files changed, 59 insertions(+), 6 deletions(-)
diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue
index 85e3be6..26c7732 100644
--- a/src/views/patient/propaganda/Missioncreation.vue
+++ b/src/views/patient/propaganda/Missioncreation.vue
@@ -161,8 +161,10 @@
<el-checkbox
v-for="(item, index) in checkboxlist"
:key="index"
- :label="item"
- ></el-checkbox>
+ :label="item.value"
+ >
+ {{ item.label }}</el-checkbox
+ >
</el-checkbox-group>
</el-form-item>
</el-form>
@@ -802,6 +804,7 @@
this.id = this.$route.query.id;
this.form.type = this.$route.query.type;
this.form.typename = this.$route.query.typename;
+ this.form.serviceType = Number(this.$route.query.serviceType);
this.listDept();
this.Acquisitiontype();
this.Getdetails();
@@ -846,7 +849,56 @@
this.currenttype = this.$route.query.type;
this.title = "瀹f暀鍐呭鍒楄〃";
this.tableLabel = this.tableLabelxj;
- this.checkboxlist = ["鐭俊", "寰俊", "浜哄伐鐢佃瘽", "鏅鸿兘鏈哄櫒浜�"];
+ if (this.form.serviceType == 4) {
+ this.checkboxlist = [
+ {
+ value: "2",
+ label: "绾歌川",
+ },
+
+ {
+ value: "4",
+ label: "鐭俊",
+ },
+ {
+ value: "5",
+ label: "寰俊鍏紬鍙�",
+ },
+ {
+ value: "6",
+ label: "寰俊灏忕▼搴�",
+ },
+
+ {
+ value: "8",
+ label: "鏅鸿兘鏈哄櫒浜�",
+ },
+ ];
+ } else if (this.form.serviceType == 8) {
+ this.checkboxlist = [
+ {
+ value: "4",
+ label: "鐭俊",
+ },
+ {
+ value: "5",
+ label: "寰俊鍏紬鍙�",
+ },
+ {
+ value: "6",
+ label: "寰俊灏忕▼搴�",
+ },
+
+ {
+ value: "8",
+ label: "鏅鸿兘鏈哄櫒浜�",
+ },
+ {
+ value: "9",
+ label: "閽夐拤",
+ },
+ ];
+ }
getlibrarylist(queryParams).then((response) => {
this.userList = response.rows;
this.total = response.total;
@@ -859,8 +911,8 @@
},
// 淇濆瓨
submitForm(formName) {
- // this.form.preachform = this.checkList.join(",");
- this.formatFn(1);
+ this.form.preachform = this.checkList.join(",");
+ // this.formatFn(1);
this.form.hospType = this.currenttype;
if (!this.form.patTaskRelevances[0]) {
this.$modal.msgError("璇烽�夋嫨鐥呬汉");
@@ -1095,7 +1147,8 @@
? this.form.patTaskRelevances
: [];
this.overallCase = this.form.patTaskRelevances.concat();
- this.formatFn(2);
+ this.checkList = this.form.preachform.split(",");
+
console.log(this.form.showDate, "this.form");
this.daytime = this.form.showDate.split(",");
if (this.form.showTimeMorn) {
--
Gitblit v1.9.3