Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
4b5b9776db
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user