123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475 |
- // 企业路由信息
- import Layout from '@/layout/enterprise.vue'
- const enterprise = [
- // {
- // path: '/enterprise', // 企业账号登录时,缺省进去企业路由,防止用户在地址栏直接输入地址访问其他页面(不可删,permission中用到)
- // show: true,
- // redirect: '/recruit/enterprise',
- // },
- // { 不能重定向,用于切换企业登录拦截
- // path: '/enterpriseVerification', // 切换企业后先校验是否具备必填信息
- // show: true,
- // meta: {
- // loginType: 'enterprise'
- // }
- // // redirect: '/enterprise',
- // },
- {
- path: '/recruit/enterprise',
- show: true,
- redirect: '/recruit/enterprise/position',
- },
- {
- path: '/recruit/enterprise/position',
- component: Layout,
- name: 'jobManagement',
- meta: {
- title: '职位管理',
- enName: 'Job Management',
- icon: 'mdi-format-list-bulleted-square'
- },
- children: [
- {
- path: '/recruit/enterprise/position',
- show: true,
- meta: {
- title: '职位列表',
- enName: 'Job list'
- },
- component: () => import('@/views/recruit/enterprise/positionManagement/index.vue')
- },
- {
- path: '/recruit/enterprise/position/add',
- show: true,
- meta: {
- title: '新增职位'
- },
- component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
- },
- {
- path: '/recruit/enterprise/position/edit',
- show: true,
- meta: {
- title: '职位编辑'
- },
- component: () => import('@/views/recruit/enterprise/positionManagement/components/add.vue')
- },
- {
- path: '/recruit/enterprise/position/details',
- show: true,
- meta: {
- hideSide: true,
- title: '职位详情',
- enName: 'Position Details'
- },
- component: () => import('@/views/recruit/enterprise/positionManagement/components/details.vue')
- },
- ]
- },
- {
- path: '/recruit/enterprise/talentRecruitment',
- redirect: '/recruit/enterprise/search',
- component: Layout,
- name: 'Talent Recruitment',
- meta: {
- title: '人才招聘',
- enName: 'Talent Recruitment',
- icon: 'mdi-account-settings-outline'
- },
- children: [
- {
- path: '/recruit/enterprise/search',
- meta: {
- title: '找人',
- enName: 'Search People',
- },
- component: () => import('@/views/recruit/enterprise/search/index.vue')
- },
- {
- path: '/recruit/enterprise/interviewManagement',
- meta: {
- title: '面试',
- enName: 'Interview'
- },
- component: () => import('@/views/recruit/enterprise/interviewManagement/index.vue')
- },
- {
- path: '/recruit/enterprise/chatTools',
- meta: {
- title: '沟通',
- enName: 'Communication',
- },
- component: () => import('@/views/recruit/enterprise/chatTools/index.vue')
- },
- {
- path: '/recruit/enterprise/resume',
- meta: {
- title: '简历',
- enName: 'Resume'
- },
- component: () => import('@/views/recruit/enterprise/resume/index.vue')
- }
- ]
- },
- {
- component: Layout,
- path: '/recruit/enterprise/student',
- redirect: '/recruit/enterprise/student/InternshipSituation',
- name: 'enterpriseStudent',
- meta: {
- title: '学生专区',
- enName: 'Student Zone',
- icon: 'mdi-card-account-details-outline'
- },
- children: [
- {
- path: '/recruit/enterprise/student/InternshipSituation',
- meta: {
- title:'实习情况',
- enName: 'Internship Situation'
- },
- component: () => import('@/views/recruit/enterprise/student/InternshipSituation/index.vue')
- }
- ]
- },
- {
- path: '/recruit/enterprise/jobFair',
- component: Layout,
- name: 'EnterpriseJobFair',
- meta: {
- title: '招聘会',
- enName: 'Job Fair',
- icon: 'mdi-account-filter-outline'
- },
- children: [
- {
- path: '/recruit/enterprise/jobFair',
- show: true,
- meta: {
- title: '招聘会',
- enName: 'Job Fair'
- },
- component: () => import('@/views/recruit/enterprise/jobFair/index.vue')
- },
- {
- path: '/recruit/enterprise/jobFair/details/:id',
- show: true,
- meta: {
- title: '招聘会详情',
- enName: 'Job Fair Details'
- },
- component: () => import('@/views/recruit/enterprise/jobFair/detailsBox.vue'),
- children: [
- {
- path: '/recruit/enterprise/jobFair/details/:id',
- show: true,
- meta: {
- title: '招聘会详情',
- enName: 'Job Fair Details'
- },
- component: () => import('@/views/recruit/enterprise/jobFair/details.vue'),
- },
- {
- path: '/recruit/enterprise/jobFair/details/:id/edit',
- show: true,
- meta: {
- title: '职位编辑',
- enName: 'Job Fair Edit'
- },
- component: () => import('@/views/recruit/enterprise/jobFair/editJob/index.vue')
- }
- ]
- },
-
- ]
- },
- {
- path: '/recruit/enterprise/talentPool',
- component: Layout,
- name: 'Elite Reserve',
- meta: {
- title: '精英储备',
- enName: 'Job Management',
- icon: 'mdi-account-supervisor-circle'
- },
- children: [
- {
- path: '/recruit/enterprise/talentPool',
- show: true,
- component: () => import('@/views/recruit/enterprise/talentPool/index.vue')
- },
- {
- path: '/recruit/enterprise/talentPool/details/:id',
- show: true, // 侧边栏不展示
- component: () => import('@/views/recruit/enterprise/talentPool/components/details'),
- name: 'talentPoolDetails',
- meta: {
- title: '人才详情',
- hideSide: true
- }
- },
- ]
- },
- {
- path: '/recruit/enterprise/hirePosition',
- component: Layout,
- name: 'crowdSourcing',
- meta: {
- title: '全员猎寻',
- enName: 'Crowd Sourcing',
- icon: 'mdi-account-star-outline',
- hireJob: true
- },
- children: [
- {
- path: '/recruit/enterprise/hirePosition',
- show: true,
- meta: {
- title: '全员猎寻'
- },
- component: () => import('@/views/recruit/enterprise/hirePosition/index.vue')
- },
- {
- path: '/recruit/enterprise/hirePosition/add',
- show: true,
- meta: {
- title: '新增职位'
- },
- component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
- },
- {
- path: '/recruit/enterprise/hirePosition/edit',
- show: true,
- meta: {
- title: '职位编辑'
- },
- component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
- }
- ]
- },
- // {
- // path: '/recruit/enterprise/talentMap',
- // component: Layout,
- // name: 'Talent Map',
- // meta: {
- // title: '人才地图',
- // enName: 'Talent Map',
- // icon: 'mdi-map-check',
- // isPersonMap: true
- // },
- // children: [
- // {
- // path: '/recruit/enterprise/talentMap',
- // show: true,
- // component: () => import('@/views/recruit/enterprise/talentMap/index.vue')
- // }
- // ]
- // },
- {
- path: '/recruit/enterprise/statistics/overallAnalysis',
- component: Layout,
- name: 'enterpriseStatistics',
- meta: {
- title: '统计分析',
- enName: 'Statistics',
- icon: 'mdi-chart-arc'
- },
- children: [
- {
- path: '/recruit/enterprise/statistics/overallAnalysis',
- show: true,
- component: () => import('@/views/recruit/enterprise/statistics/overallAnalysis.vue')
- }
- ]
- },
- {
- path: '/recruit/enterprise/systemManagement',
- component: Layout,
- redirect: '/recruit/enterprise/systemManagement/userManagement',
- name: 'systemManagement',
- meta: {
- title: '系统管理',
- enName: 'system Management',
- icon: 'mdi-cog-outline'
- },
- children: [
- // 集团
- {
- path: '/recruit/enterprise/systemManagement/groupAccount',
- meta: {
- title: '集团账户',
- enName: 'Group Account ',
- isAdmin: true // 企业管理员菜单
- },
- component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/index.vue')
- },
- // 邀请生成链接页面(非邀请页)
- {
- path: '/recruit/enterprise/systemManagement/groupAccount/invite/:type',
- show: true,
- meta: {
- hideSide: true,
- title: '邀请',
- enName: 'Invite',
- isAdmin: true // 企业管理员菜单
- },
- component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/invite.vue')
- },
- // 企业信息
- {
- path: '/recruit/enterprise/entInfoSetting',
- meta: {
- title: '企业信息',
- enName: 'Group Account ',
- isAdmin: true // 企业管理员菜单
- },
- component: () => import('@/views/recruit/enterprise/entInfoSetting/index.vue')
- },
- // 员工信息
- {
- path: '/recruit/enterprise/staffInfoSetting',
- meta: {
- title: '员工信息',
- enName: 'Group Account '
- },
- component: () => import('@/views/recruit/enterprise/staffInfoSetting/index.vue')
- },
- {
- path: '/recruit/enterprise/staffChangePassword',
- show: true,
- meta: {
- title: '修改登录密码',
- },
- component: () => import('@/views/recruit/enterprise/staffChangePassword/index.vue')
- },
- ]
- },
- {
- component: Layout,
- path: '/recruit/enterprise/financialCenter',
- redirect: '/recruit/enterprise/tradingOrder',
- name: 'enterpriseMemberCenter',
- meta: {
- title: '财务中心',
- enName: 'system Management',
- icon: 'mdi-finance',
- // isAdmin: true // 企业管理员菜单
- },
- children: [
- {
- path: '/recruit/enterprise/tradingOrder',
- meta: {
- title:'订单管理',
- enName: 'Order management'
- },
- component: () => import('@/views/recruit/enterprise/tradingOrder/index.vue')
- },
- {
- path: '/recruit/enterprise/invoiceManagement',
- meta: {
- title: '发票抬头管理',
- enName: 'Invoice Management '
- },
- component: () => import('@/views/recruit/enterprise/invoiceManagement/index.vue')
- }
- ]
- },
- {
- path: '/recruit/enterprise/membershipPackage',
- component: Layout,
- name: 'membershipPackage',
- meta: {
- title: '会员套餐',
- enName: 'Membership Benefits',
- icon: 'mdi-wallet-membership'
- },
- children: [
- {
- path: '/recruit/enterprise/membershipPackage',
- show: true,
- component: () => import('@/views/recruit/enterprise/membershipPackage/index.vue')
- }
- ]
- },
- // {
- // path: '/recruit/enterprise/newlyAppointed',
- // component: Layout,
- // name: 'Newly Appointed',
- // meta: {
- // title: '门墩儿新任命',
- // enName: 'Newly Appointed',
- // icon: 'mdi-new-box'
- // },
- // children: [
- // {
- // path: '/recruit/enterprise/newlyAppointed',
- // show: true,
- // component: () => import('@/views/recruit/enterprise/newlyAppointed/index.vue')
- // }
- // ]
- // },
- {
- component: Layout,
- path: '/recruit/enterprise/talentMap',
- redirect: '/recruit/enterprise/talentMap/newlyAppointed',
- name: 'TalentMap',
- meta: {
- title: '人才地图',
- enName: 'Talent Map',
- icon: 'mdi-map-marker-account-outline',
- },
- children: [
- {
- path: '/recruit/enterprise/talentMap/newlyAppointed',
- meta: {
- title:'门墩儿新任命',
- enName: 'Newly Appointed'
- },
- component: () => import('@/views/recruit/enterprise/newTalentMap/newlyAppointed/index.vue')
- },
- // {
- // path: '/recruit/enterprise/talentMap/talentMatching',
- // meta: {
- // title:'骐骥之才',
- // enName: 'Talent matching'
- // },
- // component: () => import('@/views/recruit/enterprise/newTalentMap/talentMatching/index.vue')
- // },
- {
- path: '/recruit/enterprise/talentMap/tagManagement',
- meta: {
- title: '标签管理',
- enName: 'Tag Management '
- },
- component: () => import('@/views/recruit/enterprise/newTalentMap/tag/index.vue')
- },
- {
- path: '/recruit/enterprise/talentMap/labeling',
- meta: {
- title: '人才标注',
- enName: 'Talent labeling '
- },
- component: () => import('@/views/recruit/enterprise/newTalentMap/labeling/index.vue')
- }
- ]
- },
- {
- path: '/recruit/enterprise/contactUs',
- component: Layout,
- name: 'Contact Us',
- meta: {
- title: '联系我们',
- enName: 'Contact Us',
- icon: 'mdi-headphones'
- },
- children: [
- {
- path: '/recruit/enterprise/contactUs',
- show: true,
- component: () => import('@/views/recruit/components/contactUs/index.vue')
- }
- ]
- }
- ]
- export default enterprise
|