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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. access: 'activity',
  122. path: '/activity',
  123. routes: [
  124. {
  125. name: '活动门店',
  126. path: '/activity/list',
  127. component: './Activity/List',
  128. access: 'activityAddress',
  129. }
  130. ]
  131. },
  132. {
  133. name: '账号权限',
  134. path: '/permission',
  135. access: 'permission',
  136. routes: [
  137. {
  138. name: '权限管理',
  139. path: '/permission/list',
  140. component: './Permission/List',
  141. access: 'list',
  142. },
  143. {
  144. name: '角色管理',
  145. path: '/permission/role',
  146. component: './Permission/Role',
  147. access: 'role',
  148. },
  149. {
  150. name: '账号管理',
  151. path: '/permission/account',
  152. component: './Permission/Account',
  153. access: 'account',
  154. }
  155. ]
  156. },
  157. {
  158. name: '系统管理',
  159. path: '/setting',
  160. routes: [
  161. {
  162. name: '系统设置',
  163. path: '/setting/system',
  164. component: './Setting/System',
  165. access: 'other',
  166. },
  167. {
  168. name: '字典设置',
  169. path: '/setting/dictionary',
  170. component: './Setting/Dictionary',
  171. access: 'dictionaryList',
  172. },
  173. {
  174. name: '分词器',
  175. path: '/setting/other',
  176. component: './Setting/Other',
  177. access: 'otherTokenizer',
  178. }
  179. ]
  180. },
  181. {
  182. name: '反馈管理',
  183. path: '/feedback/list',
  184. component: './Feedback',
  185. access: 'feedback',
  186. },
  187. // {
  188. // name: '统计管理',
  189. // path: '/setting',
  190. // routes: [
  191. // {
  192. // name: '系统设置',
  193. // path: '/setting/system',
  194. // component: './Setting/System',
  195. // },
  196. // {
  197. // name: '字典设置',
  198. // path: '/setting/dictionary',
  199. // component: './Setting/Dictionary'
  200. // },
  201. // {
  202. // name: '分词器',
  203. // path: '/setting/other',
  204. // component: './Setting/Other',
  205. // }
  206. // ]
  207. // }
  208. ]