|
|
|
|
@ -29,20 +29,20 @@ const routes = [{
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/index'),
|
|
|
|
|
children: [
|
|
|
|
|
// {
|
|
|
|
|
// path: 'realTime',
|
|
|
|
|
// name: 'realTime',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'global',
|
|
|
|
|
// name: '实时监控'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/realTime/index')
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
path: 'history',
|
|
|
|
|
name: 'history',
|
|
|
|
|
path: 'realTimeMonitoring',
|
|
|
|
|
name: 'realTimeMonitoring',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'desktop',
|
|
|
|
|
name: '实时监控'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/realTimeMonitoring/index')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'historyMonitoring',
|
|
|
|
|
name: 'historyMonitoring',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'line-chart',
|
|
|
|
|
name: '历史监控'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/historyMonitoring/index')
|
|
|
|
|
|