routes.ts 1016 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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: '/mechanism',
  25. component: './admin/organization/mechanism',
  26. access: 'mechanism',
  27. },
  28. {
  29. path: '/welcome',
  30. name: 'welcome',
  31. component: './Welcome',
  32. access: 'welcome',
  33. },
  34. {
  35. path: '/',
  36. redirect: '/welcome',
  37. },
  38. {
  39. path: '/user',
  40. layout: false,
  41. routes: [
  42. {
  43. path: '/user',
  44. routes: [
  45. {
  46. name: 'login',
  47. path: '/user/login',
  48. component: './user/login',
  49. },
  50. ],
  51. },
  52. ],
  53. },
  54. {
  55. component: './404',
  56. },
  57. ];