剧本预览代码调整

This commit is contained in:
joylink_cuiweidong 2020-08-27 18:46:00 +08:00
parent 4ba9bcdc82
commit ea1f4c4dee
2 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,8 @@ export default {
Switch_Hook_Lock: '道岔钩锁'
};
this.scriptTipMessage = '请对【' + targetName.label + '】下达【' + CommandList[val.commandInitiateVO.commandType] + '】指令';
} else if (val.type == 'Drive') {
// debugger;
}
}
},

View File

@ -178,6 +178,8 @@ export default {
this.$store.dispatch('training/setRoles', 'DISPATCHER');
} else if (role.type == '司机') {
prdType = '04';
this.$store.dispatch('training/setRoles', 'DRIVER');
this.$store.dispatch('scriptRecord/updateRole', 'DRIVER' + ':' + role.id);
} else if (role.type == '通号') {
prdType = '';
const routeData = this.$router.resolve({