增加prdType

This commit is contained in:
fan 2022-09-07 09:37:37 +08:00
parent 31f95a02c1
commit aea62ada61
3 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,8 @@ export default {
{ enlabel: 'Driver simulation driving system', label: '司机模拟驾驶系统', value: '04'}, { enlabel: 'Driver simulation driving system', label: '司机模拟驾驶系统', value: '04'},
{ enlabel: 'Dispatch workstation', label: '派班工作站', value: '05'}, { enlabel: 'Dispatch workstation', label: '派班工作站', value: '05'},
{ enlabel: 'ISCS workstation', label: 'ISCS工作站', value: '06'}, { enlabel: 'ISCS workstation', label: 'ISCS工作站', value: '06'},
{ enlabel: 'Interlocking station at depot', label: '车辆段联锁工作站', value: '09' } { enlabel: 'Interlocking station at depot', label: '车辆段联锁工作站', value: '09' },
{ enlabel: 'Large screen vehicle real workstation', label: '大屏车辆真实工作站', value: '10' }
], ],
trainingDeviceType: { trainingDeviceType: {
Switch: {enlabel: 'Switch training', label:'道岔实训'}, Switch: {enlabel: 'Switch training', label:'道岔实训'},

View File

@ -3,7 +3,6 @@ export const State2SimulationMap = {
'01': 'Local', // 现地工作站 '01': 'Local', // 现地工作站
'02': 'Center', // 中心调度工作站 '02': 'Center', // 中心调度工作站
'09':'Depot_IL', // 车辆段工作站 '09':'Depot_IL', // 车辆段工作站
'10': 'Local',
'04': 'Local' '04': 'Local'
}; };

View File

@ -219,7 +219,7 @@ export default {
}); });
}, },
async start() { async start() {
const jumpFunc = ['jump', 'jump', 'enterIntegratedSimulation', 'jump', 'jumpScheduling', 'enterISCS', 'enterScreen', '', 'jump', 'jump']; const jumpFunc = ['jump', 'jump', 'enterIntegratedSimulation', 'jump', 'jumpScheduling', 'enterISCS', 'enterScreen', '', 'jump', 'enterScreen'];
this[jumpFunc[parseInt(this.courseModel.prdType) - 1]](); this[jumpFunc[parseInt(this.courseModel.prdType) - 1]]();
}, },
jumpSimulation() { jumpSimulation() {