Browse Source

事件修改报错

wangqin
zhoule 7 months ago
parent
commit
80140ccb33
  1. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue

5
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.$refs.FormConfigRef.validate().then((formData) => {
this.submitting = true; this.submitting = true;
let eventType = this.resultEventData.eventType; let eventType = this.resultEventData.eventType;
formData.eventType == eventType; formData.eventType = eventType;
if ( if (
(eventType == 1 || eventType == 2) && (eventType == 1 || eventType == 2) &&
@ -174,6 +174,9 @@ export default {
) { ) {
formData.lang = formData.lang.join(","); formData.lang = formData.lang.join(",");
} }
if(formData.direction){
formData.direction = formData.direction == '济南方向' ? '3' : '1'
}
if ( if (
eventType == 3 && eventType == 3 &&
formData.dcEventTrafficControl.facilityId instanceof Array formData.dcEventTrafficControl.facilityId instanceof Array

Loading…
Cancel
Save