diff --git a/src/views/scriptManage/tipScriptRecord.vue b/src/views/scriptManage/tipScriptRecord.vue index 0c32d5d53..ef4e78419 100644 --- a/src/views/scriptManage/tipScriptRecord.vue +++ b/src/views/scriptManage/tipScriptRecord.vue @@ -165,8 +165,11 @@ export default { if (memberInfo) { if (memberInfo.type == '行值') { prdType = '01'; + this.$store.dispatch('training/setRoles', 'STATION_SUPERVISOR'); + this.$store.dispatch('training/setRoleDeviceCode', memberInfo.deviceCode); } else if (memberInfo.type == '行调') { prdType = '02'; + this.$store.dispatch('training/setRoles', 'DISPATCHER'); } else if (memberInfo.type == '司机') { prdType = '04'; } else {