PointsRouter.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import Layout from '@/layout'
  2. export default {
  3. path: '/points-management',
  4. component: Layout,
  5. redirect: 'noRedirect',
  6. meta: {
  7. title: 'Points Management',
  8. icon: 'financial'
  9. },
  10. alwaysShow: true,
  11. children: [
  12. {
  13. path: '/points-management/setting',
  14. component: () => import('@/views/points/index'),
  15. name: 'dynamic-points',
  16. meta: {
  17. title: 'Dynamic Site-Points Setting',
  18. icon: 'sidebar-submenu-item',
  19. activeIcon: 'sidebar-submenu-item-active'
  20. }
  21. },
  22. {
  23. path: '/points-management/create',
  24. component: () => import('@/views/points/detail'),
  25. name: 'dynamic-points',
  26. meta: {
  27. title: 'Create',
  28. icon: 'sidebar-submenu-item',
  29. activeIcon: 'sidebar-submenu-item-active',
  30. activeMenu: '/points-management/setting',
  31. parent: {
  32. title: 'Dynamic Site-Points Setting',
  33. path: "/points-management/setting"
  34. }
  35. }
  36. },
  37. {
  38. path: '/points-management/update/:id',
  39. component: () => import('@/views/points/detail'),
  40. name: 'dynamic-points',
  41. meta: {
  42. title: 'Update',
  43. icon: 'sidebar-submenu-item',
  44. activeIcon: 'sidebar-submenu-item-active',
  45. activeMenu: '/points-management/setting',
  46. parent: {
  47. title: 'Dynamic Site-Points Setting',
  48. path: "/points-management/setting"
  49. }
  50. }
  51. }
  52. ],
  53. }