publicRecruit.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // 门墩儿招聘
  2. import Layout from '@/layout'
  3. const recruit = [
  4. {
  5. path: '/recruit',
  6. component: Layout,
  7. name: 'recruit',
  8. children: [
  9. {
  10. path: '/recruit/personal/position',
  11. component: () => import('@/views/recruit/personal/position'),
  12. name: 'recruitPosition',
  13. meta: {
  14. title: '职位'
  15. }
  16. },
  17. {
  18. path: '/recruit/personal/company',
  19. component: () => import('@/views/recruit/personal/company'),
  20. name: 'recruitCompany',
  21. meta: {
  22. title: '公司'
  23. }
  24. },
  25. {
  26. path: '/recruit/personal/position/details/:id',
  27. component: () => import('@/views/recruit/personal/position/components/details'),
  28. name: 'recruitPositionDetails',
  29. meta: {
  30. title: '职位详情'
  31. }
  32. }
  33. ]
  34. },
  35. {
  36. path: '/recruit/personal/company/details/:id',
  37. component: Layout,
  38. name: 'companyDetails',
  39. meta: {
  40. title: '企业详情'
  41. },
  42. children: [
  43. {
  44. path: '/recruit/personal/company/details/:id',
  45. component: () => import('@/views/recruit/enterprise/components/enterpriseDetails.vue'),
  46. meta: {
  47. title: '企业详情'
  48. },
  49. }
  50. ]
  51. }
  52. ]
  53. export default recruit