瀏覽代碼

业务数据大屏

qymljy 1 年之前
父節點
當前提交
eb0eaca015
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/components/newLayout/index.vue

+ 6 - 2
src/components/newLayout/index.vue

@@ -108,8 +108,12 @@ export default {
   },
   mounted() {
 
-    if (JSON.parse(sessionStorage.getItem('active_password')) == '1' && JSON.parse(sessionStorage.getItem('password')) != '1' && JSON.parse(sessionStorage.getItem('active_account')).usertype != 0 && JSON.parse(sessionStorage.getItem('active_account')).usertype != 1){
-      this.dialogVisible = true
+    if (JSON.parse(sessionStorage.getItem('active_password')) == '1' && JSON.parse(sessionStorage.getItem('password')) != '1'){
+      if (JSON.parse(sessionStorage.getItem('active_account')).usertype == 0 && JSON.parse(sessionStorage.getItem('active_account')).usertype == 1 && JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY'){
+        this.dialogVisible = false
+      }else {
+        this.dialogVisible = true
+      }
     }
     /*this.debouned()*/
    /* console.log('长度')