Browse Source

fix: 照明调整文件路径

main
lushihan 5 months ago
parent
commit
e7e2d52dff
  1. 29
      hx-ai-intelligent/src/router/equipmentControl.ts
  2. 20
      hx-ai-intelligent/src/router/organizationManage.ts
  3. 0
      hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.vue

29
hx-ai-intelligent/src/router/equipmentControl.ts

@ -0,0 +1,29 @@
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const equipmentControl = {
path: '/equipmentControl',
name: 'EquipmentControl',
meta: { title: '设备群控', icon: 'dicizhishou', index: 4 },
redirect: { name: 'homeIndex' },
children: [
{
path: 'lightManage',
name: 'LightManage',
meta: { title: '智能照明', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'lightManageIndex' },
children: [
{
path: 'index',
name: 'lightManageIndex',
component: () => import('/@/view/equipmentControl/lightingManage/index.vue'),
meta: {
title: '部门/权限',
keepAlive: true,
// backApi: [],
},
},
],
},
],
};
export default equipmentControl;

20
hx-ai-intelligent/src/router/organizationManage.ts

@ -62,25 +62,7 @@ const organizationManage = {
}, },
], ],
}, },
{
path: 'lightManage',
name: 'LightManage',
meta: { title: '智能照明', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'lightManageIndex' },
children: [
{
path: 'index',
name: 'lightManageIndex',
component: () => import('/@/view/organizationManage/lightingManage/index.vue'),
meta: {
title: '部门/权限',
keepAlive: true,
// backApi: [],
},
},
],
},
], ],
}; };
export default organizationManage; export default organizationManage;

0
hx-ai-intelligent/src/view/organizationManage/lightingManage/index.vue → hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.vue

Loading…
Cancel
Save