| | |
| | | imgs: 'url(/img/glgz.jpg)' |
| | | }, ] |
| | | }, { |
| | | userName: 'admin', |
| | | list: [{ |
| | | label: '保安员管理', |
| | | value: '/securityGuard/index', |
| | | imgs: 'url(/img/glba.jpg)' |
| | | }, { |
| | | label: '通知公告', |
| | | value: '/desk/index', |
| | | imgs: 'url(/img/gltz.jpg)' |
| | | }, { |
| | | label: '公司动态', |
| | | value: '/desk/notification', |
| | | imgs: 'url(/img/glgj.jpg)' |
| | | }, { |
| | | label: '单位信息', |
| | | value: '/securityUnit/localCompany', |
| | | imgs: 'url(/img/gldw.jpg)' |
| | | }, { |
| | | label: '智能分析', |
| | | value: '/securityAnalysis/index', |
| | | imgs: 'url(/img/glgz.jpg)' |
| | | }, ] |
| | | },{ |
| | | userName: '保安', |
| | | list: [{ |
| | | label: '保安员信息', |
| | |
| | | <div class="homeL-up"> |
| | | <span class="h1">保安服务企业管理平台</span> |
| | | <span class="h2">Security service enterprise management platform</span> |
| | | <!-- <img class="img" src="../../static/img/permit/服务许可背景图.png"/> --> |
| | | <img class="img" :src="img" v-if="isImg"/> |
| | | </div> |
| | | <div class="homeL-bar"> |
| | |
| | | }, |
| | | mounted() { |
| | | var data = website.homePage; |
| | | console.log(data); |
| | | console.log(this.userInfo, "userInfo"); |
| | | data.forEach((item) => { |
| | | if (item.userName == this.userInfo.role_name) { |
| | | this.usedata = item; |
| | | console.log(this.usedata); |
| | | } |
| | | }); |
| | | }, |
| | |
| | | }, |
| | | created(){ |
| | | //获取二维码图片 |
| | | if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "administrator" || this.userInfo.role_name == "民警"){ |
| | | if(this.userInfo.role_name == "公安管理员" || |
| | | this.userInfo.role_name == "administrator" || |
| | | this.userInfo.role_name == "admin" || |
| | | this.userInfo.role_name == "民警"){ |
| | | this.isImg = true; |
| | | //查询图片 |
| | | getDetails(12).then((res) => { |