|
|
@@ -318,7 +318,8 @@ export default {
|
|
|
this.basicData.query_userauth().then(() => {
|
|
|
this.basicData.querySite_Parameter();
|
|
|
let usertype = JSON.parse(sessionStorage.getItem('active_account')).usertype
|
|
|
- if (usertype == 1 || usertype == 0){
|
|
|
+ let siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
|
|
|
+ if ((usertype == 1 || usertype == 0) && siteid == 'HY' ){
|
|
|
this.$router.push('/serviceDataScreen')
|
|
|
}else {
|
|
|
this.$router.push({ path: "/main" });
|