|
@@ -54,8 +54,6 @@ export const asyncRoutes = [
|
|
|
// },
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
{
|
|
|
path: 'external-link',
|
|
|
component: Layout,
|
|
@@ -67,7 +65,7 @@ export const asyncRoutes = [
|
|
|
|
|
|
{
|
|
|
path: '/',
|
|
|
- redirect: '/',
|
|
|
+ redirect: '/alarmManage/index',
|
|
|
meta: {
|
|
|
title: '告警管理',
|
|
|
icon: 'alarmManage',
|
|
@@ -210,18 +208,18 @@ export const asyncRoutes = [
|
|
|
meta: { icon: 'dataManage', title: '数据管理', },
|
|
|
path: '/dataManage',
|
|
|
component: Layout,
|
|
|
- redirect: '/dataManage/sameAnalysis',
|
|
|
+ redirect: '/dataManage/sameAnalysis/index',
|
|
|
children: [{
|
|
|
meta: { icon: 'sameAnalysis', title: '同比分析报表', },
|
|
|
path: 'sameAnalysis',
|
|
|
component: () =>
|
|
|
- import ('@/views/dataManage/sameAnalysis/index.vue'),
|
|
|
+ import ('@/views/dataManage/sameAnalysis/index'),
|
|
|
},
|
|
|
{
|
|
|
meta: { icon: 'chainAnalysis', title: '环比分析报表', },
|
|
|
path: 'chainAnalysis',
|
|
|
component: () =>
|
|
|
- import ('@/views/dataManage/chainAnalysis/index.vue'),
|
|
|
+ import ('@/views/dataManage/chainAnalysis/index'),
|
|
|
},
|
|
|
// {
|
|
|
// meta: { icon: 'handOpera', title: '手动抄表', },
|
|
@@ -235,14 +233,14 @@ export const asyncRoutes = [
|
|
|
title: 'index-layout.menu.dataManage.energyReport',
|
|
|
path: 'energyReport',
|
|
|
component: () =>
|
|
|
- import ('@/views/dataManage/energyReport/index.vue'),
|
|
|
+ import ('@/views/dataManage/energyReport/index'),
|
|
|
},
|
|
|
{
|
|
|
meta: { icon: 'demandAnalysis', title: '需量分析', },
|
|
|
title: 'index-layout.menu.dataManage.demandAnalysis',
|
|
|
path: 'demandAnalysis',
|
|
|
component: () =>
|
|
|
- import ('@/views/dataManage/demandAnalysis/index.vue'),
|
|
|
+ import ('@/views/dataManage/demandAnalysis/index'),
|
|
|
},
|
|
|
// {
|
|
|
// meta: { icon: 'consumConfig', title: '能耗分析配置', },
|
|
@@ -265,30 +263,30 @@ export const asyncRoutes = [
|
|
|
meta: { icon: 'powerQuality', title: '电能质量', },
|
|
|
path: '/powerQuality',
|
|
|
component: Layout,
|
|
|
- redirect: '/powerQuality/harmonicReport',
|
|
|
+ redirect: '/powerQuality/harmonicReport/index',
|
|
|
children: [{
|
|
|
meta: { icon: 'harmonicReport', title: '谐波报表', },
|
|
|
path: 'harmonicReport',
|
|
|
component: () =>
|
|
|
- import ('@/views/powerQuality/harmonicReport/index.vue'),
|
|
|
+ import ('@/views/powerQuality/harmonicReport/index'),
|
|
|
},
|
|
|
{
|
|
|
meta: { icon: 'realTimeMonitoring', title: '实时监测' },
|
|
|
path: 'realTimeMonitoring',
|
|
|
component: () =>
|
|
|
- import ('@/views/powerQuality/realTimeMonitoring/index.vue'),
|
|
|
+ import ('@/views/powerQuality/realTimeMonitoring/index'),
|
|
|
},
|
|
|
{
|
|
|
meta: { icon: 'asseReport', title: '评估报告', },
|
|
|
path: 'asseReport',
|
|
|
component: () =>
|
|
|
- import ('@/views/powerQuality/asseReport/index.vue'),
|
|
|
+ import ('@/views/powerQuality/asseReport/index'),
|
|
|
},
|
|
|
{
|
|
|
meta: { icon: 'unbalanceAnalysis', title: '三相不平衡分析', },
|
|
|
path: 'unbalanceAnalysis',
|
|
|
component: () =>
|
|
|
- import ('@/views/powerQuality/unbalanceAnalysis/index.vue'),
|
|
|
+ import ('@/views/powerQuality/unbalanceAnalysis/index'),
|
|
|
},
|
|
|
|
|
|
]
|
|
@@ -323,7 +321,7 @@ export const asyncRoutes = [
|
|
|
|
|
|
{
|
|
|
path: '/planOutage',
|
|
|
- redirect: '/planOutage',
|
|
|
+ redirect: '/planOutage/index',
|
|
|
meta: { title: '计划停电', icon: 'planOutage', },
|
|
|
component: Layout,
|
|
|
children: [{
|
|
@@ -438,18 +436,18 @@ export const asyncRoutes = [
|
|
|
meta: { title: '系统管理', icon: 'systemManage', },
|
|
|
path: '/systemManage',
|
|
|
component: Layout,
|
|
|
- redirect: '/systemManage/userManage',
|
|
|
+ redirect: '/systemManage/userManage/index',
|
|
|
children: [{
|
|
|
meta: { title: '用户管理', icon: 'userManage', },
|
|
|
path: 'userManage',
|
|
|
component: () =>
|
|
|
- import ('@/views/systemManage/userManage/index.vue'),
|
|
|
+ import ('@/views/systemManage/userManage/index'),
|
|
|
},
|
|
|
{
|
|
|
meta: { title: '权限管理', icon: 'rolePermission', },
|
|
|
path: 'rolePermission',
|
|
|
component: () =>
|
|
|
- import ('@/views/systemManage/rolePermission/index.vue'),
|
|
|
+ import ('@/views/systemManage/rolePermission/index'),
|
|
|
},
|
|
|
]
|
|
|
},
|