enterprise.js 9.4 KB

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