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

87 lines
2.5 KiB
TypeScript
Raw Normal View History

2024-06-06 14:37:33 +08:00
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const equipmentControl = {
path: '/equipmentControl',
name: 'EquipmentControl',
2024-06-21 15:19:28 +08:00
meta: { title: '设备群控', icon: 'shebeiqunkong', index: 4 },
2024-06-14 18:27:07 +08:00
redirect: { name: 'LightManage' },
2024-06-06 14:37:33 +08:00
children: [
{
path: 'lightManage',
name: 'LightManage',
2024-06-21 15:19:28 +08:00
meta: { title: '智能照明', hideChildren: true, icon: 'shebeiqunkong' },
2024-06-06 14:37:33 +08:00
component: Base,
redirect: { name: 'lightManageIndex' },
children: [
{
path: 'index',
name: 'lightManageIndex',
2024-06-06 16:49:24 +08:00
component: () => import('/@/view/equipmentControl/lightingManage/indexs.vue'),
2024-06-06 14:37:33 +08:00
meta: {
2024-06-06 16:49:24 +08:00
title: '智能照明',
2024-07-18 14:56:26 +08:00
keepAlive: false,
2024-06-06 14:37:33 +08:00
// backApi: [],
},
},
],
},
2024-07-24 13:47:15 +08:00
{
path: 'liftSystem',
name: 'liftSystem',
meta: { title: '电梯系统', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'liftSystem' },
children: [
{
path: 'index',
name: 'liftSystem',
component: () => import('/@/view/equipmentControl/liftSystem/index.vue'),
meta: {
title: '电梯系统',
keepAlive: false,
// backApi: [],
},
},
],
},
{
path: 'electricDoor',
name: 'electricDoor',
meta: { title: '电动门系统', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'electricDoorIndex' },
children: [
{
path: 'index',
name: 'electricDoorIndex',
component: () => import('/@/view/equipmentControl/electricDoor/index.vue'),
meta: {
title: '电动门系统',
keepAlive: false,
// backApi: [],
},
},
],
},
2024-07-30 14:37:39 +08:00
{
path: 'airConditioningSystem',
name: 'airConditioningSystem',
2024-07-30 15:39:02 +08:00
meta: { title: '新风系统', hideChildren: true, icon: 'shebeiqunkong' },
2024-07-30 14:37:39 +08:00
component: Base,
redirect: { name: 'airConditioningSystemIndex' },
children: [
{
path: 'index',
name: 'airConditioningSystemIndex',
component: () => import('/@/view/equipmentControl/airConditioningSystem/index.vue'),
meta: {
2024-07-30 15:39:02 +08:00
title: '新风系统',
2024-07-30 14:37:39 +08:00
keepAlive: false,
// backApi: [],
},
},
],
},
2024-06-06 14:37:33 +08:00
],
};
export default equipmentControl;