enterprise.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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. path: '/recruit/enterprise/jobFair',
  116. component: Layout,
  117. name: 'EnterpriseJobFair',
  118. meta: {
  119. title: '招聘会',
  120. enName: 'Job Fair',
  121. icon: 'mdi-account-filter-outline'
  122. },
  123. children: [
  124. {
  125. path: '/recruit/enterprise/jobFair',
  126. show: true,
  127. meta: {
  128. title: '招聘会',
  129. enName: 'Job Fair'
  130. },
  131. component: () => import('@/views/recruit/enterprise/jobFair/index.vue')
  132. },
  133. {
  134. path: '/recruit/enterprise/jobFair/details/:id',
  135. show: true,
  136. meta: {
  137. title: '招聘会详情',
  138. enName: 'Job Fair Details'
  139. },
  140. component: () => import('@/views/recruit/enterprise/jobFair/detailsBox.vue'),
  141. children: [
  142. {
  143. path: '/recruit/enterprise/jobFair/details/:id',
  144. show: true,
  145. meta: {
  146. title: '招聘会详情',
  147. enName: 'Job Fair Details'
  148. },
  149. component: () => import('@/views/recruit/enterprise/jobFair/details.vue'),
  150. },
  151. {
  152. path: '/recruit/enterprise/jobFair/details/:id/edit',
  153. show: true,
  154. meta: {
  155. title: '职位编辑',
  156. enName: 'Job Fair Edit'
  157. },
  158. component: () => import('@/views/recruit/enterprise/jobFair/editJob/index.vue')
  159. }
  160. ]
  161. },
  162. ]
  163. },
  164. {
  165. path: '/recruit/enterprise/talentPool',
  166. component: Layout,
  167. name: 'Elite Reserve',
  168. meta: {
  169. title: '精英储备',
  170. enName: 'Job Management',
  171. icon: 'mdi-account-supervisor-circle'
  172. },
  173. children: [
  174. {
  175. path: '/recruit/enterprise/talentPool',
  176. show: true,
  177. component: () => import('@/views/recruit/enterprise/talentPool/index.vue')
  178. },
  179. {
  180. path: '/recruit/enterprise/talentPool/details/:id',
  181. show: true, // 侧边栏不展示
  182. component: () => import('@/views/recruit/enterprise/talentPool/components/details'),
  183. name: 'talentPoolDetails',
  184. meta: {
  185. title: '人才详情',
  186. hideSide: true
  187. }
  188. },
  189. ]
  190. },
  191. {
  192. path: '/recruit/enterprise/hirePosition',
  193. component: Layout,
  194. name: 'crowdSourcing',
  195. meta: {
  196. title: '全员猎寻',
  197. enName: 'Crowd Sourcing',
  198. icon: 'mdi-account-star-outline',
  199. hireJob: true
  200. },
  201. children: [
  202. {
  203. path: '/recruit/enterprise/hirePosition',
  204. show: true,
  205. meta: {
  206. title: '全员猎寻'
  207. },
  208. component: () => import('@/views/recruit/enterprise/hirePosition/index.vue')
  209. },
  210. {
  211. path: '/recruit/enterprise/hirePosition/add',
  212. show: true,
  213. meta: {
  214. title: '新增职位'
  215. },
  216. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  217. },
  218. {
  219. path: '/recruit/enterprise/hirePosition/edit',
  220. show: true,
  221. meta: {
  222. title: '职位编辑'
  223. },
  224. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  225. }
  226. ]
  227. },
  228. {
  229. path: '/recruit/enterprise/talentMap',
  230. component: Layout,
  231. name: 'Talent Map',
  232. meta: {
  233. title: '人才地图',
  234. enName: 'Talent Map',
  235. icon: 'mdi-map-check',
  236. isPersonMap: true
  237. },
  238. children: [
  239. {
  240. path: '/recruit/enterprise/talentMap',
  241. show: true,
  242. component: () => import('@/views/recruit/enterprise/talentMap/index.vue')
  243. }
  244. ]
  245. },
  246. {
  247. path: '/recruit/enterprise/statistics/overallAnalysis',
  248. component: Layout,
  249. name: 'enterpriseStatistics',
  250. meta: {
  251. title: '统计分析',
  252. enName: 'Statistics',
  253. icon: 'mdi-chart-arc'
  254. },
  255. children: [
  256. {
  257. path: '/recruit/enterprise/statistics/overallAnalysis',
  258. show: true,
  259. component: () => import('@/views/recruit/enterprise/statistics/overallAnalysis.vue')
  260. }
  261. ]
  262. },
  263. {
  264. path: '/recruit/enterprise/systemManagement',
  265. component: Layout,
  266. redirect: '/recruit/enterprise/systemManagement/userManagement',
  267. name: 'systemManagement',
  268. meta: {
  269. title: '系统管理',
  270. enName: 'system Management',
  271. icon: 'mdi-cog-outline'
  272. },
  273. children: [
  274. // 集团
  275. {
  276. path: '/recruit/enterprise/systemManagement/groupAccount',
  277. meta: {
  278. title: '集团账户',
  279. enName: 'Group Account ',
  280. isAdmin: true // 企业管理员菜单
  281. },
  282. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/index.vue')
  283. },
  284. // 邀请生成链接页面(非邀请页)
  285. {
  286. path: '/recruit/enterprise/systemManagement/groupAccount/invite/:type',
  287. show: true,
  288. meta: {
  289. hideSide: true,
  290. title: '邀请',
  291. enName: 'Invite',
  292. isAdmin: true // 企业管理员菜单
  293. },
  294. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/invite.vue')
  295. },
  296. // 企业信息
  297. {
  298. path: '/recruit/enterprise/entInfoSetting',
  299. meta: {
  300. title: '企业信息',
  301. enName: 'Group Account ',
  302. isAdmin: true // 企业管理员菜单
  303. },
  304. component: () => import('@/views/recruit/enterprise/entInfoSetting/index.vue')
  305. },
  306. // 员工信息
  307. {
  308. path: '/recruit/enterprise/staffInfoSetting',
  309. meta: {
  310. title: '员工信息',
  311. enName: 'Group Account '
  312. },
  313. component: () => import('@/views/recruit/enterprise/staffInfoSetting/index.vue')
  314. },
  315. {
  316. path: '/recruit/enterprise/staffChangePassword',
  317. show: true,
  318. meta: {
  319. title: '修改登录密码',
  320. },
  321. component: () => import('@/views/recruit/enterprise/staffChangePassword/index.vue')
  322. },
  323. ]
  324. },
  325. {
  326. component: Layout,
  327. path: '/recruit/enterprise/financialCenter',
  328. redirect: '/recruit/enterprise/tradingOrder',
  329. name: 'enterpriseMemberCenter',
  330. meta: {
  331. title: '财务中心',
  332. enName: 'system Management',
  333. icon: 'mdi-finance',
  334. // isAdmin: true // 企业管理员菜单
  335. },
  336. children: [
  337. {
  338. path: '/recruit/enterprise/tradingOrder',
  339. meta: {
  340. title:'订单管理',
  341. enName: 'Order management'
  342. },
  343. component: () => import('@/views/recruit/enterprise/tradingOrder/index.vue')
  344. },
  345. {
  346. path: '/recruit/enterprise/invoiceManagement',
  347. meta: {
  348. title: '发票抬头管理',
  349. enName: 'Invoice Management '
  350. },
  351. component: () => import('@/views/recruit/enterprise/invoiceManagement/index.vue')
  352. }
  353. ]
  354. },
  355. {
  356. path: '/recruit/enterprise/membershipPackage',
  357. component: Layout,
  358. name: 'membershipPackage',
  359. meta: {
  360. title: '会员套餐',
  361. enName: 'Membership Benefits',
  362. icon: 'mdi-wallet-membership'
  363. },
  364. children: [
  365. {
  366. path: '/recruit/enterprise/membershipPackage',
  367. show: true,
  368. component: () => import('@/views/recruit/enterprise/membershipPackage/index.vue')
  369. }
  370. ]
  371. },
  372. {
  373. path: '/recruit/enterprise/newlyAppointed',
  374. component: Layout,
  375. name: 'Newly Appointed',
  376. meta: {
  377. title: '门墩儿新任命',
  378. enName: 'Newly Appointed',
  379. icon: 'mdi-new-box'
  380. },
  381. children: [
  382. {
  383. path: '/recruit/enterprise/newlyAppointed',
  384. show: true,
  385. component: () => import('@/views/recruit/enterprise/newlyAppointed/index.vue')
  386. }
  387. ]
  388. },
  389. {
  390. path: '/recruit/enterprise/contactUs',
  391. component: Layout,
  392. name: 'Contact Us',
  393. meta: {
  394. title: '联系我们',
  395. enName: 'Contact Us',
  396. icon: 'mdi-headphones'
  397. },
  398. children: [
  399. {
  400. path: '/recruit/enterprise/contactUs',
  401. show: true,
  402. component: () => import('@/views/recruit/components/contactUs/index.vue')
  403. }
  404. ]
  405. }
  406. ]
  407. export default enterprise