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; }