查询项目设备调整

This commit is contained in:
fan 2023-03-06 16:31:41 +08:00
parent 0339b04966
commit b42c8ea6b5
2 changed files with 5 additions and 5 deletions

View File

@ -145,7 +145,7 @@ export default {
this.deviceRelatedLogin();
}
if (getToken()) {
this.$refs.normalLogin.handleLoginSucessRoute();
this.$refs.normalLogin.handleLoginSucessRoute(this.backProject);
}
}
}).catch(() => {

View File

@ -220,7 +220,7 @@ export default {
selectOrgnization(orgId);
},
//
handleLoginSucessRoute() {
handleLoginSucessRoute(project) {
this.loading = false;
this.tipsMsg = '';
let path = '';
@ -229,15 +229,15 @@ export default {
projectDevice:this.$route.query.projectDevice,
type: this.$route.query.type
};
this.judgeOtherPage(params);
this.judgeOtherPage(params, project);
} else {
path = '/simulation/simulationIndex';
this.$router.push({ path: path });
}
},
judgeOtherPage(params) {
judgeOtherPage(params, project) {
// itemMap: {DEFAULT_MEMBER: '1'}type: "METRO"
getBackProjectConfigByCode(this.project).then(res=>{
getBackProjectConfigByCode(this.project || project).then(res=>{
if (res.data) {
const {mapId, functionId} = res.data;
if (functionId && mapId) {