|
|
@@ -1,29 +1,29 @@
|
|
|
import Layout from '@/layout'
|
|
|
|
|
|
export default {
|
|
|
- path: '/charging-profiles',
|
|
|
- redirect: '/charging-profiles/index',
|
|
|
+ path: '/smart-energy-management',
|
|
|
+ redirect: '/smart-energy-management/charging-profiles',
|
|
|
component: Layout,
|
|
|
meta: {
|
|
|
- title: 'Charging Profiles',
|
|
|
+ title: 'Smart Energy Management',
|
|
|
icon: 'charging-profiles',
|
|
|
//activeIcon: 'charging-profiles-active',
|
|
|
affix: true,
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: '/charging-profiles/index',
|
|
|
+ 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: false
|
|
|
+ breadcrumb: true
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- path: '/charging-profiles/config-stations',
|
|
|
+ path: '/smart-energy-management/config-stations',
|
|
|
component: () => import('@/views/charging/ConfigureStations'),
|
|
|
name: 'config-stations',
|
|
|
meta: {
|
|
|
@@ -31,49 +31,50 @@ export default {
|
|
|
icon: 'sidebar-submenu-item',
|
|
|
activeIcon: 'sidebar-submenu-item-active',
|
|
|
breadcrumb: true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/smart-energy-management/site-load-balancing',
|
|
|
+ component: () => import('@/views/charging/ConfigureStations'),
|
|
|
+ name: 'site-load-balancing',
|
|
|
+ meta: {
|
|
|
+ title: 'Site Load Balancing',
|
|
|
+ icon: 'sidebar-submenu-item',
|
|
|
+ activeIcon: 'sidebar-submenu-item-active',
|
|
|
+ breadcrumb: true
|
|
|
},
|
|
|
- /*children: [{
|
|
|
- path: '/charging-profiles/config-stations/view/:id',
|
|
|
- component: () => import('@/views/charging/EditProfile'),
|
|
|
- name: 'view-charging-profile',
|
|
|
- meta: {
|
|
|
- title: 'View Charging Profile',
|
|
|
- activeMenu: '/charging-profiles/config-stations',
|
|
|
- breadcrumb: false
|
|
|
- },
|
|
|
- hidden: true
|
|
|
- }]*/
|
|
|
+ hidden: true
|
|
|
},
|
|
|
{
|
|
|
- path: '/charging-profiles/add',
|
|
|
+ path: '/smart-energy-management/charging-profiles/add',
|
|
|
component: () => import('@/views/charging/AddProfile'),
|
|
|
name: 'add-charging-profile',
|
|
|
meta: {
|
|
|
title: 'Add Charging Profile',
|
|
|
- activeMenu: '/charging-profiles/index'
|
|
|
+ activeMenu: '/smart-energy-management/charging-profiles'
|
|
|
},
|
|
|
hidden: true
|
|
|
},
|
|
|
{
|
|
|
- path: '/charging-profiles/edit',
|
|
|
+ path: '/smart-energy-management/charging-profiles/edit',
|
|
|
component: () => import('@/views/charging/EditProfile'),
|
|
|
name: 'edit-charging-profile',
|
|
|
meta: {
|
|
|
title: 'Edit Charging Profile',
|
|
|
- activeMenu: '/charging-profiles/index'
|
|
|
+ activeMenu: '/smart-energy-management/charging-profiles'
|
|
|
},
|
|
|
hidden: true
|
|
|
},
|
|
|
{
|
|
|
- path: '/charging-profiles/view/:id',
|
|
|
+ path: '/smart-energy-management/charging-profiles/view/:id',
|
|
|
component: () => import('@/views/charging/EditProfile'),
|
|
|
name: 'view-charging-profile',
|
|
|
meta: {
|
|
|
title: 'View Charging Profile',
|
|
|
- activeMenu: '/charging-profiles/config-stations',
|
|
|
+ activeMenu: '/smart-energy-management/config-stations',
|
|
|
parent: {
|
|
|
title: 'Configure Stations',
|
|
|
- path: "/charging-profiles/config-stations"
|
|
|
+ path: "/smart-energy-management/config-stations"
|
|
|
}
|
|
|
},
|
|
|
hidden: true
|