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.2KB

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