enterprise.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. // 企业路由信息
  2. import Layout from '@/layout/enterprise.vue'
  3. const enterprise = [
  4. // {
  5. // path: '/enterprise', // 企业账号登录时,缺省进去企业路由,防止用户在地址栏直接输入地址访问其他页面(不可删,permission中用到)
  6. // show: true,
  7. // redirect: '/recruit/enterprise',
  8. // },
  9. // { 不能重定向,用于切换企业登录拦截
  10. // path: '/enterpriseVerification', // 切换企业后先校验是否具备必填信息
  11. // show: true,
  12. // meta: {
  13. // loginType: 'enterprise'
  14. // }
  15. // // redirect: '/enterprise',
  16. // },
  17. {
  18. path: '/recruit/enterprise',
  19. show: true,
  20. redirect: '/recruit/enterprise/position',
  21. },
  22. {
  23. path: '/recruit/enterprise/position',
  24. component: Layout,
  25. name: 'jobManagement',
  26. meta: {
  27. title: '职位管理',
  28. enName: 'Job Management',
  29. icon: 'mdi-format-list-bulleted-square'
  30. },
  31. children: [
  32. {
  33. path: '/recruit/enterprise/position',
  34. show: true,
  35. meta: {
  36. title: '职位列表',
  37. enName: 'Job list'
  38. },
  39. component: () => import('@/views/recruit/enterprise/positionManagement/index.vue')
  40. },
  41. {
  42. path: '/recruit/enterprise/position/add',
  43. show: true,
  44. meta: {
  45. title: '新增职位'
  46. },
  47. component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
  48. },
  49. {
  50. path: '/recruit/enterprise/position/edit',
  51. show: true,
  52. meta: {
  53. title: '职位编辑'
  54. },
  55. component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
  56. },
  57. {
  58. path: '/recruit/enterprise/position/details',
  59. show: true,
  60. meta: {
  61. hideSide: true,
  62. title: '职位详情',
  63. enName: 'Position Details'
  64. },
  65. component: () => import('@/views/recruit/enterprise/positionManagement/components/details.vue')
  66. },
  67. ]
  68. },
  69. {
  70. path: '/recruit/enterprise/talentRecruitment',
  71. redirect: '/recruit/enterprise/search',
  72. component: Layout,
  73. name: 'Talent Recruitment',
  74. meta: {
  75. title: '人才招聘',
  76. enName: 'Talent Recruitment',
  77. icon: 'mdi-account-settings-outline'
  78. },
  79. children: [
  80. {
  81. path: '/recruit/enterprise/search',
  82. meta: {
  83. title: '找人',
  84. enName: 'Search People',
  85. },
  86. component: () => import('@/views/recruit/enterprise/search/index.vue')
  87. },
  88. {
  89. path: '/recruit/enterprise/interviewManagement',
  90. meta: {
  91. title: '面试',
  92. enName: 'Interview'
  93. },
  94. component: () => import('@/views/recruit/enterprise/interviewManagement/index.vue')
  95. },
  96. {
  97. path: '/recruit/enterprise/chatTools',
  98. meta: {
  99. title: '沟通',
  100. enName: 'Communication',
  101. },
  102. component: () => import('@/views/recruit/enterprise/chatTools/index.vue')
  103. },
  104. {
  105. path: '/recruit/enterprise/resume',
  106. meta: {
  107. title: '简历',
  108. enName: 'Resume'
  109. },
  110. component: () => import('@/views/recruit/enterprise/resume/index.vue')
  111. }
  112. ]
  113. },
  114. {
  115. component: Layout,
  116. path: '/recruit/enterprise/student',
  117. redirect: '/recruit/enterprise/student/InternshipSituation',
  118. name: 'enterpriseStudent',
  119. meta: {
  120. title: '学生专区',
  121. enName: 'Student Zone',
  122. icon: 'mdi-card-account-details-outline'
  123. },
  124. children: [
  125. {
  126. path: '/recruit/enterprise/student/InternshipSituation',
  127. meta: {
  128. title:'实习情况',
  129. enName: 'Internship Situation'
  130. },
  131. component: () => import('@/views/recruit/enterprise/student/InternshipSituation/index.vue')
  132. }
  133. ]
  134. },
  135. {
  136. path: '/recruit/enterprise/jobFair',
  137. component: Layout,
  138. name: 'EnterpriseJobFair',
  139. meta: {
  140. title: '招聘会',
  141. enName: 'Job Fair',
  142. icon: 'mdi-account-filter-outline'
  143. },
  144. children: [
  145. {
  146. path: '/recruit/enterprise/jobFair',
  147. show: true,
  148. meta: {
  149. title: '招聘会',
  150. enName: 'Job Fair'
  151. },
  152. component: () => import('@/views/recruit/enterprise/jobFair/index.vue')
  153. },
  154. {
  155. path: '/recruit/enterprise/jobFair/details/:id',
  156. show: true,
  157. meta: {
  158. title: '招聘会详情',
  159. enName: 'Job Fair Details'
  160. },
  161. component: () => import('@/views/recruit/enterprise/jobFair/detailsBox.vue'),
  162. children: [
  163. {
  164. path: '/recruit/enterprise/jobFair/details/:id',
  165. show: true,
  166. meta: {
  167. title: '招聘会详情',
  168. enName: 'Job Fair Details'
  169. },
  170. component: () => import('@/views/recruit/enterprise/jobFair/details.vue'),
  171. },
  172. {
  173. path: '/recruit/enterprise/jobFair/details/:id/edit',
  174. show: true,
  175. meta: {
  176. title: '职位编辑',
  177. enName: 'Job Fair Edit'
  178. },
  179. component: () => import('@/views/recruit/enterprise/jobFair/editJob/index.vue')
  180. }
  181. ]
  182. },
  183. ]
  184. },
  185. {
  186. path: '/recruit/enterprise/talentPool',
  187. component: Layout,
  188. name: 'Elite Reserve',
  189. meta: {
  190. title: '精英储备',
  191. enName: 'Job Management',
  192. icon: 'mdi-account-supervisor-circle'
  193. },
  194. children: [
  195. {
  196. path: '/recruit/enterprise/talentPool',
  197. show: true,
  198. component: () => import('@/views/recruit/enterprise/talentPool/index.vue')
  199. },
  200. {
  201. path: '/recruit/enterprise/talentPool/details/:id',
  202. show: true, // 侧边栏不展示
  203. component: () => import('@/views/recruit/enterprise/talentPool/components/details'),
  204. name: 'talentPoolDetails',
  205. meta: {
  206. title: '人才详情',
  207. hideSide: true
  208. }
  209. },
  210. ]
  211. },
  212. {
  213. path: '/recruit/enterprise/hirePosition',
  214. component: Layout,
  215. name: 'crowdSourcing',
  216. meta: {
  217. title: '全员猎寻',
  218. enName: 'Crowd Sourcing',
  219. icon: 'mdi-account-star-outline',
  220. hireJob: true
  221. },
  222. children: [
  223. {
  224. path: '/recruit/enterprise/hirePosition',
  225. show: true,
  226. meta: {
  227. title: '全员猎寻'
  228. },
  229. component: () => import('@/views/recruit/enterprise/hirePosition/index.vue')
  230. },
  231. {
  232. path: '/recruit/enterprise/hirePosition/add',
  233. show: true,
  234. meta: {
  235. title: '新增职位'
  236. },
  237. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  238. },
  239. {
  240. path: '/recruit/enterprise/hirePosition/edit',
  241. show: true,
  242. meta: {
  243. title: '职位编辑'
  244. },
  245. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  246. }
  247. ]
  248. },
  249. // {
  250. // path: '/recruit/enterprise/talentMap',
  251. // component: Layout,
  252. // name: 'Talent Map',
  253. // meta: {
  254. // title: '人才地图',
  255. // enName: 'Talent Map',
  256. // icon: 'mdi-map-check',
  257. // isPersonMap: true
  258. // },
  259. // children: [
  260. // {
  261. // path: '/recruit/enterprise/talentMap',
  262. // show: true,
  263. // component: () => import('@/views/recruit/enterprise/talentMap/index.vue')
  264. // }
  265. // ]
  266. // },
  267. {
  268. path: '/recruit/enterprise/statistics/overallAnalysis',
  269. component: Layout,
  270. name: 'enterpriseStatistics',
  271. meta: {
  272. title: '统计分析',
  273. enName: 'Statistics',
  274. icon: 'mdi-chart-arc'
  275. },
  276. children: [
  277. {
  278. path: '/recruit/enterprise/statistics/overallAnalysis',
  279. show: true,
  280. component: () => import('@/views/recruit/enterprise/statistics/overallAnalysis.vue')
  281. }
  282. ]
  283. },
  284. {
  285. path: '/recruit/enterprise/systemManagement',
  286. component: Layout,
  287. redirect: '/recruit/enterprise/systemManagement/userManagement',
  288. name: 'systemManagement',
  289. meta: {
  290. title: '系统管理',
  291. enName: 'system Management',
  292. icon: 'mdi-cog-outline'
  293. },
  294. children: [
  295. // 集团
  296. {
  297. path: '/recruit/enterprise/systemManagement/groupAccount',
  298. meta: {
  299. title: '集团账户',
  300. enName: 'Group Account ',
  301. isAdmin: true // 企业管理员菜单
  302. },
  303. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/index.vue')
  304. },
  305. // 邀请生成链接页面(非邀请页)
  306. {
  307. path: '/recruit/enterprise/systemManagement/groupAccount/invite/:type',
  308. show: true,
  309. meta: {
  310. hideSide: true,
  311. title: '邀请',
  312. enName: 'Invite',
  313. isAdmin: true // 企业管理员菜单
  314. },
  315. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/invite.vue')
  316. },
  317. // 企业信息
  318. {
  319. path: '/recruit/enterprise/entInfoSetting',
  320. meta: {
  321. title: '企业信息',
  322. enName: 'Group Account ',
  323. isAdmin: true // 企业管理员菜单
  324. },
  325. component: () => import('@/views/recruit/enterprise/entInfoSetting/index.vue')
  326. },
  327. // 员工信息
  328. {
  329. path: '/recruit/enterprise/staffInfoSetting',
  330. meta: {
  331. title: '员工信息',
  332. enName: 'Group Account '
  333. },
  334. component: () => import('@/views/recruit/enterprise/staffInfoSetting/index.vue')
  335. },
  336. {
  337. path: '/recruit/enterprise/staffChangePassword',
  338. show: true,
  339. meta: {
  340. title: '修改登录密码',
  341. },
  342. component: () => import('@/views/recruit/enterprise/staffChangePassword/index.vue')
  343. },
  344. ]
  345. },
  346. {
  347. component: Layout,
  348. path: '/recruit/enterprise/financialCenter',
  349. redirect: '/recruit/enterprise/tradingOrder',
  350. name: 'enterpriseMemberCenter',
  351. meta: {
  352. title: '财务中心',
  353. enName: 'system Management',
  354. icon: 'mdi-finance',
  355. // isAdmin: true // 企业管理员菜单
  356. },
  357. children: [
  358. {
  359. path: '/recruit/enterprise/tradingOrder',
  360. meta: {
  361. title:'订单管理',
  362. enName: 'Order management'
  363. },
  364. component: () => import('@/views/recruit/enterprise/tradingOrder/index.vue')
  365. },
  366. {
  367. path: '/recruit/enterprise/invoiceManagement',
  368. meta: {
  369. title: '发票抬头管理',
  370. enName: 'Invoice Management '
  371. },
  372. component: () => import('@/views/recruit/enterprise/invoiceManagement/index.vue')
  373. }
  374. ]
  375. },
  376. {
  377. path: '/recruit/enterprise/membershipPackage',
  378. component: Layout,
  379. name: 'membershipPackage',
  380. meta: {
  381. title: '会员套餐',
  382. enName: 'Membership Benefits',
  383. icon: 'mdi-wallet-membership'
  384. },
  385. children: [
  386. {
  387. path: '/recruit/enterprise/membershipPackage',
  388. show: true,
  389. component: () => import('@/views/recruit/enterprise/membershipPackage/index.vue')
  390. }
  391. ]
  392. },
  393. // {
  394. // path: '/recruit/enterprise/newlyAppointed',
  395. // component: Layout,
  396. // name: 'Newly Appointed',
  397. // meta: {
  398. // title: '门墩儿新任命',
  399. // enName: 'Newly Appointed',
  400. // icon: 'mdi-new-box'
  401. // },
  402. // children: [
  403. // {
  404. // path: '/recruit/enterprise/newlyAppointed',
  405. // show: true,
  406. // component: () => import('@/views/recruit/enterprise/newlyAppointed/index.vue')
  407. // }
  408. // ]
  409. // },
  410. {
  411. component: Layout,
  412. path: '/recruit/enterprise/talentMap',
  413. redirect: '/recruit/enterprise/talentMap/newlyAppointed',
  414. name: 'TalentMap',
  415. meta: {
  416. title: '人才地图',
  417. enName: 'Talent Map',
  418. icon: 'mdi-map-marker-account-outline',
  419. },
  420. children: [
  421. {
  422. path: '/recruit/enterprise/talentMap/newlyAppointed',
  423. meta: {
  424. title:'门墩儿新任命',
  425. enName: 'Newly Appointed'
  426. },
  427. component: () => import('@/views/recruit/enterprise/newTalentMap/newlyAppointed/index.vue')
  428. },
  429. // {
  430. // path: '/recruit/enterprise/talentMap/talentMatching',
  431. // meta: {
  432. // title:'骐骥之才',
  433. // enName: 'Talent matching'
  434. // },
  435. // component: () => import('@/views/recruit/enterprise/newTalentMap/talentMatching/index.vue')
  436. // },
  437. {
  438. path: '/recruit/enterprise/talentMap/tagManagement',
  439. meta: {
  440. title: '标签管理',
  441. enName: 'Tag Management '
  442. },
  443. component: () => import('@/views/recruit/enterprise/newTalentMap/tag/index.vue')
  444. },
  445. {
  446. path: '/recruit/enterprise/talentMap/labeling',
  447. meta: {
  448. title: '人才标注',
  449. enName: 'Talent labeling '
  450. },
  451. component: () => import('@/views/recruit/enterprise/newTalentMap/labeling/index.vue')
  452. }
  453. ]
  454. },
  455. {
  456. path: '/recruit/enterprise/contactUs',
  457. component: Layout,
  458. name: 'Contact Us',
  459. meta: {
  460. title: '联系我们',
  461. enName: 'Contact Us',
  462. icon: 'mdi-headphones'
  463. },
  464. children: [
  465. {
  466. path: '/recruit/enterprise/contactUs',
  467. show: true,
  468. component: () => import('@/views/recruit/components/contactUs/index.vue')
  469. }
  470. ]
  471. }
  472. ]
  473. export default enterprise