diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue index 5e664f732..18bf1c290 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue @@ -468,11 +468,9 @@ export default { }, confirm2() { let operate = { - send: true, over:true, type: this.type, val: this.speed, - cmdType: CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED, param: { speedLimitValue: `${this.speed}` } @@ -481,12 +479,14 @@ export default { if (this.operation == OperationEvent.Section.setSpeed.menu.operation) { /** 区段设置限速*/ operate.operation = OperationEvent.Section.setSpeed.confirm2.operation; + operate.cmdType = CMD.Section.CMD_SECTION_SET_LIMIT_SPEED; } else if (this.operation == OperationEvent.Section.cancelSpeed.menu.operation) { /** 区段取消限速*/ operate.operation = OperationEvent.Section.cancelSpeed.confirm2.operation; } else if (this.operation == OperationEvent.Switch.setSpeed.menu.operation) { /** 道岔设置限速*/ operate.operation = OperationEvent.Switch.setSpeed.confirm2.operation; + operate.cmdType = CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED; } else if (this.operation == OperationEvent.Switch.cancelSpeed.menu.operation) { /** 道岔取消限速*/ operate.operation = OperationEvent.Switch.cancelSpeed.confirm2.operation;