调整教学时切换题group为刷新的问题&自排全开全关=》自排单开单关

This commit is contained in:
fan 2020-06-04 14:21:19 +08:00
parent d7c55ab346
commit 7f08ae9e71
3 changed files with 10 additions and 8 deletions

View File

@ -101,8 +101,8 @@ export default {
signalParamList: [ signalParamList: [
{ name: '追踪单开', cmdType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO, operate: OperationEvent.Signal.setAutoInterlock.menu, show: false }, { name: '追踪单开', cmdType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO, operate: OperationEvent.Signal.setAutoInterlock.menu, show: false },
{ name: '追踪单关', cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO, operate: OperationEvent.Signal.cancelAutoInterlock.menu, show: false }, { name: '追踪单关', cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO, operate: OperationEvent.Signal.cancelAutoInterlock.menu, show: false },
{ name: '自排开', cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING, operate: OperationEvent.Signal.atsAutoControl.menu, show: false }, { name: '自排开', cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING, operate: OperationEvent.Signal.atsAutoControl.menu, show: false },
{ name: '自排关', cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING, operate: OperationEvent.Signal.humanControl.menu, show: false }, { name: '自排关', cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING, operate: OperationEvent.Signal.humanControl.menu, show: false },
{ name: '重复开放', cmdType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL, operate: OperationEvent.Signal.reopenSignal.menu, show: false }, { name: '重复开放', cmdType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL, operate: OperationEvent.Signal.reopenSignal.menu, show: false },
{ name: '封锁信号', cmdType: CMD.Signal.CMD_SIGNAL_BLOCK, operate: OperationEvent.Signal.lock.menu, show: false }, { name: '封锁信号', cmdType: CMD.Signal.CMD_SIGNAL_BLOCK, operate: OperationEvent.Signal.lock.menu, show: false },
{ name: '解封信号', cmdType: CMD.Signal.CMD_SIGNAL_UNBLOCK, operate: OperationEvent.Signal.unlock.menu, show: false }, { name: '解封信号', cmdType: CMD.Signal.CMD_SIGNAL_UNBLOCK, operate: OperationEvent.Signal.unlock.menu, show: false },
@ -125,7 +125,8 @@ export default {
], ],
stationParamList: [ stationParamList: [
{ name: '关站信号', cmdType: CMD.Section.CMD_SECTION_BLOCK, operate: OperationEvent.Signal.cancelTrainRoute.menu, show: false } // { name: '关站信号', cmdType: CMD.Section.CMD_SECTION_BLOCK, operate: OperationEvent.Signal.cancelTrainRoute.menu, show: false } //
] ],
ciStationParamList: []
}; };
}, },
computed: { computed: {

View File

@ -566,13 +566,13 @@ export default {
minDuration: 8, minDuration: 8,
operateType: 'Signal_Open_Auto_Setting', operateType: 'Signal_Open_Auto_Setting',
skinCode: '07', skinCode: '07',
trainingName: '自排开({5})', trainingName: '自排开({5})',
trainingRemark: '自排开', trainingRemark: '自排开',
trainingType: 'Signal', trainingType: 'Signal',
productTypes: ['01'], productTypes: ['01'],
stepVOList: [ stepVOList: [
{ deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' }, { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
{ deviceType: '04', orderNum: 2, operateCode: '315', tip: '鼠标左键点击【自排开】按钮' }, { deviceType: '04', orderNum: 2, operateCode: '315', tip: '鼠标左键点击【自排开】按钮' },
{ deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }
] ]
}, },

View File

@ -178,7 +178,6 @@ export default {
drivingShow: false, drivingShow: false,
deviceShow: false, deviceShow: false,
questId: 0, // Id questId: 0, // Id
group: '',
showStation: '', showStation: '',
stationList: [], stationList: [],
showSelectStation: false, // select showSelectStation: false, // select
@ -256,6 +255,9 @@ export default {
project() { project() {
return getSessionStorage('project'); return getSessionStorage('project');
}, },
group() {
return this.$route.query.group;
},
userRole() { userRole() {
if (this.$route.query.prdType == '02') { if (this.$route.query.prdType == '02') {
return 'DISPATCHER'; return 'DISPATCHER';
@ -327,7 +329,6 @@ export default {
}, },
async created() { async created() {
this.mode = this.$route.params.mode; this.mode = this.$route.params.mode;
this.group = this.$route.query.group || '';
}, },
async mounted() { async mounted() {
EventBus.$on('clearCheckLogin', () => { EventBus.$on('clearCheckLogin', () => {