Browse Source

业务数据大屏

qymljy 1 year ago
parent
commit
9ab7a11021
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/login/login.vue

+ 2 - 1
src/views/login/login.vue

@@ -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" });