TMS切换客户端调整
This commit is contained in:
parent
916bc645ed
commit
4841ebdda7
@ -205,7 +205,11 @@ export default {
|
|||||||
// 司机模拟
|
// 司机模拟
|
||||||
const trainingDesign = this.$store.state.training.domConfig ? this.$store.state.training.domConfig.trainingDesign : false;
|
const trainingDesign = this.$store.state.training.domConfig ? this.$store.state.training.domConfig.trainingDesign : false;
|
||||||
const terminal = this.findTerminalFromMap(trainingDesign ? 'driverAtsWork' : 'drivingPlan');
|
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') {
|
} else if (this.roles === 'NCC_DISPATCHER') {
|
||||||
const terminal = this.findTerminalFromMap('nccWork');
|
const terminal = this.findTerminalFromMap('nccWork');
|
||||||
this.changePictureShow(terminal);
|
this.changePictureShow(terminal);
|
||||||
|
Loading…
Reference in New Issue
Block a user