2 files modified
3 files added
| | |
| | | if ( |
| | | findChildrenRole(data.role_name, "admin") || |
| | | findChildrenRole(data.role_name, "administrator") || |
| | | findChildrenRole(data.role_name, "gagly") || |
| | | findChildrenRole(data.role_name, "jdgly") || |
| | | findChildrenRole(data.role_name, "sqgly") |
| | | ) { |
| | |
| | | } |
| | | ] |
| | | |
| | | 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', |