Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
2440e1e280
@ -393,9 +393,11 @@ export default {
|
|||||||
if (model._type === 'StationStand' && subType === 'StopJumpLamp') {
|
if (model._type === 'StationStand' && subType === 'StopJumpLamp') {
|
||||||
operate.cmdType = CMD.Stand.CMD_STAND_SET_JUMP_STOP;
|
operate.cmdType = CMD.Stand.CMD_STAND_SET_JUMP_STOP;
|
||||||
operate.param = {standCode: model.code, trainGroupNumber: ''};
|
operate.param = {standCode: model.code, trainGroupNumber: ''};
|
||||||
|
operate.code = model.code;
|
||||||
} else if (model._type === 'StationStand' && subType === 'CancelStopJumpLamp') {
|
} else if (model._type === 'StationStand' && subType === 'CancelStopJumpLamp') {
|
||||||
operate.cmdType = CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP;
|
operate.cmdType = CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP;
|
||||||
operate.param = {standCode: model.code, trainGroupNumber: ''};
|
operate.param = {standCode: model.code, trainGroupNumber: ''};
|
||||||
|
operate.code = model.code;
|
||||||
} else if (model._type === 'AutoTurnBack' ) {
|
} else if (model._type === 'AutoTurnBack' ) {
|
||||||
operate.cmdType = CMD.Signal.CMD_SIGNAL_SET_AUTO_TURN_BACK;
|
operate.cmdType = CMD.Signal.CMD_SIGNAL_SET_AUTO_TURN_BACK;
|
||||||
operate.param = {cycleCode: model.cycleCode};
|
operate.param = {cycleCode: model.cycleCode};
|
||||||
|
@ -31,6 +31,7 @@ class ValidateHandler {
|
|||||||
const steps = Handler.getSteps();
|
const steps = Handler.getSteps();
|
||||||
const order = Handler.getOrder();
|
const order = Handler.getOrder();
|
||||||
let valid = false;
|
let valid = false;
|
||||||
|
|
||||||
if (operate.over && steps.length == 1) { // 右键菜单直接发送校验
|
if (operate.over && steps.length == 1) { // 右键菜单直接发送校验
|
||||||
if (operate && steps[0] &&
|
if (operate && steps[0] &&
|
||||||
operate.code == steps[0].code &&
|
operate.code == steps[0].code &&
|
||||||
|
Loading…
Reference in New Issue
Block a user