|
@@ -58,73 +58,87 @@ export const constantRoutes = [{
|
|
|
meta: { title: '告警管理', icon: 'alarmManage' }
|
|
|
}]
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
path: '/siteManage',
|
|
|
component: Layout,
|
|
|
- redirect: '/siteManage/basicInfo',
|
|
|
- name: 'siteManage',
|
|
|
- meta: { title: '站点管理', icon: 'siteManage' },
|
|
|
children: [{
|
|
|
- path: 'basicInfo',
|
|
|
- name: 'basicInfo',
|
|
|
- component: () =>
|
|
|
- import ('@/views/siteManage/basicInfo/index'),
|
|
|
- meta: { title: '基本信息' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'watchDog',
|
|
|
- name: 'watchDog',
|
|
|
- component: () =>
|
|
|
- import ('@/views/siteManage/watchDog/index'),
|
|
|
- meta: { title: '监控设备' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'variableList',
|
|
|
- name: 'variableList',
|
|
|
- component: () =>
|
|
|
- import ('@/views/siteManage/variableList/index'),
|
|
|
- meta: { title: '变量列表' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'rateConfig',
|
|
|
- name: 'rateConfig',
|
|
|
- component: () =>
|
|
|
- import ('@/views/siteManage/rateConfig/index'),
|
|
|
- meta: { title: '费率配置' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'camera',
|
|
|
- name: 'camera',
|
|
|
- component: () =>
|
|
|
- import ('@/views/siteManage/camera/index'),
|
|
|
- meta: { title: '摄像头' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'powerScore',
|
|
|
- name: 'powerScore',
|
|
|
- component: () =>
|
|
|
- import ('@/views/siteManage/powerScore/index'),
|
|
|
- meta: { title: '电能质量评分' }
|
|
|
- }
|
|
|
- ]
|
|
|
+ path: 'index',
|
|
|
+ name: 'siteManage',
|
|
|
+ component: () =>
|
|
|
+ import ('@/views/siteManage/basicInfo/index'),
|
|
|
+ meta: { title: '站点管理', icon: 'siteManage' }
|
|
|
+ }]
|
|
|
},
|
|
|
|
|
|
+ // {
|
|
|
+ // path: '/siteManage',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/siteManage/basicInfo',
|
|
|
+ // name: 'siteManage',
|
|
|
+ // meta: { title: '站点管理', icon: 'siteManage' },
|
|
|
+ // children: [{
|
|
|
+ // path: 'basicInfo',
|
|
|
+ // name: 'basicInfo',
|
|
|
+ // component: () =>
|
|
|
+ // import ('@/views/siteManage/basicInfo/index'),
|
|
|
+ // meta: { title: '基本信息' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'watchDog',
|
|
|
+ // name: 'watchDog',
|
|
|
+ // component: () =>
|
|
|
+ // import ('@/views/siteManage/watchDog/index'),
|
|
|
+ // meta: { title: '监控设备' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'variableList',
|
|
|
+ // name: 'variableList',
|
|
|
+ // component: () =>
|
|
|
+ // import ('@/views/siteManage/variableList/index'),
|
|
|
+ // meta: { title: '变量列表' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'rateConfig',
|
|
|
+ // name: 'rateConfig',
|
|
|
+ // component: () =>
|
|
|
+ // import ('@/views/siteManage/rateConfig/index'),
|
|
|
+ // meta: { title: '费率配置' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'camera',
|
|
|
+ // name: 'camera',
|
|
|
+ // component: () =>
|
|
|
+ // import ('@/views/siteManage/camera/index'),
|
|
|
+ // meta: { title: '摄像头' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'powerScore',
|
|
|
+ // name: 'powerScore',
|
|
|
+ // component: () =>
|
|
|
+ // import ('@/views/siteManage/powerScore/index'),
|
|
|
+ // meta: { title: '电能质量评分' }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+
|
|
|
{
|
|
|
path: '/stationManage',
|
|
|
component: Layout,
|
|
|
+ redirect: '/stationManage/index',
|
|
|
children: [{
|
|
|
path: 'index',
|
|
|
name: 'StationManage',
|
|
|
component: () =>
|
|
|
import ('@/views/stationManage/index'),
|
|
|
- meta: { title: '台区管理', icon: 'stationManage' }
|
|
|
+ meta: { title: '台区管理', icon: 'stationManage', guidePath: true, jumpPath: '/stationManage/index' }
|
|
|
},
|
|
|
{
|
|
|
path: 'siteList',
|
|
|
name: 'StationManage',
|
|
|
component: () =>
|
|
|
import ('@/views/stationManage/siteList'),
|
|
|
- meta: { title: '台区管理', icon: 'stationManage' },
|
|
|
+ meta: { title: '台区管理', icon: 'stationManage', guidePath: true, jumpPath: '/stationManage/siteList' },
|
|
|
hidden: true
|
|
|
}
|
|
|
]
|
|
@@ -140,7 +154,7 @@ export const constantRoutes = [{
|
|
|
// name: 'StationManage',
|
|
|
// component: () =>
|
|
|
// import ('@/views/stationManage/siteList'),
|
|
|
- // meta: { title: '台区管理', icon: 'stationManage' }
|
|
|
+ // meta: { title: '台区管理', icon: 'stationManage', guidePath: true, jumpPath: '/stationManage/siteList' }
|
|
|
// }],
|
|
|
// hidden: true
|
|
|
// },
|