manage.ts 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import ManageLayout from '@/views/manage/index.vue'
  2. import RouterView from "@/layout/router-view.vue";
  3. // 后台系统
  4. export default {
  5. path: '/manage',
  6. name: '9d2974b6-5ae9-4e5d-b032-bc2f3f4b1aa4',
  7. component: ManageLayout,
  8. redirect: '/manage/home',
  9. children: [
  10. {
  11. path: 'home',
  12. name: '4786ca99-5235-4691-a0e8-078d0365046b',
  13. component: () => import('@/views/manage/home/index.vue'),
  14. meta: {
  15. title: '首页',
  16. icon: 'home'
  17. }
  18. },
  19. {
  20. path: 'type',
  21. name: 'b8cc1ce5-23b9-4661-b794-cdbc96693027',
  22. component: () => import('@/views/manage/type/index.vue'),
  23. meta: {
  24. title: '分类管理',
  25. icon: 'type'
  26. }
  27. },
  28. {
  29. path: 'index',
  30. name: 'af1e2997-e910-4b12-a5a9-69efcba0c1da',
  31. component: () => import('@/views/manage/index/index.vue'),
  32. meta: {
  33. title: '索引管理',
  34. icon: 'relation'
  35. }
  36. },
  37. {
  38. path: 'theme',
  39. name: '13d9ce7a-7f9e-4a3c-941a-376ff68d254c',
  40. component: () => import('@/views/manage/theme/index.vue'),
  41. meta: {
  42. title: '主题设置',
  43. icon: 'clothing'
  44. }
  45. },
  46. {
  47. path: 'system',
  48. name: '1c1a19fd-ac7b-42ce-b4eb-0ac978a5dd3d',
  49. component: RouterView,
  50. meta: {
  51. title: '系统管理',
  52. icon: 'config'
  53. },
  54. children: [
  55. {
  56. path: 'user',
  57. name: '41baace0-ab41-4495-bff4-21ed3b3b46a1',
  58. component: () => import('@/views/manage/system/user/index.vue'),
  59. meta: {
  60. title: '用户管理',
  61. }
  62. },
  63. {
  64. path: 'role',
  65. name: 'fd4b2300-ba92-4c80-8335-648c48e6b46a',
  66. component: () => import('@/views/manage/system/role/index.vue'),
  67. meta: {
  68. title: '角色管理',
  69. }
  70. },
  71. {
  72. path: 'path',
  73. name: 'fac64bd9-23ac-4e8f-a3e5-7e479a32e00d',
  74. component: () => import('@/views/manage/system/log/index.vue'),
  75. meta: {
  76. title: '日志管理',
  77. }
  78. },
  79. ]
  80. }
  81. ]
  82. }