招聘网页
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

dynamic.ts 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. import type { AppRouteRecordRaw, AppRouteModule } from '@/router/types';
  2. import { HomeOutlined } from '@ant-design/icons-vue';
  3. import { routerList } from './routerList';
  4. // 首页
  5. const HomeRoute : AppRouteRecordRaw = {
  6. path: '/home',
  7. name: 'home',
  8. component: routerList.Home,
  9. meta: {
  10. title: '首页',
  11. icon: HomeOutlined
  12. },
  13. };
  14. //求职
  15. const JobRoute : AppRouteRecordRaw = {
  16. path: '/job',
  17. name: 'job',
  18. component: routerList.Job,
  19. meta: {
  20. title: '求职招聘',
  21. icon: HomeOutlined
  22. },
  23. children: [
  24. {
  25. path: '/job/home',
  26. name: 'home',
  27. component: routerList.JobHome,
  28. meta: {
  29. title: '首页',
  30. icon: HomeOutlined
  31. },
  32. },
  33. {
  34. path: '/personal',
  35. name: 'personal',
  36. component: routerList.Personal,
  37. meta: {
  38. title: '个人求职',
  39. icon: HomeOutlined
  40. },
  41. },
  42. {
  43. path: '/company',
  44. name: 'company',
  45. component: routerList.Company,
  46. meta: {
  47. title: '企业招聘',
  48. icon: HomeOutlined
  49. },
  50. },
  51. {
  52. path: '/homemake',
  53. name: 'homemake',
  54. component: routerList.Homemake,
  55. meta: {
  56. title: '家政',
  57. icon: HomeOutlined
  58. },
  59. },
  60. {
  61. path: '/invite/meet',
  62. name: 'inviteMeet',
  63. component: routerList.InviteMeet,
  64. meta: {
  65. title: '招聘会',
  66. icon: HomeOutlined
  67. },
  68. },
  69. {
  70. path: '/information',
  71. name: 'information',
  72. component: routerList.Information,
  73. meta: {
  74. title: '职场资讯',
  75. icon: HomeOutlined
  76. },
  77. },
  78. {
  79. path: '/download',
  80. name: 'download',
  81. component: routerList.Download,
  82. meta: {
  83. title: '下载专区',
  84. icon: HomeOutlined
  85. },
  86. }
  87. ]
  88. };
  89. //关于菊城人才
  90. const AboutRoute : AppRouteRecordRaw = {
  91. path: '/about',
  92. name: 'about',
  93. component: routerList.About,
  94. meta: {
  95. title: '关于菊城人才',
  96. icon: HomeOutlined
  97. },
  98. };
  99. // 法律咨询
  100. const LawRoute : AppRouteRecordRaw = {
  101. path: '/law',
  102. name: 'law',
  103. component: routerList.Law,
  104. meta: {
  105. title: '法律咨询',
  106. icon: HomeOutlined
  107. },
  108. };
  109. // 人才导师
  110. const MentorRoute : AppRouteRecordRaw = {
  111. path: '/mentor',
  112. name: 'mentor',
  113. component: routerList.Mentor,
  114. meta: {
  115. title: '人才导师',
  116. icon: HomeOutlined
  117. },
  118. };
  119. // 专家组
  120. const ExpertRoute : AppRouteRecordRaw = {
  121. path: '/expert',
  122. name: 'expert',
  123. component: routerList.Expert,
  124. meta: {
  125. title: '专家组',
  126. icon: HomeOutlined
  127. },
  128. };
  129. // 培训列表
  130. const TrainRoute : AppRouteRecordRaw = {
  131. path: '/train',
  132. name: 'train',
  133. component: routerList.Train,
  134. meta: {
  135. title: '培训列表',
  136. icon: HomeOutlined
  137. },
  138. };
  139. // 党群关系
  140. const RelationshipRoute : AppRouteRecordRaw = {
  141. path: '/relationship',
  142. name: 'relationship',
  143. component: routerList.Relationship,
  144. meta: {
  145. title: '党群关系',
  146. icon: HomeOutlined
  147. },
  148. };
  149. // 新闻中心
  150. const NewsRoute : AppRouteRecordRaw = {
  151. path: '/news',
  152. name: 'news',
  153. component: routerList.News,
  154. meta: {
  155. title: '新闻中心',
  156. icon: HomeOutlined
  157. },
  158. };
  159. // 首页
  160. const ManageHomeRoute : AppRouteRecordRaw = {
  161. path: '/manage/home',
  162. name: 'manageHome',
  163. component: routerList.ManageHome,
  164. meta: {
  165. title: '管理中心首页',
  166. icon: HomeOutlined
  167. },
  168. };
  169. // 企业资料
  170. const ManageBasicRoute : AppRouteRecordRaw = {
  171. path: '/manage/basic',
  172. name: 'basic',
  173. component: routerList.ManageBasic,
  174. meta: {
  175. title: '企业资料',
  176. icon: HomeOutlined
  177. },
  178. };
  179. // 企业招聘
  180. const ManageInviteRoute : AppRouteRecordRaw = {
  181. path: '/manageInvite',
  182. name: 'manageInvite',
  183. component: routerList.ManageInvite,
  184. meta: {
  185. title: '企业招聘',
  186. icon: HomeOutlined
  187. },
  188. };
  189. // 简历管理
  190. const ManageResumeRoute : AppRouteRecordRaw = {
  191. path: '/manageResume',
  192. name: 'resume',
  193. component: routerList.ManageResume,
  194. meta: {
  195. title: '简历管理',
  196. icon: HomeOutlined
  197. },
  198. };
  199. // 搜索简历
  200. const ManageSearchRoute : AppRouteRecordRaw = {
  201. path: '/manageSearch',
  202. name: 'search',
  203. component: routerList.ManageSearch,
  204. meta: {
  205. title: '搜索简历',
  206. icon: HomeOutlined
  207. },
  208. };
  209. // 招聘会管理
  210. const ManageMeetRoute : AppRouteRecordRaw = {
  211. path: '/manageMeet',
  212. name: 'meet',
  213. component: routerList.ManageMeet,
  214. meta: {
  215. title: '招聘会管理',
  216. icon: HomeOutlined
  217. },
  218. };
  219. // 消息中心
  220. const ManageMessageRoute : AppRouteRecordRaw = {
  221. path: '/manageMessage',
  222. name: 'message',
  223. component: routerList.ManageMessage,
  224. meta: {
  225. title: '消息中心',
  226. icon: HomeOutlined
  227. },
  228. };
  229. // 用户管理
  230. const ManageUserRoute : AppRouteRecordRaw = {
  231. path: '/manageUser',
  232. name: 'user',
  233. component: routerList.ManageUser,
  234. meta: {
  235. title: '用户管理',
  236. icon: HomeOutlined
  237. },
  238. };
  239. export const routesModuleList : AppRouteModule[] = [HomeRoute, JobRoute, AboutRoute, LawRoute, MentorRoute, ExpertRoute, TrainRoute, RelationshipRoute, NewsRoute, ManageHomeRoute,
  240. ManageBasicRoute,
  241. ManageInviteRoute,
  242. ManageResumeRoute,
  243. ManageSearchRoute,
  244. ManageMeetRoute,
  245. ManageMessageRoute,
  246. ManageUserRoute];