This commit is contained in:
zyy 2020-08-13 15:41:51 +08:00
commit 4b5b9776db

View File

@ -165,8 +165,11 @@ export default {
if (memberInfo) { if (memberInfo) {
if (memberInfo.type == '行值') { if (memberInfo.type == '行值') {
prdType = '01'; prdType = '01';
this.$store.dispatch('training/setRoles', 'STATION_SUPERVISOR');
this.$store.dispatch('training/setRoleDeviceCode', memberInfo.deviceCode);
} else if (memberInfo.type == '行调') { } else if (memberInfo.type == '行调') {
prdType = '02'; prdType = '02';
this.$store.dispatch('training/setRoles', 'DISPATCHER');
} else if (memberInfo.type == '司机') { } else if (memberInfo.type == '司机') {
prdType = '04'; prdType = '04';
} else { } else {