common.js 3.1 KB

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