代码调整

This commit is contained in:
fan 2023-07-07 11:22:35 +08:00
parent 8795adbe72
commit 731c716036
4 changed files with 9 additions and 3 deletions

View File

@ -54,6 +54,12 @@ export default {
}
},
mounted() {
const self = this;
window.onclick = function (e) {
if (document.getElementById('menuBar') && !self.$store.state.training.trainingStart) {
self.doClose(false);
}
};
this.initMenu();
},
methods: {

View File

@ -65,7 +65,7 @@ export default {
operate: OperationEvent.StationControl.requestStationControl.mbar
},
{
title: 'Forced Station Control',
title: 'Emergency Station Control',
click: this.mandatoryStationControl,
operate: OperationEvent.StationControl.forcedStationControl.password
},

View File

@ -67,7 +67,7 @@ export default {
operate: OperationEvent.StationControl.requestStationControl.mbar
},
{
title: 'Forced Station Control',
title: 'Emergency Station Control',
click: this.mandatoryStationControl,
operate: OperationEvent.StationControl.forcedStationControl.password
},

View File

@ -49,7 +49,7 @@ export default {
imgUrl: CmdIcon
},
{
label: 'Station yard map',
label: 'Station Layout Diagram',
refPath: 'dispatchWork',
domId: 'dispatchWork',
imgUrl: ZhanchangIcon