取消进路调整

This commit is contained in:
fan 2022-11-22 16:02:36 +08:00
parent fbeef9c6b5
commit d0d77bd350

View File

@ -196,9 +196,9 @@ export default {
});
break;
case 'fuzhou-01__systerm':
if (this.$store.state.training.prdType === '01') {
if (this.$store.state.map.picture === 'localWork') {
this.sendCommand(menuOperate.Signal.cancelTrainRoute);
} else if (this.$store.state.training.prdType === '02') {
} else if (this.$store.state.map.picture === 'dispatchWork') {
this.sendCommandNext(menuOperate.Signal.cancelTrainRoute).then(operate => {
operate['messages'] = [this.$t('tip.signalModeToManualModeTipPrefix') + this.signalName + this.$t('tip.signalModeToManualModeTipSuffix')];
this.$refs.confirmControl.doShow(operate);
@ -206,9 +206,9 @@ export default {
}
break;
case 'xian-01__systerm':
if (this.$store.state.training.prdType === '01') {
if (this.$store.state.map.picture === 'localWork') {
this.sendCommand(menuOperate.Signal.cancelTrainRoute);
} else if (this.$store.state.training.prdType === '02') {
} else if (this.$store.state.map.picture === 'dispatchWork') {
this.sendCommandNext(menuOperate.Signal.cancelTrainRoute).then(operate => {
operate['messages'] = `取消以信号机${this.selected.name}为始端的进路,该进路即将由自动信号模式转为人工模式!`;
this.$refs.confirmControl.doShow(operate);