common.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. // 公共路由(任何身份都可以访问的路由 如:商城)
  2. import headhunting from './components/headhunting'
  3. const common = [
  4. ...headhunting,
  5. {
  6. path: '', // 门墩项目列表/项目入口页
  7. redirect: '/recruitHome',
  8. children: [
  9. { path: '/', redirect: '/recruitHome' },
  10. {
  11. path: '/entrances',
  12. component: () => import('@/views/entrances/index'),
  13. meta: {
  14. title: '门墩儿应用中心'
  15. }
  16. }
  17. ]
  18. },
  19. {
  20. path: '/shareJob',
  21. name: 'shareJob',
  22. meta: {
  23. title: '分享职位'
  24. },
  25. component: () => import('@/views/recruit/personal/shareJob/index.vue')
  26. },
  27. // 邀请页
  28. {
  29. path: '/invite',
  30. name: 'invite',
  31. meta: {
  32. title: '成员邀请'
  33. },
  34. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/inviteConfirm.vue')
  35. },
  36. // 邀请页
  37. {
  38. path: '/enterpriseInvite',
  39. name: 'enterpriseInvite',
  40. meta: {
  41. title: '分支机构邀请'
  42. },
  43. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/inviteConfirmEnt.vue')
  44. },
  45. {
  46. path: '/recruit/entRegister',
  47. // component: Layout,
  48. name: 'enterpriseRegister',
  49. children: [
  50. {
  51. path: '/recruit/entRegister',
  52. component: () => import('@/views/recruit/entRegister/register.vue'),
  53. meta: {
  54. title: '注册新企业'
  55. },
  56. },
  57. {
  58. path: '/recruit/entRegister/joiningEnterprise',
  59. component: () => import('@/views/recruit/entRegister/joiningEnterprise'),
  60. meta: {
  61. title: '加入企业'
  62. }
  63. },
  64. {
  65. path: '/recruit/entRegister/inReview',
  66. component: () => import('@/views/recruit/entRegister/inReview.vue'),
  67. meta: {
  68. title: '申请信息'
  69. }
  70. }
  71. ]
  72. },
  73. {
  74. path: '/recruit/personal/advertisement/introduce/:id',
  75. name: 'advertisementIntroduce',
  76. meta: {
  77. title: '洲际酒店集团'
  78. },
  79. component: () => import('@/views/recruit/personal/home/components/advertisement/dynamic/intercontinental.vue')
  80. },
  81. {
  82. path: '/recruit/personal/advertisement/introduce/marriott/:id',
  83. name: 'advertisementIntroduceMarriott',
  84. meta: {
  85. title: '万豪国际集团'
  86. },
  87. component: () => import('@/views/recruit/personal/home/components/advertisement/dynamic/marriott.vue')
  88. },
  89. {
  90. path: '/recruit/enterprise/talentRecommendation',
  91. component: () => import('@/views/recruit/enterprise/talentRecommendation/index.vue'),
  92. name: 'talentRecommendation',
  93. meta: {
  94. title: '人才推荐'
  95. }
  96. },
  97. {
  98. path: '/recruit/enterprise/talentRecommendation/details/:id',
  99. component: () => import('@/views/recruit/enterprise/talentRecommendation/details'),
  100. name: 'talentRecommendationDetails',
  101. meta: {
  102. title: '人才详情',
  103. hideSide: true
  104. }
  105. }
  106. ]
  107. export default common