From 8217952295728fe4de9654e9555e9411b0980055 Mon Sep 17 00:00:00 2001 From: zhoule Date: Tue, 16 Apr 2024 10:12:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E9=80=9A=E7=AE=A1=E5=88=B6=E5=BD=95?= =?UTF-8?q?=E5=85=A5=EF=BC=8C=E6=94=B6=E8=B4=B9=E7=AB=99=20=E7=AB=8B?= =?UTF-8?q?=E4=BA=A4=E6=A1=A5=E5=8F=AF=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../control/event/event/FormEvent/data.js | 2 + .../control/event/event/FormEvent/index.vue | 39 ++++++------------- 2 files changed, 13 insertions(+), 28 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js index 0516f4e2..251c488c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js @@ -842,6 +842,7 @@ export const tabConfigList = [ required: true, options: { options: [], + multiple: true, }, visible: (data) => { if (data?.eventSubclass == "3-2") { @@ -858,6 +859,7 @@ export const tabConfigList = [ required: true, options: { options: [], + multiple: true, }, visible: (data) => { if (data?.eventSubclass == "3-3") { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue index 6474542a..70f91816 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/index.vue @@ -2,37 +2,18 @@
- + -
+
@@ -180,12 +161,14 @@ export default { } else { formData.lang = ""; } + if (this.index == 2 && formData.dcEventTrafficControl.facilityId instanceof Array) { + let ids = formData.dcEventTrafficControl.facilityId.join(','); + formData.dcEventTrafficControl.facilityIds = ids + formData.dcEventTrafficControl.facilityId = '' + } if (formData.endStakeMark && formData.endStakeMark[0] != null) { let endStakeMark = formData.endStakeMark; - let strMark = - endStakeMark && endStakeMark.length > 0 - ? "K" + endStakeMark[0] + "+" + endStakeMark[1] - : ""; + let strMark = endStakeMark && endStakeMark.length > 0 ? "K" + endStakeMark[0] + "+" + endStakeMark[1] : ""; if (this.index == 3) { formData.dcEventTrafficCongestion.endStakeMark = strMark; }