EnergyRouter.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. import Layout from '@/layout'
  2. export default {
  3. path: '/smart-energy-management',
  4. redirect: '/smart-energy-management/charging-profiles',
  5. component: Layout,
  6. meta: {
  7. title: 'Smart Energy Management',
  8. icon: 'charging-profiles',
  9. //activeIcon: 'charging-profiles-active',
  10. affix: true,
  11. },
  12. children: [
  13. {
  14. path: '/smart-energy-management/charging-profiles',
  15. component: () => import('@/views/charging/ChargingProfiles'),
  16. name: 'charging-profiles',
  17. meta: {
  18. title: 'Charging Profiles',
  19. icon: 'sidebar-submenu-item',
  20. activeIcon: 'sidebar-submenu-item-active',
  21. breadcrumb: true
  22. }
  23. },
  24. {
  25. path: '/smart-energy-management/config-stations',
  26. component: () => import('@/views/charging/ConfigureStations'),
  27. name: 'config-stations',
  28. meta: {
  29. title: 'Configure Stations',
  30. icon: 'sidebar-submenu-item',
  31. activeIcon: 'sidebar-submenu-item-active',
  32. breadcrumb: true
  33. }
  34. },
  35. {
  36. path: '/smart-energy-management/site-load-balancing',
  37. component: () => import('@/views/charging/LoadBalance'),
  38. name: 'view-charging-profile',
  39. meta: {
  40. title: 'Site Load Balancing',
  41. breadcrumb: true,
  42. icon: 'sidebar-submenu-item',
  43. activeIcon: 'sidebar-submenu-item-active'
  44. }
  45. },
  46. {
  47. path: '/smart-energy-management/charging-profiles/add',
  48. component: () => import('@/views/charging/AddProfile'),
  49. name: 'add-charging-profile',
  50. meta: {
  51. title: 'Add Charging Profile',
  52. activeMenu: '/smart-energy-management/charging-profiles'
  53. },
  54. hidden: true
  55. },
  56. {
  57. path: '/smart-energy-management/charging-profiles/edit',
  58. component: () => import('@/views/charging/EditProfile'),
  59. name: 'edit-charging-profile',
  60. meta: {
  61. title: 'Edit Charging Profile',
  62. activeMenu: '/smart-energy-management/charging-profiles'
  63. },
  64. hidden: true
  65. },
  66. {
  67. path: '/smart-energy-management/charging-profiles/view/:id',
  68. component: () => import('@/views/charging/EditProfile'),
  69. name: 'view-charging-profile',
  70. meta: {
  71. title: 'View Charging Profile',
  72. activeMenu: '/smart-energy-management/config-stations',
  73. parent: {
  74. title: 'Configure Stations',
  75. path: "/smart-energy-management/config-stations"
  76. }
  77. },
  78. hidden: true
  79. },
  80. {
  81. path: '/smart-energy-management/site-load-balancing/:id',
  82. component: () => import('@/views/charging/LoadBalanceView'),
  83. name: 'view-charging-profile',
  84. meta: {
  85. title: 'Detail',
  86. activeMenu: '/smart-energy-management/site-load-balancing',
  87. parent: {
  88. title: 'Site Load Balancing',
  89. path: "/smart-energy-management/site-load-balancing"
  90. }
  91. },
  92. hidden: true
  93. }
  94. ]
  95. }