personCenter.js 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. // 个人中心路由
  2. import Layout from '@/layout'
  3. const personCenter = [
  4. {
  5. path: '/recruit/personal/personalCenter',
  6. component: Layout,
  7. name: 'personalCenter',
  8. meta: {
  9. title: '个人中心'
  10. },
  11. children: [
  12. {
  13. path: '/recruit/personal/personalCenter',
  14. redirect: '/recruit/personal/personalCenter/jobFeedback',
  15. component: () => import('@/views/recruit/personal/PersonalCenter/index'),
  16. children: [
  17. // 求职反馈
  18. {
  19. path: '/recruit/personal/personalCenter/jobFeedback',
  20. name: 'Job Feedback',
  21. component: () => import('@/views/recruit/personal/PersonalCenter/jobFeedback/index.vue'),
  22. meta: {
  23. title: '求职反馈',
  24. enName: 'Job Feedback',
  25. icon: 'mdi-account-sync-outline'
  26. }
  27. },
  28. // 简历管理
  29. {
  30. path: '/recruit/personal/personalCenter/resume',
  31. redirect: '/recruit/personal/personalCenter/resume/online',
  32. name: 'Resume Management',
  33. meta: {
  34. title: '简历管理',
  35. enName: 'Resume Management',
  36. icon: 'mdi-list-box-outline'
  37. },
  38. children: [
  39. {
  40. path: '/recruit/personal/personalCenter/resume/online',
  41. component: () => import('@/views/recruit/personal/PersonalCenter/resume/online/index.vue'),
  42. meta: {
  43. enName: 'Online Resume',
  44. title: '在线简历'
  45. }
  46. },
  47. {
  48. path: '/recruit/personal/personalCenter/resume/attachment',
  49. component: () => import('@/views/recruit/personal/PersonalCenter/resume/attachment/index.vue'),
  50. meta: {
  51. enName: 'Attachment Resume',
  52. title: '附件简历'
  53. }
  54. },
  55. {
  56. path: '/recruit/personal/personalCenter/resume/template',
  57. component: () => import('@/views/recruit/personal/PersonalCenter/resume/template/index.vue'),
  58. meta: {
  59. enName: 'Resume Template',
  60. title: '简历模板'
  61. }
  62. },
  63. {
  64. path: '/recruit/personal/personalCenter/resume/blockEnt',
  65. component: () => import('@/views/recruit/personal/PersonalCenter/resume/blockEnt/index.vue'),
  66. meta: {
  67. enName: 'Block Enterprises',
  68. title: '屏蔽企业'
  69. }
  70. }
  71. ]
  72. },
  73. // 赏金奖励
  74. {
  75. path: '/recruit/personal/personalCenter/bountyRewards',
  76. name: 'bountyRewards',
  77. component: () => import('@/views/recruit/personal/PersonalCenter/bountyRewards/index.vue'),
  78. meta: {
  79. title: '赏金奖励',
  80. enName: 'Bounty Rewards',
  81. icon: 'mdi-octagram-outline'
  82. }
  83. },
  84. // 我的钱包
  85. {
  86. path: '/recruit/personal/personalCenter/wallet',
  87. name: 'My Wallet',
  88. meta: {
  89. title: '我的钱包',
  90. enName: 'My Wallet',
  91. icon: 'mdi-wallet-outline'
  92. },
  93. component: () => import('@/views/recruit/personal/PersonalCenter/wallet/index.vue'),
  94. },
  95. // 交易订单
  96. {
  97. path: '/recruit/personal/personalCenter/tradeOrder',
  98. name: 'Trading order',
  99. component: () => import('@/views/recruit/personal/PersonalCenter/tradeOrder/index.vue'),
  100. meta: {
  101. title: '交易订单',
  102. enName: 'Trading order',
  103. icon: 'mdi-order-bool-ascending-variant'
  104. }
  105. },
  106. // 邀请记录
  107. {
  108. path: '/recruit/personal/personalCenter/inviteRecord',
  109. name: 'Invite Record',
  110. component: () => import('@/views/recruit/personal/PersonalCenter/inviteRecord/index.vue'),
  111. meta: {
  112. title: '邀请记录',
  113. enName: 'Invite Record',
  114. icon: 'mdi-format-list-numbered-rtl'
  115. }
  116. },
  117. // 会员福利
  118. {
  119. path: '/recruit/personal/personalCenter/memberBenefits',
  120. redirect: '/recruit/personal/personalCenter/memberBenefits/taskCenter',
  121. name: 'Member Benefits',
  122. meta: {
  123. title: '会员福利',
  124. enName: 'Member Benefits',
  125. icon: 'mdi-gamepad-circle-outline'
  126. },
  127. children: [
  128. {
  129. path: '/recruit/personal/personalCenter/memberBenefits/taskCenter',
  130. component: () => import('@/views/recruit/personal/PersonalCenter/memberBenefits/taskCenter/index.vue'),
  131. meta: {
  132. enName: 'Task Center',
  133. title: '任务中心'
  134. }
  135. },
  136. {
  137. path: '/recruit/personal/personalCenter/memberBenefits/membershipPackage',
  138. component: () => import('@/views/recruit/personal/PersonalCenter/memberBenefits/membershipPackage/index.vue'),
  139. meta: {
  140. enName: 'Membership Package',
  141. title: '会员套餐'
  142. }
  143. }
  144. ]
  145. },
  146. // 账号设置
  147. {
  148. path: '/recruit/personal/personalCenter/accountSettings',
  149. redirect: '/recruit/personal/personalCenter/accountSettings/editPassword',
  150. name: 'Account Settings',
  151. meta: {
  152. title: '账号设置',
  153. enName: 'Account Settings',
  154. icon: 'mdi-cog-outline'
  155. },
  156. children: [
  157. {
  158. path: '/recruit/personal/personalCenter/accountSettings/editPassword',
  159. component: () => import('@/views/recruit/personal/PersonalCenter/accountSettings/editPassword'),
  160. meta: {
  161. title: '修改密码',
  162. enName: 'Edit Password'
  163. }
  164. },
  165. ]
  166. },
  167. // 收货地址
  168. {
  169. path: '/recruit/personal/personalCenter/shippingAddress',
  170. name: 'Shipping Address',
  171. component: () => import('@/views/recruit/personal/PersonalCenter/shippingAddress/index.vue'),
  172. meta: {
  173. title: '收货地址',
  174. enName: 'Shipping Address',
  175. icon: 'mdi-map-marker-outline'
  176. }
  177. },
  178. // 学生专区
  179. {
  180. path: '/recruit/personal/personalCenter/student',
  181. redirect: '/recruit/personal/personalCenter/student/information',
  182. name: 'Student',
  183. permissionName: 'studentInformation',
  184. meta: {
  185. title: '学生专区',
  186. enName: 'Student Information',
  187. icon: 'mdi-account-school-outline'
  188. },
  189. children: [
  190. {
  191. path: '/recruit/personal/personalCenter/student/information',
  192. component: () => import('@/views/recruit/personal/PersonalCenter/student/information/index.vue'),
  193. meta: {
  194. title: '学生信息',
  195. enName: 'Student Information'
  196. }
  197. },
  198. {
  199. path: '/recruit/personal/personalCenter/student/internshipCompany',
  200. component: () => import('@/views/recruit/personal/PersonalCenter/student/intershipCompany/index.vue'),
  201. meta: {
  202. title: '实习企业',
  203. enName: 'Internship Company'
  204. }
  205. },
  206. {
  207. path: '/recruit/personal/personalCenter/student/internshipReport',
  208. component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipReport/index.vue'),
  209. meta: {
  210. title: '实习报告',
  211. enName: 'Internship Report'
  212. }
  213. },
  214. {
  215. path: '/recruit/personal/personalCenter/student/internshipCertificate',
  216. component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipCertificate/index.vue'),
  217. meta: {
  218. title: '实习证书',
  219. enName: 'Internship Certificate'
  220. }
  221. },
  222. {
  223. path: '/recruit/personal/personalCenter/student/enterpriseRecommendationLetter',
  224. component: () => import('@/views/recruit/personal/PersonalCenter/student/EnterpriseRecommendationLetter/index.vue'),
  225. meta: {
  226. title: '企业推荐信',
  227. enName: 'Recommendation Letter'
  228. }
  229. },
  230. {
  231. path: '/recruit/personal/personalCenter/student/internshipButler',
  232. component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipButler/index.vue'),
  233. meta: {
  234. title: '实习管家',
  235. enName: 'Internship Butler'
  236. }
  237. }
  238. ]
  239. }
  240. ]
  241. }
  242. ]
  243. }
  244. ]
  245. export default personCenter