EnergyRouter.js 3.1 KB

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