|
@@ -59,12 +59,12 @@ router.beforeEach((to, from, next) => {
|
|
|
if( to.path === '/dashboard/analysis' && from.path == '/'){
|
|
|
if (store.getters.userInfo.id == '4aba62011120ac565c7f2b9f8f4aa96b' || store.getters.userInfo.id == 'e9ca23d68d884d4ebb19d07889727dae') {
|
|
|
const a = document.createElement('a');
|
|
|
- document.body.appendChild(a);
|
|
|
- a.style.display = 'none';
|
|
|
- a.href = 'http://192.168.0.195:9001/boss-data-kanban';
|
|
|
- a.target = '_blank'
|
|
|
- a.click();
|
|
|
- document.body.removeChild(a);
|
|
|
+ document.body.appendChild(a);
|
|
|
+ a.style.display = 'none';
|
|
|
+ a.href = 'http://adsp.c-top.com.cn/boss-data-kanban';
|
|
|
+ a.target = '_blank'
|
|
|
+ a.click();
|
|
|
+ document.body.removeChild(a);
|
|
|
// let tempPage = window.open('', '_blank');
|
|
|
// tempPage.location="/boss-data-kanban";
|
|
|
}
|
|
@@ -90,12 +90,12 @@ router.beforeEach((to, from, next) => {
|
|
|
if( to.path === '/dashboard/analysis' && from.path == '/'){
|
|
|
if (store.getters.userInfo.id == '4aba62011120ac565c7f2b9f8f4aa96b' || store.getters.userInfo.id == 'e9ca23d68d884d4ebb19d07889727dae') {
|
|
|
const a = document.createElement('a');
|
|
|
- document.body.appendChild(a);
|
|
|
- a.style.display = 'none';
|
|
|
- a.href = 'http://192.168.0.195:9001/boss-data-kanban';
|
|
|
- a.target = '_blank'
|
|
|
- a.click();
|
|
|
- document.body.removeChild(a);
|
|
|
+ document.body.appendChild(a);
|
|
|
+ a.style.display = 'none';
|
|
|
+ a.href = 'http://adsp.c-top.com.cn/boss-data-kanban';
|
|
|
+ a.target = '_blank'
|
|
|
+ a.click();
|
|
|
+ document.body.removeChild(a);
|
|
|
// let tempPage = window.open('', '_blank');
|
|
|
// tempPage.location="/boss-data-kanban";
|
|
|
return
|