From f963f115a27bc40a23f3d150e8f93842d13c49c4 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 08 May 2024 16:58:13 +0800
Subject: [PATCH] 公安相关首页更改
---
src/views/wel/index.vue | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 9eceab5..89f6fad 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -105,9 +105,45 @@
}
]
+ if (this.globalUserInfo.role_name.indexOf('gagly') != -1) {
+ this.homeMenuData = [
+ {
+ imageUrl: 'img/yijianbaoj.png',
+ url: '/userHouse/houseHoldList',
+ title: '住户管理',
+ newOpen: false,
+ },
+ {
+ imageUrl: 'img/fangyi.png',
+ url: '/userHouse/houseList',
+ title: '房屋管理',
+ newOpen: false,
+ },
+ {
+ imageUrl: 'img/csjc.png',
+ url: '/publicSecurity/ninePlaceManage/patrolRecord',
+ title: '场所检查',
+ newOpen: false,
+ },
+ {
+ imageUrl: 'img/dagl.png',
+ url: '/publicSecurity/ninePlaceManage/archivesManage',
+ title: '档案管理',
+ newOpen: false,
+ },
+ {
+ imageUrl: 'img/zgqk.png',
+ url: '/publicSecurity/ninePlaceManage/hiddenDangerStatistics',
+ title: '整改情况',
+ newOpen: false,
+ }
+ ]
+ }
+
if (this.globalUserInfo.role_name == 'administrator' ||
this.globalUserInfo.role_name.indexOf('jdgly') != -1 ||
this.globalUserInfo.role_name.indexOf('sqgly') != -1 ||
+ this.globalUserInfo.role_name.indexOf('gagly') != -1 ||
this.globalUserInfo.role_name.split(',').find(item => item == 'admin')) {
this.homeMenuData.push({
imageUrl: 'img/jsc.png',
--
Gitblit v1.9.3