You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

routes.ts 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. export default [
  2. { path: '/login', component: './Login', layout: false, access: 'login' },
  3. {
  4. path: '/',
  5. redirect: '/main/company/list',
  6. },
  7. {
  8. path: '/login',
  9. component: './Login',
  10. layout: false
  11. },
  12. // 总控路由
  13. {
  14. name: '基础管理',
  15. path: '/main',
  16. routes: [
  17. {
  18. name: '企业管理',
  19. routes: [
  20. {
  21. name: '企业列表',
  22. path: '/main/company/list',
  23. component: './Main/Company/List',
  24. },
  25. {
  26. name: 'VIP列表',
  27. path: '/main/company/vip',
  28. component: './Main/Company/Vip',
  29. },
  30. {
  31. name: '部门管理',
  32. path: '/main/company/department',
  33. component: './Main/Company/Department',
  34. },
  35. {
  36. name: '职位管理',
  37. path: '/main/company/post',
  38. component: './Main/Company/Post',
  39. }
  40. ]
  41. },
  42. {
  43. name: '求职者管理',
  44. routes: [
  45. {
  46. name: '简历列表',
  47. path: '/main/jobseeker/list',
  48. component: './Main/Jobseeker/List',
  49. },
  50. {
  51. name: '求职者账号列表',
  52. path: '/main/jobseeker/account',
  53. component: './Main/Jobseeker/Account',
  54. }
  55. ]
  56. },
  57. {
  58. name: '招聘会管理',
  59. routes: [
  60. {
  61. name: '招聘会列表',
  62. path: '/main/fair/list',
  63. component: './Main/Fair/List',
  64. },
  65. {
  66. name: '参与企业列表',
  67. path: '/main/fair/company',
  68. component: './Main/Fair/Company',
  69. }
  70. ]
  71. },
  72. {
  73. name: '新闻资讯',
  74. routes: [
  75. {
  76. name: '栏目/频道',
  77. path: '/main/information/section',
  78. component: './Main/Information/Section',
  79. },
  80. {
  81. name: '文章列表',
  82. path: '/main/information/article',
  83. component: './Main/Information/Article',
  84. }
  85. ]
  86. },
  87. {
  88. name: '广告/活动管理',
  89. routes: [
  90. {
  91. name: '广告/活动列表',
  92. path: '/main/advertisement/list',
  93. component: './Main/Advertisement/List',
  94. },
  95. {
  96. name: '广告/活动投放',
  97. path: '/main/advertisement/putin',
  98. component: './Main/Advertisement/Putin',
  99. }
  100. ]
  101. } ,
  102. {
  103. name: '反馈管理',
  104. path: '/main/feedback/list',
  105. component: './Main/Feedback',
  106. },
  107. ]
  108. },
  109. {
  110. name: '账号权限',
  111. path: '/permission',
  112. routes: [
  113. {
  114. name: '权限管理',
  115. path: '/permission/list',
  116. component: './Permission/List',
  117. },
  118. {
  119. name: '角色管理',
  120. path: '/permission/role',
  121. component: './Permission/Role'
  122. },
  123. {
  124. name: '账号管理',
  125. path: '/permission/account',
  126. component: './Permission/Account',
  127. }
  128. ]
  129. },
  130. {
  131. name: '系统管理',
  132. path: '/setting',
  133. routes: [
  134. {
  135. name: '系统设置',
  136. path: '/setting/system',
  137. component: './Setting/System',
  138. },
  139. {
  140. name: '字典设置',
  141. path: '/setting/dictionary',
  142. component: './Setting/Dictionary'
  143. },
  144. {
  145. name: '分词器',
  146. path: '/setting/other',
  147. component: './Setting/Other',
  148. }
  149. ]
  150. },
  151. {
  152. name: '统计管理',
  153. path: '/setting',
  154. routes: [
  155. {
  156. name: '系统设置',
  157. path: '/setting/system',
  158. component: './Setting/System',
  159. },
  160. {
  161. name: '字典设置',
  162. path: '/setting/dictionary',
  163. component: './Setting/Dictionary'
  164. },
  165. {
  166. name: '分词器',
  167. path: '/setting/other',
  168. component: './Setting/Other',
  169. }
  170. ]
  171. }
  172. ]