|
|
@@ -317,13 +317,12 @@ export default {
|
|
|
sessionStorage.setItem("active_password", res.remindchangepassword);
|
|
|
this.basicData.query_userauth().then(() => {
|
|
|
this.basicData.querySite_Parameter();
|
|
|
- // let usertype = JSON.parse(sessionStorage.getItem('active_account')).usertype
|
|
|
- // if (usertype == 1 || usertype == 0){
|
|
|
- // this.$router.push('/serviceDataScreen')
|
|
|
- // }else {
|
|
|
- // this.$router.push({ path: "/main" });
|
|
|
- // }
|
|
|
- this.$router.push({ path: "/main" });
|
|
|
+ let usertype = JSON.parse(sessionStorage.getItem('active_account')).usertype
|
|
|
+ if (usertype == 1 || usertype == 0){
|
|
|
+ this.$router.push('/serviceDataScreen')
|
|
|
+ }else {
|
|
|
+ this.$router.push({ path: "/main" });
|
|
|
+ }
|
|
|
this.getAccountInfo();
|
|
|
});
|
|
|
} else {
|