查询项目设备调整
This commit is contained in:
parent
0339b04966
commit
b42c8ea6b5
@ -145,7 +145,7 @@ export default {
|
||||
this.deviceRelatedLogin();
|
||||
}
|
||||
if (getToken()) {
|
||||
this.$refs.normalLogin.handleLoginSucessRoute();
|
||||
this.$refs.normalLogin.handleLoginSucessRoute(this.backProject);
|
||||
}
|
||||
}
|
||||
}).catch(() => {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user