TMS切换客户端调整

This commit is contained in:
joylink_fanyuhong 2024-06-24 18:20:30 +08:00
parent 916bc645ed
commit 4841ebdda7

View File

@ -205,7 +205,11 @@ export default {
//
const trainingDesign = this.$store.state.training.domConfig ? this.$store.state.training.domConfig.trainingDesign : false;
const terminal = this.findTerminalFromMap(trainingDesign ? 'driverAtsWork' : 'drivingPlan');
this.changePictureShow(terminal);
if (this.$route.query.type === 'TMS') {
this.changePictureShow(this.findTerminalFromMap('tms'));
} else {
this.changePictureShow(terminal);
}
} else if (this.roles === 'NCC_DISPATCHER') {
const terminal = this.findTerminalFromMap('nccWork');
this.changePictureShow(terminal);