123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- import settings from "@/config/settings";
- import { RoutesDataItem } from "@/utils/routes";
- import BlankLayout from '@/layouts/BlankLayout.vue';
- const IndexLayoutRoutes: Array<RoutesDataItem> = [
- {
- icon: 'alarmManage',
- title: 'index-layout.menu.alarmManage',
- path: '/alarmManage',
- component: () => import('@/views/alarmManage/index.vue')
- },
- {
- icon: 'siteManage',
- title: 'index-layout.menu.siteManage',
- path: '/siteManage',
- component: () => import('@/views/siteManage/index.vue')
- },
- {
- icon: 'stationManage',
- title: 'index-layout.menu.stationManage',
- path: '/stationManage',
- redirect: '/stationManage/index',
- component: BlankLayout,
- children: [
- {
- icon: 'stationManage',
- title: 'index-layout.menu.stationManage.EditArticle',
- path: 'siteList',
- component: () => import('@/views/stationManage/siteList.vue'),
- selectLeftMenu: '/stationManage',
- hidden: true
- },
- {
- icon: 'stationManage',
- title: 'index-layout.menu.stationManage.Articleindex',
- path: 'index',
- component: () => import('@/views/stationManage/index.vue'),
- selectLeftMenu: '/stationManage',
- hidden: true
- }
- ]
- },
- {
- icon: 'deviceManage',
- title: 'index-layout.menu.deviceManage',
- path: '/deviceManage',
- component: BlankLayout,
- redirect: '/deviceManage/powerEquip',
- children: [
- {
- title: 'index-layout.menu.deviceManage.powerEquip',
- path: 'powerEquip',
- component: () => import('@/views/deviceManage/powerEquip/index.vue'),
- },
- {
- title: 'index-layout.menu.deviceManage.videoEquip',
- path: 'videoEquip',
- component: () => import('@/views/deviceManage/videoEquip/index.vue'),
- },
- {
- title: 'index-layout.menu.deviceManage.communicateEquip',
- path: 'communicateEquip',
- component: () => import('@/views/deviceManage/communicateEquip/index.vue'),
- },
- {
- title: 'index-layout.menu.deviceManage.channelList',
- path: 'channelList',
- component: () => import('@/views/deviceManage/channelList/index.vue'),
- },
- {
- title: 'index-layout.menu.deviceManage.attribTemplate',
- path: 'attribTemplate',
- component: () => import('@/views/deviceManage/attribTemplate/index.vue'),
- }
- ]
- },
- {
- icon: 'dataManage',
- title: 'index-layout.menu.dataManage',
- path: '/dataManage',
- component: BlankLayout,
- redirect: '/dataManage/sameAnalysis',
- children: [
- {
- title: 'index-layout.menu.dataManage.sameAnalysis',
- path: 'sameAnalysis',
- component: () => import('@/views/dataManage/sameAnalysis/index.vue'),
- },
- {
- title: 'index-layout.menu.dataManage.chainAnalysis',
- path: 'chainAnalysis',
- component: () => import('@/views/dataManage/chainAnalysis/index.vue'),
- },
- {
- title: 'index-layout.menu.dataManage.handOpera',
- path: 'handOpera',
- component: () => import('@/views/dataManage/handOpera/index.vue'),
- },
- {
- title: 'index-layout.menu.dataManage.energyReport',
- path: 'energyReport',
- component: () => import('@/views/dataManage/energyReport/index.vue'),
- },
- {
- title: 'index-layout.menu.dataManage.demandAnalysis',
- path: 'demandAnalysis',
- component: () => import('@/views/dataManage/demandAnalysis/index.vue'),
- },
- {
- title: 'index-layout.menu.dataManage.consumConfig',
- path: 'consumConfig',
- component: () =>
- import('@/views/dataManage/consumConfig/index.vue'),
- }
- ]
- },
- {
- title: '电能质量',
- icon: 'powerQuality',
- path: '/powerQuality',
- component: BlankLayout,
- redirect: '/powerQuality/harmonicReport',
- children: [
- {
- title: '谐波报表',
- path: 'harmonicReport',
- component: () => import('@/views/powerQuality/harmonicReport/index.vue'),
- },
- {
- title: '实时监测',
- path: 'realTimeMonitoring',
- name: 'realTimeMonitoring',
- component: () => import('@/views/powerQuality/realTimeMonitoring/index.vue'),
- },
- {
- title: '评估报告',
- path: 'asseReport',
- name: 'asseReport',
- component: () => import('@/views/powerQuality/asseReport/index.vue'),
- },
- {
- title: '三相不平衡分析',
- path: 'unbalanceAnalysis',
- name: 'unbalanceAnalysis',
- component: () => import('@/views/powerQuality/unbalanceAnalysis/index.vue'),
- },
- ]
- },
- {
- icon: 'monthReport',
- title: '月度报告',
- path: '/monthReport',
- component: () => import('@/views/monthReport/index.vue'),
- },
- {
- icon: 'planOutage',
- title: '计划停电',
- path: '/planOutage',
- component: () => import('@/views/planOutage/index.vue'),
- },
- {
- title: '巡检管理',
- icon: 'patrolManage',
- path: '/patrolManage',
- component: BlankLayout,
- redirect: '/patrolManage/patrolPlan',
- name: 'patrolManage',
- children: [
- {
- title: '巡检计划',
- path: 'patrolPlan',
- name: 'patrolPlan',
- component: () => import('@/views/patrolManage/patrolPlan/index.vue'),
- },
- {
- title: '巡检记录',
- path: 'patrolRecord',
- name: 'patrolRecord',
- component: () => import('@/views/patrolManage/patrolRecord/index.vue'),
- },
- {
- title: '巡检内容',
- path: 'patrolContent',
- name: 'patrolContent',
- component: () => import('@/views/patrolManage/patrolContent/index.vue'),
- },
- {
- title: '检查条目',
- path: 'checkEntries',
- name: 'checkEntries',
- component: () => import('@/views/patrolManage/checkEntries/index.vue'),
- },
- ]
- },
- {
- title: '运维管理',
- icon: 'operManage',
- path: '/operManage',
- component: BlankLayout,
- redirect: '/operManage/siteAchives',
- name: 'operManage',
- children: [
- {
- title: '现场档案',
- path: 'siteAchives',
- name: 'siteAchives',
- component: () => import('@/views/operManage/siteAchives/index.vue'),
- },
- {
- title: '缺陷管理',
- path: 'defectManage',
- name: 'defectManage',
- component: () =>
- import('@/views/operManage/defectManage/index.vue'),
- },
- {
- title: '工单管理',
- path: 'workManage',
- name: 'workManage',
- component: () =>
- import('@/views/operManage/workManage/index.vue'),
- },
- {
- title: '运维统计',
- path: 'operStatistics',
- name: 'operStatistics',
- component: () => import('@/views/operManage/operStatistics/index.vue'),
- },
- {
- title: '工作量统计',
- path: 'workStatistics',
- name: 'workStatistics',
- component: () => import('@/views/operManage/workStatistics/index.vue'),
- },
- ]
- },
- {
- title: '系统管理',
- icon: 'systemManage',
- path: '/systemManage',
- component: BlankLayout,
- redirect: '/systemManage/userManage',
- name: 'systemManage',
- children: [
- {
- title: '用户管理',
- path: 'userManage',
- name: 'userManage',
- component: () => import('@/views/systemManage/userManage/index.vue'),
- },
- {
- title: '权限管理',
- path: 'rolePermission',
- name: 'rolePermission',
- component: () => import('@/views/systemManage/rolePermission/index.vue'),
- },
- ]
- },
- {
- icon: 'permissions',
- title: 'index-layout.menu.roles',
- path: '/roles',
- redirect: '/roles/all',
- component: BlankLayout,
- children: [
- {
- icon: 'detail',
- title: 'index-layout.menu.roles.all',
- path: 'all',
- component: () => import('@/views/roles/all/index.vue'),
- },
- {
- icon: 'detail',
- roles: ['user'],
- title: 'index-layout.menu.roles.user',
- path: 'user',
- component: () => import('@/views/roles/user/index.vue'),
- },
- {
- icon: 'detail',
- roles: ['test'],
- title: 'index-layout.menu.roles.test',
- path: 'test',
- component: () => import('@/views/roles/test/index.vue'),
- },
- ],
- },
- ];
- export default IndexLayoutRoutes;
|