|
@@ -58,30 +58,30 @@ router.beforeEach(async(to, from, next) => {
|
|
|
|
|
|
} else {
|
|
|
// setToken('2021400203')//yym
|
|
|
- setToken("201901766");//qgt
|
|
|
+ // setToken("201901766");//qgt
|
|
|
|
|
|
- userLogin((isLogin)=>{
|
|
|
- getSystemState(to,()=>{
|
|
|
- if(!isLogin&&to.name!='resultShowDetail'){
|
|
|
- store.commit('getPlanEndProjectData');
|
|
|
- }
|
|
|
- next()
|
|
|
- })
|
|
|
- });
|
|
|
+ // userLogin((isLogin)=>{
|
|
|
+ // getSystemState(to,()=>{
|
|
|
+ // if(!isLogin&&to.name!='resultShowDetail'){
|
|
|
+ // store.commit('getPlanEndProjectData');
|
|
|
+ // }
|
|
|
+ // next()
|
|
|
+ // })
|
|
|
+ // });
|
|
|
window.location.href = "http://10.16.30.130/sso/caslogin.jsp";
|
|
|
}
|
|
|
} catch {
|
|
|
// setToken('2021400203')//yym
|
|
|
- setToken("201901766");//qgt
|
|
|
+ // setToken("201901766");//qgt
|
|
|
|
|
|
- userLogin((isLogin)=>{
|
|
|
- getSystemState(to,()=>{
|
|
|
- if(!isLogin&&to.name!='resultShowDetail'){
|
|
|
- store.commit('getPlanEndProjectData');
|
|
|
- }
|
|
|
- next()
|
|
|
- })
|
|
|
- });
|
|
|
+ // userLogin((isLogin)=>{
|
|
|
+ // getSystemState(to,()=>{
|
|
|
+ // if(!isLogin&&to.name!='resultShowDetail'){
|
|
|
+ // store.commit('getPlanEndProjectData');
|
|
|
+ // }
|
|
|
+ // next()
|
|
|
+ // })
|
|
|
+ // });
|
|
|
window.location.href = "http://10.16.30.130/sso/caslogin.jsp";
|
|
|
}
|
|
|
// determine whether the user has logged in
|