|
|
@ -26,7 +26,7 @@ export class LayoutComponent implements OnInit { |
|
|
|
systemMaps = {}; |
|
|
|
queryDisplayList = []; |
|
|
|
|
|
|
|
exclusionSys = ['', 'SSO_mes'] |
|
|
|
exclusionSys = [''] |
|
|
|
|
|
|
|
USER_ID = ""; |
|
|
|
|
|
|
@ -255,9 +255,7 @@ export class LayoutComponent implements OnInit { |
|
|
|
) |
|
|
|
.then((res) => { |
|
|
|
if (res && res.response) { |
|
|
|
window.open( |
|
|
|
item.url + "/sso-login?userToken=" + res.response.user_token |
|
|
|
); |
|
|
|
this.jumpURL(item.url, res.response.user_token); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
@ -271,7 +269,7 @@ export class LayoutComponent implements OnInit { |
|
|
|
) |
|
|
|
.then((res) => { |
|
|
|
if (res) { |
|
|
|
window.open(item.url + "/sso-login?userToken=" + res.user_token); |
|
|
|
this.jumpURL(item.url, res.user_token); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -392,4 +390,12 @@ export class LayoutComponent implements OnInit { |
|
|
|
handleModelCancel() { |
|
|
|
this.isDownloadVisible = false; |
|
|
|
} |
|
|
|
|
|
|
|
jumpURL(url: String, token: String) { |
|
|
|
if (url.includes('/sso-login')) { |
|
|
|
window.open(url + "&userToken=" + token); |
|
|
|
} else { |
|
|
|
window.open(url + "/sso-login?userToken=" + token); |
|
|
|
} |
|
|
|
} |
|
|
|
} |