personal.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. // 个人路由信息
  2. import Layout from '@/layout'
  3. const personal = [
  4. {
  5. path: '/personalAccount',
  6. component: Layout,
  7. name: 'personalAccount',
  8. children: [
  9. {
  10. path: '/personalAccount',
  11. component: () => import('@/views/Home/personal/account/index'),
  12. meta: {
  13. title: '账号设置'
  14. },
  15. children: [
  16. {
  17. path: '/personalAccount/editPassword',
  18. component: () => import('@/views/Home/personal/account/dynamic/editPassword'),
  19. meta: {
  20. title: '修改密码'
  21. }
  22. },
  23. {
  24. path: '/personalAccount/accountBinding',
  25. component: () => import('@/views/Home/personal/account/dynamic/accountBinding'),
  26. meta: {
  27. title: '账号加入'
  28. }
  29. },
  30. {
  31. path: '/personalAccount/realAuthentication',
  32. component: () => import('@/views/Home/personal/account/dynamic/realAuthentication'),
  33. meta: {
  34. title: '实名认证'
  35. }
  36. },
  37. {
  38. path: '/personalAccount/privacySettings',
  39. component: () => import('@/views/Home/personal/account/dynamic/privacySettings'),
  40. meta: {
  41. title: '隐私设置'
  42. }
  43. }
  44. ]
  45. }
  46. ]
  47. },
  48. {
  49. path: '/resume',
  50. component: Layout,
  51. name: 'resume',
  52. meta: {
  53. title: '在线简历'
  54. },
  55. children: [
  56. {
  57. path: '/resume',
  58. component: () => import('@/views/resume/index')
  59. }
  60. ]
  61. },
  62. {
  63. path: '/personalCenter',
  64. component: Layout,
  65. name: 'personalCenter',
  66. meta: {
  67. title: '个人中心'
  68. },
  69. children: [
  70. {
  71. path: '/personalCenter',
  72. component: () => import('@/views/PersonalCenter/index')
  73. }
  74. ]
  75. },
  76. {
  77. path: '/enterprise/register',
  78. component: Layout,
  79. name: 'enterpriseRegister',
  80. children: [
  81. {
  82. path: '/enterprise/register',
  83. component: () => import('@/views/personal/components/register'),
  84. meta: {
  85. title: '注册新企业'
  86. },
  87. },
  88. {
  89. path: '/enterprise/joiningEnterprise',
  90. component: () => import('@/views/personal/components/joiningEnterprise'),
  91. meta: {
  92. title: '加入企业'
  93. }
  94. },
  95. {
  96. path: '/enterprise/inReview',
  97. component: () => import('@/views/personal/components/inReview.vue'),
  98. meta: {
  99. title: '申请信息'
  100. }
  101. }
  102. ]
  103. },
  104. {
  105. path: '/myPublicRecruitment',
  106. component: Layout,
  107. name: 'myPublicRecruitment',
  108. meta: {
  109. title: '我的众聘'
  110. },
  111. children: [
  112. {
  113. path: '/myPublicRecruitment',
  114. component: () => import('@/views/personal/myPublicRecruitment/index'),
  115. meta: {
  116. title: '我的众聘'
  117. },
  118. }
  119. ]
  120. },
  121. ]
  122. export default personal