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.

87 lines
2.4 KiB

const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const equipment = {
path: '/monitor',
name: 'Monitor',
meta: { title: '监控中心', icon: 'jiankongzhongxin', index: 1 },
redirect: { name: 'EnvironmentMonitor' },
children: [
{
path: 'environmentMonitor',
name: 'EnvironmentMonitor',
meta: { title: '环境监测', hideChildren: true, icon: 'huanjingjiance' },
component: Base,
redirect: { name: 'EnvironmentMonitorIndex' },
children: [
{
path: 'index',
name: 'EnvironmentMonitorIndex',
component: () => import('/@/view/monitor/environmentMonitor/index.vue'),
meta: {
title: '环境监测',
keepAlive: false,
// backApi: [],
},
},
],
},
{
path: 'deviceMonitor',
name: 'DeviceMonitor',
meta: { title: '设备监测', hideChildren: true, icon: 'huanjingjiance' },
component: Base,
redirect: { name: 'DeviceMonitorIndex' },
children: [
{
path: 'index',
name: 'DeviceMonitorIndex',
component: () => import('/@/view/monitor/deviceMonitor/index.vue'),
meta: {
title: '设备监测',
keepAlive: false,
// backApi: [],
},
},
],
},
{
path: 'energyMonitor',
name: 'EnergyMonitor',
meta: { title: '能耗监测', hideChildren: true, icon: 'huanjingjiance' },
component: Base,
redirect: { name: 'EnergyMonitorIndex' },
children: [
{
path: 'index',
name: 'EnergyMonitorIndex',
component: () => import('/@/view/monitor/energyMonitor/index.vue'),
meta: {
title: '能耗监测',
keepAlive: false,
// backApi: [],
},
},
],
},
// {
// path: 'group',
// name: 'Group',
// meta: { title: '分组管理', hideChildren: true, icon: 'shebeiguanli' },
// component: Base,
// redirect: { name: 'GroupIndex' },
// children: [
// {
// path: 'index',
// name: 'GroupIndex',
// component: () => import('/@/view/monitor/group/index.vue'),
// meta: {
// title: '分组管理',
// keepAlive: false,
// // backApi: [],
// },
// },
// ],
// },
],
};
export default equipment;