common.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // 公共路由(任何身份都可以访问的路由 如:商城)
  2. import headhunting from './components/headhunting'
  3. const common = [
  4. ...headhunting,
  5. {
  6. path: '', // 门墩项目列表/项目入口页
  7. redirect: '/entrances',
  8. children: [
  9. { path: '/', redirect: '/entrances' },
  10. {
  11. path: '/entrances',
  12. component: () => import('@/views/entrances/index'),
  13. meta: {
  14. title: '门墩儿应用中心'
  15. }
  16. }
  17. ]
  18. },
  19. {
  20. path: '/mall',
  21. children: [
  22. {
  23. path: '/mall',
  24. component: () => import('@/views/mall/index'),
  25. meta: {
  26. title: '臻选商城'
  27. }
  28. }
  29. ]
  30. },
  31. {
  32. path: '/shareJob',
  33. name: 'shareJob',
  34. meta: {
  35. title: '分享职位'
  36. },
  37. component: () => import('@/views/recruit/personal/shareJob/index.vue')
  38. },
  39. {
  40. path: '/invite',
  41. name: 'invite',
  42. meta: {
  43. title: '成员邀请'
  44. },
  45. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/inviteConfirm.vue')
  46. },
  47. {
  48. path: '/enterpriseInvite',
  49. name: 'enterpriseInvite',
  50. meta: {
  51. title: '成员邀请'
  52. },
  53. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/inviteConfirmEnt.vue')
  54. },
  55. {
  56. path: '/recruit/enterprise/register',
  57. // component: Layout,
  58. name: 'enterpriseRegister',
  59. children: [
  60. {
  61. path: '/recruit/enterprise/register',
  62. component: () => import('@/views/recruit/enterprise/register/register.vue'),
  63. meta: {
  64. title: '注册新企业'
  65. },
  66. },
  67. {
  68. path: '/recruit/enterprise/register/joiningEnterprise',
  69. component: () => import('@/views/recruit/enterprise/register/joiningEnterprise'),
  70. meta: {
  71. title: '加入企业'
  72. }
  73. },
  74. {
  75. path: '/recruit/enterprise/register/inReview',
  76. component: () => import('@/views/recruit/enterprise/register/inReview.vue'),
  77. meta: {
  78. title: '申请信息'
  79. }
  80. }
  81. ]
  82. },
  83. ]
  84. export default common