Files
SaaS-lib/hx-ai-intelligent/src/router/equipmentManage.ts

69 lines
1.9 KiB
TypeScript
Raw Normal View History

2024-05-27 17:12:49 +08:00
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const equipment = {
path: '/equipmentManage',
name: 'EquipmentManage',
2024-06-21 15:19:28 +08:00
meta: { title: '设备管理', icon: 'shebeiguanli', index: 1 },
2024-06-14 18:27:07 +08:00
redirect: { name: 'Ledger' },
2024-05-27 17:12:49 +08:00
children: [
{
path: 'ledger',
name: 'Ledger',
2024-06-21 15:19:28 +08:00
meta: { title: '设备台账', hideChildren: true, icon: 'shebeiguanli' },
2024-05-27 17:12:49 +08:00
component: Base,
redirect: { name: 'LedgerIndex' },
children: [
{
path: 'index',
name: 'LedgerIndex',
2024-06-17 13:48:27 +08:00
// component: () => import('/nerv-lib/saas/view/menuManage/index.vue'),
component: () => import('/@/view/equipmentManage/ledger/index.vue'),
2024-05-27 17:12:49 +08:00
meta: {
title: '设备台账',
2024-07-18 14:56:26 +08:00
keepAlive: false,
2024-06-04 19:22:11 +08:00
// backApi: [],
2024-05-27 17:12:49 +08:00
},
},
],
},
2024-05-29 10:18:12 +08:00
{
path: 'group',
name: 'Group',
2024-06-21 15:19:28 +08:00
meta: { title: '分组管理', hideChildren: true, icon: 'shebeiguanli' },
2024-05-29 10:18:12 +08:00
component: Base,
redirect: { name: 'GroupIndex' },
children: [
{
path: 'index',
name: 'GroupIndex',
component: () => import('/@/view/equipmentManage/group/index.vue'),
meta: {
title: '分组管理',
2024-07-18 14:56:26 +08:00
keepAlive: false,
2024-06-04 19:22:11 +08:00
// backApi: [],
2024-05-29 10:18:12 +08:00
},
},
],
},
2024-06-27 15:21:14 +08:00
// {
// path: 'energyMapping',
// name: 'EnergyMapping',
// meta: { title: '能耗映射', hideChildren: true, icon: 'shebeiguanli' },
// component: Base,
// redirect: { name: 'EnergyMappingIndex' },
// children: [
// {
// path: 'index',
// name: 'EnergyMappingIndex',
// component: () => import('/@/view/equipmentManage/energyMapping/index.vue'),
// meta: {
// title: '能耗映射',
2024-07-18 14:56:26 +08:00
// keepAlive: false,
2024-06-27 15:21:14 +08:00
// // backApi: [],
// },
// },
// ],
// },
2024-05-27 17:12:49 +08:00
],
};
export default equipment;