enterprise.js 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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/resumeManagement/talentPool',
  13. },
  14. {
  15. path: '/recruit/enterprise/resumeManagement',
  16. redirect: '/recruit/enterprise/resumeManagement/talentPool',
  17. component: Layout,
  18. name: 'Resume Management',
  19. meta: {
  20. title: '简历管理',
  21. enName: 'Resume Management',
  22. icon: 'mdi-account-settings-outline'
  23. },
  24. children: [
  25. {
  26. path: '/recruit/enterprise/resumeManagement/talentPool',
  27. meta: {
  28. title: '人才库',
  29. enName: 'Talent Pool'
  30. },
  31. component: () => import('@/views/recruit/enterprise/resumeManagement/talentPool/index.vue')
  32. },
  33. {
  34. path: '/recruit/enterprise/resumeManagement/talentPool/details/:id',
  35. show: true, // 侧边栏不展示
  36. component: () => import('@/views/recruit/enterprise/resumeManagement/talentPool/components/details'),
  37. name: 'talentPoolDetails',
  38. meta: {
  39. title: '人才详情',
  40. hideSide: true
  41. }
  42. },
  43. {
  44. path: '/recruit/enterprise/resumeManagement/elite',
  45. meta: {
  46. title: '精英人才',
  47. enName: 'Elite talents'
  48. },
  49. component: () => import('@/views/recruit/enterprise/resumeManagement/elite/index.vue')
  50. }
  51. ]
  52. },
  53. {
  54. path: '/recruit/enterprise/position',
  55. component: Layout,
  56. name: 'jobManagement',
  57. meta: {
  58. title: '职位管理',
  59. enName: 'Job Management',
  60. icon: 'mdi-format-list-bulleted-square'
  61. },
  62. children: [
  63. {
  64. path: '/recruit/enterprise/position',
  65. show: true,
  66. meta: {
  67. title: '职位列表',
  68. enName: 'Job list'
  69. },
  70. component: () => import('@/views/recruit/enterprise/positionManagement/index.vue')
  71. },
  72. {
  73. path: '/recruit/enterprise/position/add',
  74. show: true,
  75. meta: {
  76. title: '新增职位'
  77. },
  78. component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
  79. },
  80. {
  81. path: '/recruit/enterprise/position/edit',
  82. show: true,
  83. meta: {
  84. title: '职位编辑'
  85. },
  86. component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
  87. }
  88. ]
  89. },
  90. {
  91. path: '/recruit/enterprise/hirePosition',
  92. component: Layout,
  93. name: 'crowdSourcing',
  94. meta: {
  95. title: '全员猎聘',
  96. enName: 'Crowd Sourcing',
  97. icon: 'mdi-account-star-outline'
  98. },
  99. children: [
  100. {
  101. path: '/recruit/enterprise/hirePosition',
  102. show: true,
  103. meta: {
  104. title: '全员猎聘'
  105. },
  106. component: () => import('@/views/recruit/enterprise/hirePosition/index.vue')
  107. },
  108. {
  109. path: '/recruit/enterprise/hirePosition/add',
  110. show: true,
  111. meta: {
  112. title: '新增职位'
  113. },
  114. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  115. },
  116. {
  117. path: '/recruit/enterprise/hirePosition/edit',
  118. show: true,
  119. meta: {
  120. title: '职位编辑'
  121. },
  122. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  123. }
  124. ]
  125. },
  126. {
  127. path: '/recruit/enterprise/chatTools',
  128. component: Layout,
  129. name: 'chatTools',
  130. meta: {
  131. title: '聊天工具',
  132. enName: 'Chat Tools',
  133. icon: 'mdi-bell-outline'
  134. },
  135. children: [
  136. {
  137. path: '/recruit/enterprise/chatTools',
  138. show: true,
  139. component: () => import('@/views/recruit/enterprise/chatTools/index.vue')
  140. }
  141. ]
  142. },
  143. {
  144. path: '/recruit/enterprise/interviewManagement',
  145. component: Layout,
  146. name: 'interviewManagement',
  147. meta: {
  148. title: '面试管理',
  149. enName: 'Interview management',
  150. icon: 'mdi-account-multiple-check'
  151. },
  152. children: [
  153. {
  154. path: '/recruit/enterprise/interviewManagement',
  155. show: true,
  156. component: () => import('@/views/recruit/enterprise/interviewManagement/index.vue')
  157. }
  158. ]
  159. },
  160. {
  161. path: '/recruit/enterprise/statistics/overallAnalysis',
  162. component: Layout,
  163. name: 'enterpriseStatistics',
  164. meta: {
  165. title: '统计分析',
  166. enName: 'Statistics',
  167. icon: 'mdi-chart-arc'
  168. },
  169. children: [
  170. {
  171. path: '/recruit/enterprise/statistics/overallAnalysis',
  172. show: true,
  173. component: () => import('@/views/recruit/enterprise/statistics/overallAnalysis.vue')
  174. }
  175. ]
  176. },
  177. {
  178. path: '/recruit/enterprise/informationManagement',
  179. component: Layout,
  180. redirect: '/recruit/enterprise/informationManagement/informationSettings',
  181. name: 'informationManagement',
  182. meta: {
  183. title: '信息管理',
  184. enName: 'Information Management',
  185. icon: 'mdi-tune'
  186. },
  187. children: [
  188. {
  189. path: '/recruit/enterprise/informationManagement/informationSettings',
  190. meta: {
  191. title: '企业信息设置',
  192. isAdmin: true,
  193. enName: 'Enterprise Information Settings'
  194. },
  195. component: () => import('@/views/recruit/enterprise/informationManagement/informationSettings.vue')
  196. },
  197. {
  198. path: '/recruit/enterprise/informationSettings',
  199. meta: {
  200. title: '个人信息设置',
  201. enName: 'Personal information settings'
  202. },
  203. component: () => import('@/views/recruit/enterprise/informationSetting/index.vue')
  204. }
  205. ]
  206. },
  207. {
  208. path: '/recruit/enterprise/systemManagement',
  209. component: Layout,
  210. redirect: '/recruit/enterprise/systemManagement/userManagement',
  211. name: 'systemManagement',
  212. meta: {
  213. title: '系统管理',
  214. enName: 'system Management',
  215. icon: 'mdi-cog-outline',
  216. isAdmin: true // 企业管理员菜单
  217. },
  218. children: [
  219. {
  220. path: '/recruit/enterprise/systemManagement/groupAccount',
  221. meta: {
  222. title: '集团账户',
  223. enName: 'Group Account '
  224. },
  225. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/index.vue')
  226. },
  227. {
  228. path: '/recruit/enterprise/systemManagement/groupAccount/invite/:type',
  229. show: true,
  230. meta: {
  231. hideSide: true,
  232. title: '邀请',
  233. enName: 'Invite'
  234. },
  235. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/invite.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/myMembers',
  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/myMembers',
  285. meta: {
  286. title: '我的会员',
  287. enName: 'My Members'
  288. },
  289. component: () => import('@/views/recruit/enterprise/memberCenter/myMembers/index.vue')
  290. },
  291. // {
  292. // path: '/recruit/enterprise/memberCenter/myAccount',
  293. // meta: {
  294. // title: '我的账户',
  295. // enName: 'Account '
  296. // },
  297. // component: () => import('@/views/recruit/enterprise/memberCenter/myAccount/index.vue')
  298. // },
  299. {
  300. path: '/recruit/enterprise/memberCenter/tradingOrder',
  301. meta: {
  302. title: '我的订单',
  303. enName: 'tradingOrder '
  304. },
  305. component: () => import('@/views/recruit/enterprise/memberCenter/tradingOrder/index.vue')
  306. },
  307. {
  308. path: '/recruit/enterprise/memberCenter/invoiceHeader',
  309. meta: {
  310. title: '发票抬头管理',
  311. enName: 'InvoiceHeaderManagement '
  312. },
  313. component: () => import('@/views/recruit/enterprise/memberCenter/invoice/header.vue')
  314. }
  315. ]
  316. },
  317. {
  318. path: '/recruit/enterprise/purchasePackage',
  319. component: Layout,
  320. name: 'enterprisePurchasePackage',
  321. show: true,
  322. meta: {
  323. title: '购买套餐',
  324. },
  325. children: [
  326. {
  327. path: '/recruit/enterprise/purchasePackage',
  328. component: () => import('@/views/recruit/enterprise/purchasePackage/index'),
  329. meta: {
  330. title: '购买套餐',
  331. hideSide: true
  332. },
  333. }
  334. ]
  335. }
  336. ]
  337. export default enterprise