enterprise.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  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: '/recruit/enterprise',
  11. show: true,
  12. redirect: '/recruit/enterprise/talentPool',
  13. },
  14. {
  15. path: '/recruit/enterprise/talentPool',
  16. component: Layout,
  17. name: 'talentPool',
  18. meta: {
  19. title: '人才库',
  20. enName: 'Talent Pool',
  21. icon: 'mdi-account-multiple-outline'
  22. },
  23. children: [
  24. {
  25. path: '/recruit/enterprise/talentPool',
  26. show: true,
  27. component: () => import('@/views/recruit/enterprise/talentPool/index.vue')
  28. },
  29. {
  30. path: '/recruit/enterprise/talentPool/details/:id',
  31. show: true,
  32. component: () => import('@/views/recruit/enterprise/talentPool/components/details'),
  33. name: 'talentPoolDetails',
  34. meta: {
  35. title: '人才详情',
  36. hideSide: true
  37. }
  38. }
  39. ]
  40. },
  41. {
  42. path: '/recruit/enterprise/statistics',
  43. component: Layout,
  44. name: 'enterpriseStatistics',
  45. redirect: '/recruit/enterprise/statistics/overallAnalysis',
  46. meta: {
  47. title: '统计分析',
  48. enName: 'Statistics',
  49. icon: 'mdi-chart-arc'
  50. },
  51. children: [
  52. {
  53. path: '/recruit/enterprise/statistics/overallAnalysis',
  54. meta: {
  55. title: '整体分析',
  56. enName: 'Overall analysis'
  57. },
  58. component: () => import('@/views/recruit/enterprise/statistics/overallAnalysis.vue')
  59. }
  60. ]
  61. },
  62. {
  63. path: '/recruit/enterprise/position',
  64. component: Layout,
  65. name: 'jobManagement',
  66. meta: {
  67. title: '职位管理',
  68. enName: 'Job Management',
  69. icon: 'mdi-format-list-bulleted-square'
  70. },
  71. children: [
  72. {
  73. path: '/recruit/enterprise/position',
  74. meta: {
  75. title: '职位列表',
  76. enName: 'Job list'
  77. },
  78. component: () => import('@/views/recruit/enterprise/positionManagement/index.vue')
  79. },
  80. {
  81. path: '/recruit/enterprise/position/add',
  82. show: true,
  83. meta: {
  84. title: '新增职位'
  85. },
  86. component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
  87. },
  88. {
  89. path: '/recruit/enterprise/position/edit',
  90. show: true,
  91. meta: {
  92. title: '职位编辑'
  93. },
  94. component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
  95. },
  96. {
  97. path: '/recruit/enterprise/position/details/:id',
  98. show: true,
  99. meta: {
  100. title: '职位详情',
  101. hideSide: true
  102. },
  103. component: () => import('@/views/recruit/enterprise/positionManagement/components/details.vue')
  104. }
  105. ]
  106. },
  107. {
  108. path: '/recruit/enterprise/communication',
  109. component: Layout,
  110. name: 'Communication',
  111. meta: {
  112. title: '沟通',
  113. enName: 'Communication',
  114. icon: 'mdi-bell-outline'
  115. },
  116. children: [
  117. {
  118. path: '/recruit/enterprise/communication',
  119. show: true,
  120. component: () => import('@/views/recruit/enterprise/communication/index.vue')
  121. }
  122. ]
  123. },
  124. {
  125. path: '/recruit/enterprise/interview',
  126. component: Layout,
  127. name: 'interview',
  128. meta: {
  129. title: '面试管理',
  130. enName: 'interview',
  131. icon: 'mdi-account-multiple-check'
  132. },
  133. children: [
  134. {
  135. path: '/recruit/enterprise/interview',
  136. show: true,
  137. component: () => import('@/views/recruit/enterprise/interview/index.vue')
  138. }
  139. ]
  140. },
  141. {
  142. path: '/recruit/enterprise/elite',
  143. component: Layout,
  144. name: 'eliteManagement',
  145. meta: {
  146. title: '精英管理',
  147. enName: 'Meritocracy',
  148. icon: 'mdi-account-settings-outline'
  149. },
  150. children: [
  151. {
  152. path: '/recruit/enterprise/elite',
  153. show: true,
  154. component: () => import('@/views/recruit/enterprise/elite/index.vue')
  155. }
  156. ]
  157. },
  158. // {
  159. // path: '/recruit/enterprise/personnelManagement',
  160. // component: Layout,
  161. // name: 'personnelManagement',
  162. // meta: {
  163. // title: '精英管理',
  164. // enName: 'Meritocracy',
  165. // icon: 'mdi-account-settings-outline'
  166. // },
  167. // children: [
  168. // {
  169. // path: '/recruit/enterprise/personnelManagement',
  170. // show: true,
  171. // component: () => import('@/views/recruit/enterprise/personnelManagement/index.vue')
  172. // }
  173. // ]
  174. // },
  175. // {
  176. // path: '/recruit/enterprise/publicRecruitmentManagement',
  177. // component: Layout,
  178. // redirect: '',
  179. // name: 'publicRecruitmentManagement',
  180. // meta: {
  181. // title: '众聘管理',
  182. // enName: 'Crowdsourcing management',
  183. // icon: 'mdi-calendar-blank-multiple'
  184. // },
  185. // children: [
  186. // {
  187. // path: '/recruit/enterprise/publicRecruitmentManagement/deliver',
  188. // meta: {
  189. // title: '投递管理',
  190. // enName: 'Delivery Management'
  191. // },
  192. // component: () => import('@/views/recruit/enterprise/publicRecruitmentManagement/deliver')
  193. // },
  194. // {
  195. // path: '/recruit/enterprise/publicRecruitmentManagement/commission',
  196. // meta: {
  197. // title: '佣金比例',
  198. // enName: 'Commission rate'
  199. // },
  200. // component: () => import('@/views/recruit/enterprise/publicRecruitmentManagement/commission')
  201. // }
  202. // ]
  203. // },
  204. {
  205. path: '/recruit/enterprise/informationManagement',
  206. component: Layout,
  207. redirect: '/recruit/enterprise/informationManagement/informationSettings',
  208. name: 'informationManagement',
  209. meta: {
  210. title: '信息管理',
  211. enName: 'Information Management',
  212. icon: 'mdi-tune'
  213. },
  214. children: [
  215. {
  216. path: '/recruit/enterprise/informationManagement/informationSettings',
  217. meta: {
  218. title: '企业信息设置',
  219. isAdmin: true,
  220. enName: 'Enterprise Information Settings'
  221. },
  222. component: () => import('@/views/recruit/enterprise/informationManagement/informationSettings.vue')
  223. },
  224. {
  225. path: '/recruit/enterprise/informationSettings',
  226. meta: {
  227. title: '个人信息设置',
  228. enName: 'Personal information settings'
  229. },
  230. component: () => import('@/views/recruit/enterprise/informationSetting/index.vue')
  231. }
  232. ]
  233. },
  234. {
  235. path: '/recruit/enterprise/systemManagement',
  236. component: Layout,
  237. redirect: '/recruit/enterprise/systemManagement/userManagement',
  238. name: 'systemManagement',
  239. meta: {
  240. title: '系统管理',
  241. enName: 'system Management',
  242. icon: 'mdi-cog-outline',
  243. isAdmin: true // 企业管理员菜单
  244. },
  245. children: [
  246. {
  247. path: '/recruit/enterprise/systemManagement/groupAccount',
  248. meta: {
  249. title: '集团账户',
  250. enName: 'Group Account '
  251. },
  252. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/index.vue')
  253. },
  254. {
  255. path: '/recruit/enterprise/systemManagement/groupAccount/invite/:type',
  256. show: true,
  257. meta: {
  258. hideSide: true,
  259. title: '邀请',
  260. enName: 'Invite'
  261. },
  262. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/invite.vue')
  263. },
  264. // {
  265. // path: '/recruit/enterprise/systemManagement/userManagement',
  266. // meta: {
  267. // title: '用户管理',
  268. // enName: 'User Management '
  269. // },
  270. // component: () => import('@/views/recruit/enterprise/systemManagement/userManagement/index.vue')
  271. // },
  272. {
  273. path: '/recruit/enterprise/systemManagement/postManagement',
  274. meta: {
  275. title: '岗位管理',
  276. enName: 'Post Management '
  277. },
  278. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/index.vue')
  279. },
  280. {
  281. path: '/recruit/enterprise/systemManagement/postManagement/add',
  282. show: true,
  283. meta: {
  284. title: '新增岗位'
  285. },
  286. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/save.vue')
  287. },
  288. {
  289. path: '/recruit/enterprise/systemManagement/postManagement/edit',
  290. show: true,
  291. meta: {
  292. title: '岗位编辑'
  293. },
  294. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/save.vue')
  295. },
  296. ]
  297. },
  298. {
  299. path: '/recruit/enterprise/memberCenter',
  300. component: Layout,
  301. redirect: '/recruit/enterprise/memberCenter/myMembers',
  302. name: 'enterpriseMemberCenter',
  303. meta: {
  304. title: '会员中心',
  305. enName: 'system Management',
  306. icon: 'mdi-account',
  307. // isAdmin: true // 企业管理员菜单
  308. },
  309. children: [
  310. {
  311. path: '/recruit/enterprise/memberCenter/myMembers',
  312. meta: {
  313. title: '我的会员',
  314. enName: 'My Members'
  315. },
  316. component: () => import('@/views/recruit/enterprise/memberCenter/myMembers/index.vue')
  317. },
  318. {
  319. path: '/recruit/enterprise/memberCenter/myAccount',
  320. meta: {
  321. title: '我的账户',
  322. enName: 'Account '
  323. },
  324. component: () => import('@/views/recruit/enterprise/memberCenter/myAccount/index.vue')
  325. },
  326. {
  327. path: '/recruit/enterprise/memberCenter/tradingOrder',
  328. meta: {
  329. title: '我的订单',
  330. enName: 'tradingOrder '
  331. },
  332. component: () => import('@/views/recruit/enterprise/memberCenter/tradingOrder/index.vue')
  333. }
  334. ]
  335. },
  336. {
  337. path: '/recruit/enterprise/enterpriseCenter',
  338. component: Layout,
  339. name: 'enterpriseCenter',
  340. show: true,
  341. redirect: '/recruit/enterprise/enterpriseCenter',
  342. meta: {
  343. title: '企业中心'
  344. },
  345. children: [
  346. {
  347. path: '/recruit/enterprise/enterpriseCenter',
  348. show: true,
  349. component: () => import('@/views/recruit/enterprise/enterpriseCenter/index.vue'),
  350. meta: {
  351. title: '企业中心',
  352. hideSide: true
  353. }
  354. }
  355. ]
  356. },
  357. {
  358. path: '/recruit/enterprise/purchasePackage',
  359. component: Layout,
  360. name: 'enterprisePurchasePackage',
  361. show: true,
  362. meta: {
  363. title: '购买套餐',
  364. },
  365. children: [
  366. {
  367. path: '/recruit/enterprise/purchasePackage',
  368. component: () => import('@/views/recruit/enterprise/purchasePackage/index'),
  369. meta: {
  370. title: '购买套餐',
  371. hideSide: true
  372. },
  373. }
  374. ]
  375. },
  376. // {
  377. // path: '/enterprise/myAccount',
  378. // component: Layout,
  379. // name: 'enterpriseMyAccount',
  380. // show: true,
  381. // meta: {
  382. // title: '我的账户',
  383. // },
  384. // children: [
  385. // {
  386. // path: '/enterprise/myAccount',
  387. // component: () => import('@/views/enterprise/myAccount/index'),
  388. // meta: {
  389. // title: '我的账户',
  390. // hideSide: false
  391. // },
  392. // }
  393. // ]
  394. // },
  395. ]
  396. export default enterprise