西安三号线宁波一号线 控制权菜单显示代码调整

This commit is contained in:
joylink_cuiweidong 2020-07-29 14:10:44 +08:00
parent 7ad5e06a07
commit 40a7170f69
2 changed files with 11 additions and 1 deletions

View File

@ -133,6 +133,16 @@ export default {
this.operation = operate.operation; this.operation = operate.operation;
} }
this.dialogShow = true; this.dialogShow = true;
if (this.$store.state.training.prdType == '01') {
this.controlProps = {
'01': '遥控'
};
} else if (this.$store.state.training.prdType == '02') {
this.controlProps = {
'03': '紧急站控',
'02': '站控'
};
}
this.$store.dispatch('training/emitTipFresh'); this.$store.dispatch('training/emitTipFresh');
}, },
doClose() { doClose() {

View File

@ -330,7 +330,7 @@ export default {
title: this.$t('menu.menuBar.toStationControl'), title: this.$t('menu.menuBar.toStationControl'),
click: this.turnToStationControl, click: this.turnToStationControl,
operate: OperationEvent.StationControl.requestStationControl.mbar, operate: OperationEvent.StationControl.requestStationControl.mbar,
// froce: true froce: true
}, },
{ {
title: this.$t('menu.menuBar.forcedStationControl'), title: this.$t('menu.menuBar.forcedStationControl'),