enterprise.js 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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/resumeManagement/talentPool',
  21. },
  22. {
  23. path: '/recruit/enterprise/resumeManagement',
  24. redirect: '/recruit/enterprise/resumeManagement/talentPool',
  25. component: Layout,
  26. name: 'Resume Management',
  27. meta: {
  28. title: '简历管理',
  29. enName: 'Resume Management',
  30. icon: 'mdi-account-settings-outline'
  31. },
  32. children: [
  33. {
  34. path: '/recruit/enterprise/resumeManagement/talentPool',
  35. meta: {
  36. title: '人才库',
  37. enName: 'Talent Pool'
  38. },
  39. component: () => import('@/views/recruit/enterprise/resumeManagement/talentPool/index.vue')
  40. },
  41. {
  42. path: '/recruit/enterprise/resumeManagement/talentPool/details/:id',
  43. show: true, // 侧边栏不展示
  44. component: () => import('@/views/recruit/enterprise/resumeManagement/talentPool/components/details'),
  45. name: 'talentPoolDetails',
  46. meta: {
  47. title: '人才详情',
  48. hideSide: true
  49. }
  50. },
  51. {
  52. path: '/recruit/enterprise/resumeManagement/elite',
  53. meta: {
  54. title: '精英人才',
  55. enName: 'Elite talents'
  56. },
  57. component: () => import('@/views/recruit/enterprise/resumeManagement/elite/index.vue')
  58. }
  59. ]
  60. },
  61. {
  62. path: '/recruit/enterprise/position',
  63. component: Layout,
  64. name: 'jobManagement',
  65. meta: {
  66. title: '职位管理',
  67. enName: 'Job Management',
  68. icon: 'mdi-format-list-bulleted-square'
  69. },
  70. children: [
  71. {
  72. path: '/recruit/enterprise/position',
  73. show: true,
  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. },
  98. {
  99. path: '/recruit/enterprise/resumeManagement/talentMap',
  100. component: Layout,
  101. name: 'Talent Map',
  102. meta: {
  103. title: '人才地图',
  104. enName: 'Talent Map',
  105. icon: 'mdi-map-check'
  106. },
  107. children: [
  108. {
  109. path: '/recruit/enterprise/resumeManagement/talentMap',
  110. show: true,
  111. component: () => import('@/views/recruit/enterprise/resumeManagement/talentMap/index.vue')
  112. }
  113. ]
  114. },
  115. {
  116. path: '/recruit/enterprise/hirePosition',
  117. component: Layout,
  118. name: 'crowdSourcing',
  119. meta: {
  120. title: '全员猎聘',
  121. enName: 'Crowd Sourcing',
  122. icon: 'mdi-account-star-outline'
  123. },
  124. children: [
  125. {
  126. path: '/recruit/enterprise/hirePosition',
  127. show: true,
  128. meta: {
  129. title: '全员猎聘'
  130. },
  131. component: () => import('@/views/recruit/enterprise/hirePosition/index.vue')
  132. },
  133. {
  134. path: '/recruit/enterprise/hirePosition/add',
  135. show: true,
  136. meta: {
  137. title: '新增职位'
  138. },
  139. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  140. },
  141. {
  142. path: '/recruit/enterprise/hirePosition/edit',
  143. show: true,
  144. meta: {
  145. title: '职位编辑'
  146. },
  147. component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
  148. }
  149. ]
  150. },
  151. {
  152. path: '/recruit/enterprise/chatTools',
  153. component: Layout,
  154. name: 'chatTools',
  155. meta: {
  156. title: '聊天工具',
  157. enName: 'Chat Tools',
  158. icon: 'mdi-bell-outline'
  159. },
  160. children: [
  161. {
  162. path: '/recruit/enterprise/chatTools',
  163. show: true,
  164. component: () => import('@/views/recruit/enterprise/chatTools/index.vue')
  165. }
  166. ]
  167. },
  168. {
  169. path: '/recruit/enterprise/interviewManagement',
  170. component: Layout,
  171. name: 'interviewManagement',
  172. meta: {
  173. title: '面试管理',
  174. enName: 'Interview management',
  175. icon: 'mdi-account-multiple-check'
  176. },
  177. children: [
  178. {
  179. path: '/recruit/enterprise/interviewManagement',
  180. show: true,
  181. component: () => import('@/views/recruit/enterprise/interviewManagement/index.vue')
  182. }
  183. ]
  184. },
  185. {
  186. path: '/recruit/enterprise/statistics/overallAnalysis',
  187. component: Layout,
  188. name: 'enterpriseStatistics',
  189. meta: {
  190. title: '统计分析',
  191. enName: 'Statistics',
  192. icon: 'mdi-chart-arc'
  193. },
  194. children: [
  195. {
  196. path: '/recruit/enterprise/statistics/overallAnalysis',
  197. show: true,
  198. component: () => import('@/views/recruit/enterprise/statistics/overallAnalysis.vue')
  199. }
  200. ]
  201. },
  202. {
  203. path: '/recruit/enterprise/informationManagement',
  204. component: Layout,
  205. redirect: '/recruit/enterprise/informationManagement/informationSettings',
  206. name: 'informationManagement',
  207. meta: {
  208. title: '信息管理',
  209. enName: 'Information Management',
  210. icon: 'mdi-tune'
  211. },
  212. children: [
  213. {
  214. path: '/recruit/enterprise/informationManagement/informationSettings',
  215. meta: {
  216. title: '企业信息设置',
  217. isAdmin: true,
  218. enName: 'Enterprise Information Settings'
  219. },
  220. component: () => import('@/views/recruit/enterprise/informationManagement/informationSettings.vue')
  221. },
  222. {
  223. path: '/recruit/enterprise/informationSettings',
  224. meta: {
  225. title: '个人信息设置',
  226. enName: 'Personal information settings'
  227. },
  228. component: () => import('@/views/recruit/enterprise/informationSetting/index.vue')
  229. }
  230. ]
  231. },
  232. {
  233. path: '/recruit/enterprise/systemManagement',
  234. component: Layout,
  235. redirect: '/recruit/enterprise/systemManagement/userManagement',
  236. name: 'systemManagement',
  237. meta: {
  238. title: '系统管理',
  239. enName: 'system Management',
  240. icon: 'mdi-cog-outline',
  241. isAdmin: true // 企业管理员菜单
  242. },
  243. children: [
  244. {
  245. path: '/recruit/enterprise/systemManagement/groupAccount',
  246. meta: {
  247. title: '集团账户',
  248. enName: 'Group Account '
  249. },
  250. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/index.vue')
  251. },
  252. {
  253. path: '/recruit/enterprise/systemManagement/groupAccount/invite/:type',
  254. show: true,
  255. meta: {
  256. hideSide: true,
  257. title: '邀请',
  258. enName: 'Invite'
  259. },
  260. component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/invite.vue')
  261. },
  262. // {
  263. // path: '/recruit/enterprise/systemManagement/userManagement',
  264. // meta: {
  265. // title: '用户管理',
  266. // enName: 'User Management '
  267. // },
  268. // component: () => import('@/views/recruit/enterprise/systemManagement/userManagement/index.vue')
  269. // },
  270. {
  271. path: '/recruit/enterprise/systemManagement/postManagement',
  272. meta: {
  273. title: '岗位管理',
  274. enName: 'Post Management '
  275. },
  276. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/index.vue')
  277. },
  278. {
  279. path: '/recruit/enterprise/systemManagement/postManagement/add',
  280. show: true,
  281. meta: {
  282. title: '新增岗位'
  283. },
  284. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/save.vue')
  285. },
  286. {
  287. path: '/recruit/enterprise/systemManagement/postManagement/edit',
  288. show: true,
  289. meta: {
  290. title: '岗位编辑'
  291. },
  292. component: () => import('@/views/recruit/enterprise/systemManagement/postManagement/save.vue')
  293. },
  294. ]
  295. },
  296. {
  297. path: '/recruit/enterprise/memberCenter',
  298. component: Layout,
  299. redirect: '/recruit/enterprise/memberCenter/myMembers',
  300. name: 'enterpriseMemberCenter',
  301. meta: {
  302. title: '会员中心',
  303. enName: 'system Management',
  304. icon: 'mdi-account',
  305. // isAdmin: true // 企业管理员菜单
  306. },
  307. children: [
  308. {
  309. path: '/recruit/enterprise/memberCenter/myMembers',
  310. meta: {
  311. title: '我的会员',
  312. enName: 'My Members'
  313. },
  314. component: () => import('@/views/recruit/enterprise/memberCenter/myMembers/index.vue')
  315. },
  316. // {
  317. // path: '/recruit/enterprise/memberCenter/myAccount',
  318. // meta: {
  319. // title: '我的账户',
  320. // enName: 'Account '
  321. // },
  322. // component: () => import('@/views/recruit/enterprise/memberCenter/myAccount/index.vue')
  323. // },
  324. {
  325. path: '/recruit/enterprise/memberCenter/tradingOrder',
  326. meta: {
  327. title: '我的订单',
  328. enName: 'tradingOrder '
  329. },
  330. component: () => import('@/views/recruit/enterprise/memberCenter/tradingOrder/index.vue')
  331. },
  332. {
  333. path: '/recruit/enterprise/memberCenter/invoiceHeader',
  334. meta: {
  335. title: '发票抬头管理',
  336. enName: 'InvoiceHeaderManagement '
  337. },
  338. component: () => import('@/views/recruit/enterprise/memberCenter/invoice/header.vue')
  339. }
  340. ]
  341. }
  342. ]
  343. export default enterprise