enterprise.js 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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/personnelManagement',
  143. component: Layout,
  144. name: 'personnelManagement',
  145. meta: {
  146. title: '精英管理',
  147. enName: 'Meritocracy',
  148. icon: 'mdi-account-settings-outline'
  149. },
  150. children: [
  151. {
  152. path: '/recruit/enterprise/personnelManagement',
  153. show: true,
  154. component: () => import('@/views/recruit/enterprise/personnelManagement/index.vue')
  155. }
  156. ]
  157. },
  158. {
  159. path: '/recruit/enterprise/publicRecruitmentManagement',
  160. component: Layout,
  161. redirect: '',
  162. name: 'publicRecruitmentManagement',
  163. meta: {
  164. title: '众聘管理',
  165. enName: 'Crowdsourcing management',
  166. icon: 'mdi-calendar-blank-multiple'
  167. },
  168. children: [
  169. {
  170. path: '/recruit/enterprise/publicRecruitmentManagement/deliver',
  171. meta: {
  172. title: '投递管理',
  173. enName: 'Delivery Management'
  174. },
  175. component: () => import('@/views/recruit/enterprise/publicRecruitmentManagement/deliver')
  176. },
  177. // {
  178. // path: '/recruit/enterprise/publicRecruitmentManagement/commission',
  179. // meta: {
  180. // title: '佣金比例',
  181. // enName: 'Commission rate'
  182. // },
  183. // component: () => import('@/views/recruit/enterprise/publicRecruitmentManagement/commission')
  184. // }
  185. ]
  186. },
  187. {
  188. path: '/recruit/enterprise/informationManagement',
  189. component: Layout,
  190. redirect: '/recruit/enterprise/informationManagement/informationSettings',
  191. name: 'informationManagement',
  192. meta: {
  193. title: '信息管理',
  194. enName: 'Information Management',
  195. icon: 'mdi-tune'
  196. },
  197. children: [
  198. {
  199. path: '/recruit/enterprise/informationManagement/informationSettings',
  200. meta: {
  201. title: '企业信息设置',
  202. isAdmin: true,
  203. enName: 'Enterprise Information Settings'
  204. },
  205. component: () => import('@/views/recruit/enterprise/informationManagement/informationSettings.vue')
  206. },
  207. {
  208. path: '/recruit/enterprise/informationSettings',
  209. meta: {
  210. title: '个人信息设置',
  211. enName: 'Personal information settings'
  212. },
  213. component: () => import('@/views/recruit/enterprise/informationSetting/index.vue')
  214. }
  215. ]
  216. },
  217. {
  218. path: '/recruit/enterprise/systemManagement',
  219. component: Layout,
  220. redirect: '/recruit/enterprise/systemManagement/userManagement',
  221. name: 'systemManagement',
  222. meta: {
  223. title: '系统管理',
  224. enName: 'system Management',
  225. icon: 'mdi-cog-outline',
  226. isAdmin: true // 企业管理员菜单
  227. },
  228. children: [
  229. {
  230. path: '/recruit/enterprise/systemManagement/groupAccount',
  231. meta: {
  232. title: '集团账户',
  233. enName: 'Group Account '
  234. },
  235. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/index.vue')
  236. },
  237. {
  238. path: '/recruit/enterprise/systemManagement/userManagement',
  239. meta: {
  240. title: '用户管理',
  241. enName: 'User Management '
  242. },
  243. component: () => import('@/views/recruit/enterprise/systemManagement/userManagement/index.vue')
  244. },
  245. {
  246. path: '/recruit/enterprise/systemManagement/postManagement',
  247. meta: {
  248. title: '岗位管理',
  249. enName: 'Post Management '
  250. },
  251. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/index.vue')
  252. },
  253. {
  254. path: '/recruit/enterprise/systemManagement/postManagement/add',
  255. show: true,
  256. meta: {
  257. title: '新增岗位'
  258. },
  259. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/save.vue')
  260. },
  261. {
  262. path: '/recruit/enterprise/systemManagement/postManagement/edit',
  263. show: true,
  264. meta: {
  265. title: '岗位编辑'
  266. },
  267. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/save.vue')
  268. },
  269. ]
  270. },
  271. {
  272. path: '/recruit/enterprise/memberCenter',
  273. component: Layout,
  274. redirect: '/recruit/enterprise/memberCenter/myAccount',
  275. name: 'enterpriseMemberCenter',
  276. meta: {
  277. title: '会员中心',
  278. enName: 'system Management',
  279. icon: 'mdi-account',
  280. // isAdmin: true // 企业管理员菜单
  281. },
  282. children: [
  283. {
  284. path: '/recruit/enterprise/memberCenter/myAccount',
  285. meta: {
  286. title: '我的会员',
  287. enName: 'My Members'
  288. },
  289. component: () => import('@/views/recruit/enterprise/memberCenter/myAccount/index.vue')
  290. },
  291. {
  292. path: '/recruit/enterprise/memberCenter/myPoints',
  293. meta: {
  294. title: '我的账户',
  295. enName: 'Account '
  296. },
  297. component: () => import('@/views/recruit/enterprise/memberCenter/myPoints/index.vue')
  298. }
  299. ]
  300. },
  301. {
  302. path: '/recruit/enterprise/enterpriseCenter',
  303. component: Layout,
  304. name: 'enterpriseCenter',
  305. show: true,
  306. redirect: '/recruit/enterprise/enterpriseCenter',
  307. meta: {
  308. title: '企业中心'
  309. },
  310. children: [
  311. {
  312. path: '/recruit/enterprise/enterpriseCenter',
  313. show: true,
  314. component: () => import('@/views/recruit/enterprise/enterpriseCenter/index.vue'),
  315. meta: {
  316. title: '企业中心',
  317. hideSide: true
  318. }
  319. }
  320. ]
  321. },
  322. {
  323. path: '/recruit/enterprise/purchasePackage',
  324. component: Layout,
  325. name: 'enterprisePurchasePackage',
  326. show: true,
  327. meta: {
  328. title: '购买套餐',
  329. },
  330. children: [
  331. {
  332. path: '/recruit/enterprise/purchasePackage',
  333. component: () => import('@/views/recruit/enterprise/purchasePackage/index'),
  334. meta: {
  335. title: '购买套餐',
  336. hideSide: true
  337. },
  338. }
  339. ]
  340. },
  341. // {
  342. // path: '/enterprise/myAccount',
  343. // component: Layout,
  344. // name: 'enterpriseMyAccount',
  345. // show: true,
  346. // meta: {
  347. // title: '我的账户',
  348. // },
  349. // children: [
  350. // {
  351. // path: '/enterprise/myAccount',
  352. // component: () => import('@/views/enterprise/myAccount/index'),
  353. // meta: {
  354. // title: '我的账户',
  355. // hideSide: false
  356. // },
  357. // }
  358. // ]
  359. // },
  360. ]
  361. export default enterprise