| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | |
| | | <script> |
| | | import { getToken } from '@/util/auth' |
| | | import { getStore } from "@/util/store" |
| | |
| | | } |
| | | ] |
| | | |
| | | if (this.globalUserInfo.role_name == 'administrator' || this.globalUserInfo.role_name.split(',').find(item => item == 'admin')) { |
| | | if (this.globalUserInfo.role_name == 'administrator' || |
| | | this.globalUserInfo.role_name.indexOf('jdgly') != -1 || |
| | | this.globalUserInfo.role_name.indexOf('sqgly') != -1 || |
| | | this.globalUserInfo.role_name.split(',').find(item => item == 'admin')) { |
| | | this.homeMenuData.push({ |
| | | imageUrl: 'img/jsc.png', |
| | | url: `http://srgdjczzxtpt.com:2181/uniform-auth/login?app=app_smart_aoi&Blade-Auth=bearer ${getToken()}`, |
| | |
| | | mouted () { }, |
| | | } |
| | | </script> |
| | | |
| | | |
| | | <style lang="scss"> |
| | | #homeL { |
| | | display: flex; |