123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- // 公共路由(任何身份都可以访问的路由 如:商城)
- import Layout from '@/layout'
- import { setCommonPage } from '@/utils/dealData'
- const common = [
- {
- path: '', // 门墩项目列表/项目入口页
- redirect: '/recruitHome',
- children: [
- { path: '/', redirect: '/recruitHome' },
- // {
- // path: '/entrances',
- // component: () => import('@/views/entrances/index'),
- // meta: {
- // title: '门墩儿应用中心'
- // }
- // }
- ]
- },
- // 邀请页
- {
- path: '/invite',
- name: 'invite',
- meta: {
- title: '成员邀请'
- },
- component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/inviteConfirm.vue')
- },
- // 邀请页
- {
- path: '/enterpriseInvite',
- name: 'enterpriseInvite',
- meta: {
- title: '分支机构邀请'
- },
- component: () => import('@/views/recruit/enterprise/systemManagement/groupAccount/inviteConfirmEnt.vue')
- },
- {
- path: '/recruit/entRegister',
- // component: Layout,
- name: 'enterpriseRegister',
- children: [
- {
- path: '/recruit/entRegister',
- component: () => import('@/views/recruit/entRegister/register.vue'),
- meta: {
- title: '注册新企业'
- },
- },
- {
- path: '/recruit/entRegister/inReview',
- component: () => import('@/views/recruit/entRegister/inReview.vue'),
- meta: {
- title: '申请信息'
- }
- }
- ]
- },
- {
- path: '/recruit/personal/advertisement/:id',
- name: 'advertisementPreferred',
- component: () => import('@/views/recruit/personal/home/components/advertisement/preferred.vue')
- },
- {
- path: '/headhunting',
- component: Layout,
- meta: {
- title: '门墩儿猎寻服务'
- },
- children: [
- {
- path:'/headhunting',
- component: () => import('@/views/headhunting/index.vue')
- }
- ]
- },
- {
- path: '/headhunting/service',
- component: Layout,
- meta: {
- title: '我们的服务'
- },
- children: [
- {
- path: '/headhunting/service',
- component: () => import('@/views/headhunting/service.vue')
- }
- ]
- },
- {
- path: '/headhunting/service/details',
- component: Layout,
- meta: {
- title: '门墩儿猎寻服务'
- },
- children: [
- {
- path: '/headhunting/service/details',
- component: () => import('@/views/headhunting/details.vue')
- }
- ]
- }
- ]
- setCommonPage(common) // 公共访问路由
- export default common
|