| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- const navButtons = [
- {
- name: '工单管理',
- img: '/static/images/home/order.png',
- url: '/pages/check-order/check-order-manage',
- badge: false,
- value: 0,
- },
- {
- name: '巡检管理',
- img: '/static/images/home/inspection.png',
- url: '/pages/equipment-inspection/inspection-manage',
- badge: false,
- value: 0,
- },
- {
- name: '工单统计',
- img: '/static/images/home/order_statistics.png',
- url: '/pages/report-forms/checkorderreportcount',
- badge: false,
- value: 0,
- },
- {
- name: '巡检统计',
- img: '/static/images/home/inspection_statistics.png',
- url: '/pages/report-forms/inspectionreportcount',
- badge: false,
- value: 0,
- },
- {
- name: '人员管理',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=1',
- badge: false,
- value: 0,
- },
- {
- name: '人员通讯表',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=0',
- badge: false,
- value: 0,
- },
- {
- name: '报表',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=0',
- badge: false,
- value: 0,
- },
- {
- name: 'IOT整合',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=0',
- badge: false,
- value: 0,
- },
- {
- name: '企业微信',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=0',
- badge: false,
- value: 0,
- },
- {
- name: '钉钉',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=0',
- badge: false,
- value: 0,
- },
- {
- name: '飞书',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=0',
- badge: false,
- value: 0,
- },
- {
- name: '短信',
- img: '/static/images/home/contact.png',
- url: '/pages/serviceperson/servicepersonmanage?add=0',
- badge: false,
- value: 0,
- },
- ]
- //获取系统管理员导航按钮
- const sysAdminNavButton = [true,false,false,false,true,false,true,true,true,true,true,true];
- //获取盟市管理员导航按钮
- const orgAdminNavButton = [true,true,false,false,true,false,true,true,true,true,true,true];
- //获取运维公司管理员导航按钮
- const companyAdminNavButton = [true,true,true,true,true,false,true,true,true,true,true,true];
- //获取运维公司技术员导航按钮
- const companyServicePersonNavButton = [true,false,false,false,false,false,true,true,true,true,true,true];
- //获取运应急人员导航按钮
- const yjServicePersonNavButton = [false,false,false,false,true,false,true,true,true,true,true,true];
- export default {
- navButtons,
- sysAdminNavButton,
- orgAdminNavButton,
- companyAdminNavButton,
- companyServicePersonNavButton,
- yjServicePersonNavButton
- }
|