ChargingProfile.js 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. import Layout from '@/layout'
  2. export default {
  3. path: '/charging-profiles',
  4. redirect: '/charging-profiles/index',
  5. component: Layout,
  6. meta: {
  7. title: 'Charging Profiles',
  8. icon: 'charging-profiles',
  9. //activeIcon: 'charging-profiles-active',
  10. affix: true,
  11. },
  12. children: [
  13. {
  14. path: '/charging-profiles/index',
  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: false
  22. }
  23. },
  24. {
  25. path: '/charging-profiles/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. /*children: [{
  35. path: '/charging-profiles/config-stations/view/:id',
  36. component: () => import('@/views/charging/EditProfile'),
  37. name: 'view-charging-profile',
  38. meta: {
  39. title: 'View Charging Profile',
  40. activeMenu: '/charging-profiles/config-stations',
  41. breadcrumb: false
  42. },
  43. hidden: true
  44. }]*/
  45. },
  46. {
  47. path: '/charging-profiles/add',
  48. component: () => import('@/views/charging/AddProfile'),
  49. name: 'add-charging-profile',
  50. meta: {
  51. title: 'Add Charging Profile',
  52. activeMenu: '/charging-profiles/index'
  53. },
  54. hidden: true
  55. },
  56. {
  57. path: '/charging-profiles/edit',
  58. component: () => import('@/views/charging/EditProfile'),
  59. name: 'edit-charging-profile',
  60. meta: {
  61. title: 'Edit Charging Profile',
  62. activeMenu: '/charging-profiles/index'
  63. },
  64. hidden: true
  65. },
  66. {
  67. path: '/charging-profiles/view/:id',
  68. component: () => import('@/views/charging/EditProfile'),
  69. name: 'view-charging-profile',
  70. meta: {
  71. title: 'View Charging Profile',
  72. activeMenu: '/charging-profiles/config-stations',
  73. parent: {
  74. title: 'Configure Stations',
  75. path: "/charging-profiles/config-stations"
  76. }
  77. },
  78. hidden: true
  79. }
  80. ]
  81. }