diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue index 03ac8d25..40496af3 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue @@ -166,7 +166,7 @@ export default { this.$refs.FormConfigRef.validate().then((formData) => { this.submitting = true; let eventType = this.resultEventData.eventType; - formData.eventType == eventType; + formData.eventType = eventType; if ( (eventType == 1 || eventType == 2) && @@ -174,6 +174,9 @@ export default { ) { formData.lang = formData.lang.join(","); } + if(formData.direction){ + formData.direction = formData.direction == '济南方向' ? '3' : '1' + } if ( eventType == 3 && formData.dcEventTrafficControl.facilityId instanceof Array