调整驾驶终端进入跳转

This commit is contained in:
fan 2020-07-30 15:58:28 +08:00
parent 50f4b1a0f7
commit 71d3ff5d87

View File

@ -192,6 +192,8 @@ export default {
this.deviceShow = true; this.deviceShow = true;
} }
if (this.$route.query.type === 'DRIVE') { if (this.$route.query.type === 'DRIVE') {
this.$store.dispatch('training/setPrdType', '04');
this.$store.dispatch('training/setRoles', 'DRIVER');
this.hidepanel(); this.hidepanel();
} }
}, },