shuishen
2024-05-08 f963f115a27bc40a23f3d150e8f93842d13c49c4
公安相关首页更改
2 files modified
3 files added
37 ■■■■■ changed files
public/img/csjc.png patch | view | raw | blame | history
public/img/dagl.png patch | view | raw | blame | history
public/img/zgqk.png patch | view | raw | blame | history
src/store/modules/user.js 1 ●●●● patch | view | raw | blame | history
src/views/wel/index.vue 36 ●●●●● patch | view | raw | blame | history
public/img/csjc.png
public/img/dagl.png
public/img/zgqk.png
src/store/modules/user.js
@@ -105,6 +105,7 @@
                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")
                ) {
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',