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

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