调整: 路票簿册客户端显示条件修改

This commit is contained in:
fan 2023-01-13 10:36:30 +08:00
parent 211ea96d07
commit 2c68be07a3
2 changed files with 4 additions and 5 deletions

View File

@ -193,7 +193,8 @@ export default {
this.logout();
});
} else if (this.$route.query.third) {
this.$router.push({ path: `/trainingPlatform/simulation/${this.$route.query.mapId}`, query: { lineCode: this.$route.query.lineCode } });
// this.$router.push({ path: `/trainingPlatform/simulation/${this.$route.query.mapId}`, query: { lineCode: this.$route.query.lineCode } });
window.close();
} else if (this.projectDevice) {
this.logout();
} else {

View File

@ -76,16 +76,14 @@ export default {
{
name: '路票',
code: 'trainTicket',
roleList: ['DISPATCHER', 'STATION_SUPERVISOR', 'STATION_ASSISTANT', 'STATION_MASTER', 'STATION_SIGNALER', 'STATION_PASSENGER',
'STATION_SWITCH_MAN', 'STATION_FACILITATOR', 'STATION_WORKER', 'DEVICE_MANAGER', 'TRAIN_MASTER', 'DEPOT_DISPATCHER', 'SIGNAL_BUILDING', 'DRIVER'],
roleList: ['STATION_SUPERVISOR', 'STATION_ASSISTANT'],
isShow: () => this.$route.query.simType === 'RAILWAY',
click: this.changePictureShow
},
{
name: '簿册',
code: 'registerBook',
roleList: ['DISPATCHER', 'STATION_SUPERVISOR', 'STATION_ASSISTANT', 'STATION_MASTER', 'STATION_SIGNALER', 'STATION_PASSENGER',
'STATION_SWITCH_MAN', 'STATION_FACILITATOR', 'STATION_WORKER', 'DEVICE_MANAGER', 'TRAIN_MASTER', 'DEPOT_DISPATCHER', 'SIGNAL_BUILDING', 'DRIVER'],
roleList: ['STATION_SUPERVISOR', 'STATION_ASSISTANT'],
isShow: () => this.$route.query.simType === 'RAILWAY',
click: this.changePictureShow
},