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

182 lines
5.3 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,
2024-08-06 15:44:21 +08:00
redirect: { name: 'liftSystemIndex' },
2024-07-24 13:47:15 +08:00
children: [
{
path: 'index',
2024-08-06 15:44:21 +08:00
name: 'liftSystemIndex',
2024-07-24 13:47:15 +08:00
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-08-05 15:23:28 +08:00
{
path: 'ventilationSystem',
name: 'ventilationSystem',
meta: { title: '通风系统', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'ventilationSystemIndex' },
children: [
{
path: 'index',
name: 'ventilationSystemIndex',
component: () => import('/@/view/equipmentControl/ventilationSystem/index.vue'),
meta: {
title: '通风系统',
keepAlive: false,
// backApi: [],
},
},
],
},
{
path: 'airConditionControlSystem',
name: 'airConditionControlSystem',
2024-08-23 14:13:20 +08:00
meta: { title: '空调系统', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'airConditionControlSystemIndex' },
children: [
{
path: 'index',
name: 'airConditionControlSystemIndex',
component: () => import('/@/view/equipmentControl/airConditionControlSystem/index.vue'),
meta: {
2024-08-23 14:13:20 +08:00
title: '空调系统',
keepAlive: false,
// backApi: [],
},
},
],
},
2024-08-23 17:01:45 +08:00
// {
// path: 'waterSystem',
// name: 'waterSystem',
// meta: { title: '给排水系统', hideChildren: true, icon: 'shebeiqunkong' },
// component: Base,
// redirect: { name: 'waternControlSystemIndex' },
// children: [
// {
// path: 'index',
// name: 'waternControlSystemIndex',
// component: () => import('/@/view/equipmentControl/waterSystem/index.vue'),
// meta: {
// title: '给排水系统',
// keepAlive: false,
// // backApi: [],
// },
// },
// ],
// },
{
path: 'planToAdd',
name: 'planToAdd',
meta: { title: '计划添加', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'planToAddIndex' },
children: [
{
path: 'index',
name: 'planToAddIndex',
component: () => import('/@/view/equipmentControl/planToAdd/index.vue'),
meta: {
title: '计划添加',
keepAlive: false,
// backApi: [],
},
},
],
},
2024-08-28 14:48:35 +08:00
{
path: 'coldAndHeatSources',
name: 'coldAndHeatSources',
meta: { title: '冷热源', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'coldAndHeatSourcesIndex' },
children: [
{
path: 'index',
name: 'coldAndHeatSourcesIndex',
component: () => import('/@/view/equipmentControl/coldAndHeatSources/index.vue'),
meta: {
title: '冷热源',
keepAlive: false,
// backApi: [],
},
},
],
},
2024-06-06 14:37:33 +08:00
],
};
export default equipmentControl;