国赛设计平台登录 调整

This commit is contained in:
fan 2021-11-01 13:37:43 +08:00
parent 24473bb1f3
commit 2e0449bb43

View File

@ -452,7 +452,7 @@ export default {
},
handleLoginSucessRoute() {
//
this.loading = this.project.includes('drts') || false;
this.loading = this.project === 'drts' || this.project === 'hlsdrts' || false;
this.tipsMsg = '';
removeSessionStorage('againEnter');
if (this.$route.query.projectDevice) {
@ -547,7 +547,7 @@ export default {
}
});
});
} else if (this.project.includes('drts') || this.project === 'bjd' || this.project === 'wjls') {
} else if (this.project === 'drts' || this.project === 'hlsdrts' || this.project === 'bjd' || this.project === 'wjls') {
getLoginInfo(getToken()).then(res => {
if (this.project === 'wjls') {
getSimulationInfoByGroup(res.data.group).then(resp =>{
@ -566,7 +566,7 @@ export default {
});
} else {
getSimulationInfoNew(res.data.group).then(resp => {
if (this.project.includes('drts')) {
if (this.project === 'drts' || this.project === 'hlsdrts') {
this.$router.push({ path: `/displayNew/demon`, query: {
lineCode: resp.data.map.lineCode,
group: res.data.group,