import Layout from '@/layout' export default { path: '/smart-energy-management', redirect: 'noRedirect', component: Layout, alwaysShow: true, meta: { title: 'Smart Energy Management', icon: 'charging-profiles', //activeIcon: 'charging-profiles-active', affix: true, }, children: [ { path: '/smart-energy-management/charging-profiles', component: () => import('@/views/charging/ChargingProfiles'), name: 'charging-profiles', meta: { title: 'Charging Profiles', icon: 'sidebar-submenu-item', activeIcon: 'sidebar-submenu-item-active', breadcrumb: true } }, { path: '/smart-energy-management/config-stations', component: () => import('@/views/charging/ConfigureStations'), name: 'config-stations', meta: { title: 'Configure Stations', icon: 'sidebar-submenu-item', activeIcon: 'sidebar-submenu-item-active', breadcrumb: true } }, { path: '/smart-energy-management/site-load-balancing', component: () => import('@/views/charging/LoadBalance'), name: 'view-charging-profile', meta: { title: 'Site Load Balancing', breadcrumb: true, icon: 'sidebar-submenu-item', activeIcon: 'sidebar-submenu-item-active' } }, { path: '/smart-energy-management/charging-profiles/add', component: () => import('@/views/charging/AddProfile'), name: 'add-charging-profile', meta: { title: 'Add Charging Profile', activeMenu: '/smart-energy-management/charging-profiles', parent: { title: "Charging Profiles", path: '/smart-energy-management/charging-profiles' } }, hidden: true }, { path: '/smart-energy-management/charging-profiles/edit', component: () => import('@/views/charging/EditProfile'), name: 'edit-charging-profile', meta: { title: 'Edit Charging Profile', activeMenu: '/smart-energy-management/charging-profiles', parent: { title: "Charging Profiles", path: '/smart-energy-management/charging-profiles' } }, hidden: true }, { path: '/smart-energy-management/charging-profiles/view/:id', component: () => import('@/views/charging/EditProfile'), name: 'view-charging-profile', meta: { title: 'View Charging Profile', activeMenu: '/smart-energy-management/config-stations', parent: { title: 'Configure Stations', path: "/smart-energy-management/config-stations" } }, hidden: true }, { path: '/smart-energy-management/site-load-balancing/:id', component: () => import('@/views/charging/LoadBalanceView'), name: 'view-charging-profile', meta: { title: 'Detail', activeMenu: '/smart-energy-management/site-load-balancing', parent: { title: 'Site Load Balancing', path: "/smart-energy-management/site-load-balancing" } }, hidden: true } ] }