routes.ts 909 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. export default [
  2. {
  3. name: 'list.table-list',
  4. path: '/order',
  5. component: './Order/Billing',
  6. access: 'billing',
  7. },
  8. {
  9. path: '/jurisdiction',
  10. component: './admin/user/jurisdiction',
  11. access: 'jurisdiction',
  12. },
  13. {
  14. path: '/roleManage',
  15. component: './admin/user/roleManage',
  16. access: 'roleManage',
  17. },
  18. {
  19. path: '/administrators',
  20. component: './admin/user/administrators',
  21. access: 'administrators',
  22. },
  23. {
  24. path: '/welcome',
  25. name: 'welcome',
  26. component: './Welcome',
  27. access: 'welcome',
  28. },
  29. {
  30. path: '/',
  31. redirect: '/welcome',
  32. },
  33. {
  34. path: '/user',
  35. layout: false,
  36. routes: [
  37. {
  38. path: '/user',
  39. routes: [
  40. {
  41. name: 'login',
  42. path: '/user/login',
  43. component: './user/login',
  44. },
  45. ],
  46. },
  47. ],
  48. },
  49. {
  50. component: './404',
  51. },
  52. ];