You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.7 KiB
61 lines
1.7 KiB
'use strict';
|
|
import { DataAlarm, } from './containers';
|
|
|
|
export default [{
|
|
type: 'inner',
|
|
route: {
|
|
path: '/problem',
|
|
key: 'problem',
|
|
breadcrumb: '问题',
|
|
// 不设置 component 则面包屑禁止跳转
|
|
childRoutes: [{
|
|
path: '/dataAlarm',
|
|
key: 'dataAlarm',
|
|
breadcrumb: '数据告警',
|
|
// 不设置 component 则面包屑禁止跳转
|
|
childRoutes: [{
|
|
path: '/dataLnterrupt',
|
|
key: 'dataLnterrupt',
|
|
breadcrumb: '数据中断',
|
|
component: DataAlarm,
|
|
}, {
|
|
path: '/dataAbnormal',
|
|
key: 'dataAbnormal',
|
|
breadcrumb: '数据异常',
|
|
component: DataAlarm,
|
|
}, {
|
|
path: '/strategyHit',
|
|
key: 'strategyHit',
|
|
breadcrumb: '策略命中',
|
|
component: DataAlarm,
|
|
}, {
|
|
path: '/videoAbnormal',
|
|
key: 'videoAbnormal',
|
|
breadcrumb: '视频异常',
|
|
component: DataAlarm,
|
|
}]
|
|
}, {
|
|
path: '/useAlarm',
|
|
key: 'useAlarm',
|
|
breadcrumb: '应用告警',
|
|
// 不设置 component 则面包屑禁止跳转
|
|
childRoutes: [{
|
|
path: '/useAbnormal',
|
|
key: 'useAbnormal',
|
|
breadcrumb: '应用异常',
|
|
component: DataAlarm,
|
|
},]
|
|
}, {
|
|
path: '/deviceAlarm',
|
|
key: 'deviceAlarm',
|
|
breadcrumb: '设备告警',
|
|
// 不设置 component 则面包屑禁止跳转
|
|
childRoutes: [{
|
|
path: '/deviceAbnormal',
|
|
key: 'deviceAbnormal',
|
|
breadcrumb: '设备异常',
|
|
component: DataAlarm,
|
|
},]
|
|
}]
|
|
}
|
|
}];
|