| | |
| | | import main from '@/pages/common/Home.vue' |
| | | // import main from "@/pages/common/Home.vue"; |
| | | import showHome from "../pages/show/main/showHome"; |
| | | import jiuyeAndChuangye from "../pages/show/jiuyeAndChuangye/jiuyeAndChuangye"; |
| | | import shehuiBaozhang from "../pages/show/shehuiBaozhang/shehuiBaozhang"; |
| | | import OtherBusiness from '../pages/show/otherBusiness/OtherBusiness' |
| | | |
| | | const indexRouter = { |
| | | path: '/', |
| | | name: 'index', |
| | | component: showHome, |
| | | redirect: '/index', |
| | | children: [ |
| | | { path: '/index', meta: { title: '大屏首页' }, name: 'index', component: () => import('@/pages/show/index/index.vue')}, |
| | | { path: '/jiuyeAndChuangye', |
| | | component: jiuyeAndChuangye, |
| | | redirect: '/workStatistics', |
| | | name: 'jiuyeAndChuangye', |
| | | children: [ |
| | | { path: '/workStatistics', meta: {title: '就业创业'}, name: 'workStatistics', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue')}, |
| | | { path: '/chuangyeDanbaoDaikuan', meta: {title: '创业担保贷款'}, name: 'chuangyeDanbaoDaikuan', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue')}, |
| | | { path: '/jiuyeQingkuang', meta: {title: '就业情况'}, name: 'jiuyeQingkuang', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue')}, |
| | | ] |
| | | path: "/", |
| | | name: "index", |
| | | component: showHome, |
| | | redirect: "/index", |
| | | children: [ |
| | | { |
| | | path: "/index", |
| | | meta: {title: "大屏首页"}, |
| | | name: "index", |
| | | component: () => import("@/pages/show/index/index.vue") |
| | | }, |
| | | { |
| | | path: "/jiuyeAndChuangye", |
| | | component: jiuyeAndChuangye, |
| | | redirect: "/workStatistics", |
| | | name: "jiuyeAndChuangye", |
| | | children: [ |
| | | { |
| | | path: "/workStatistics", |
| | | meta: {title: "就业创业"}, |
| | | name: "workStatistics", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: '/shehuiBaozhang', |
| | | component: shehuiBaozhang, |
| | | redirect: '/shehuiBaoxian', |
| | | name: 'shehuiBaozhang', |
| | | children: [ |
| | | { path: '/shehuiBaoxian', meta: {title:'社会保障'}, name: 'shehuiBaoxian', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue')}, |
| | | { path: '/shebaoShouzhiZongbiao', meta: {title:'社保收支总表'}, name: 'shebaoShouzhiZongbiao', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue')}, |
| | | ] |
| | | path: "/chuangyeDanbaoDaikuan", |
| | | meta: {title: "创业担保贷款"}, |
| | | name: "chuangyeDanbaoDaikuan", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/jiuyeQingkuang", |
| | | meta: {title: "就业情况"}, |
| | | name: "jiuyeQingkuang", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/biyeshengStatistics", |
| | | meta: {title: "毕业生统计"}, |
| | | name: "biyeshengStatistics", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/biyeshengStatistics.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/zhiyePeixun", |
| | | meta: {title: "职业培训"}, |
| | | name: "zhiyePeixun", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue" |
| | | ) |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: "/shehuiBaozhang", |
| | | component: shehuiBaozhang, |
| | | redirect: "/shehuiBaoxian", |
| | | name: "shehuiBaozhang", |
| | | children: [ |
| | | { |
| | | path: "/shehuiBaoxian", |
| | | meta: {title: "社会保障"}, |
| | | name: "shehuiBaoxian", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/shebaoShouzhiZongbiao", |
| | | meta: {title: "社保收支总表"}, |
| | | name: "shebaoShouzhiZongbiao", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/qiyezhigongShebao", |
| | | meta: { title: "企业职工社保" }, |
| | | name: "qiyezhigongShebao", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/qiyezhigongShebao.vue" |
| | | ) |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: "/otherBusiness", |
| | | component: OtherBusiness, |
| | | meta: {title: "其他业务"}, |
| | | redirect: "/otherB-PeopleJunShouRu", |
| | | name: "OtherBusiness", |
| | | children: [ |
| | | { |
| | | path: "/otherB-PeopleJunShouRu", |
| | | meta: {title: "居民人居收入、可支配收入"}, |
| | | name: "otherB-PeopleJunShouRu", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/otherBusiness/otherBusinessChild/OtherB_PeopleJunShouRu.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/otherB-GongGuTuoPin", |
| | | meta: {title: "居民人居收入、可支配收入"}, |
| | | name: "otherB-GongGuTuoPin", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/otherBusiness/otherBusinessChild/OtherB_GongGuTuoPin.vue" |
| | | ) |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: "/businessPolicy", |
| | | meta: {title: "营商政策"}, |
| | | name: "businessPolicy", |
| | | component: () => import("@/pages/show/businessPolicy/BusinessPolicy") |
| | | } |
| | | ] |
| | | }; |
| | | const login = { |
| | | path: '/login', |
| | | component: () => import('@/pages/login.vue'), |
| | | meta: { |
| | | title: `后台登陆`, |
| | | } |
| | | } |
| | | const NotFound = { |
| | | path: '/404', |
| | | component: () => import('@/error_pages/404.vue'), |
| | | meta: { |
| | | title: "404 | 啊哦~ 你所访问的页面不存在", |
| | | } |
| | | } |
| | | path: "/login", |
| | | component: () => import("@/pages/login.vue"), |
| | | meta: { |
| | | title: `后台登陆` |
| | | } |
| | | }; |
| | | // const NotFound = { |
| | | // path: "/404", |
| | | // component: () => import("@/error_pages/404.vue"), |
| | | // meta: { |
| | | // title: "404 | 啊哦~ 你所访问的页面不存在" |
| | | // } |
| | | // }; |
| | | export const routers = [ |
| | | indexRouter, |
| | | // login, |
| | | // NotFound |
| | | ] |
| | | indexRouter, |
| | | login |
| | | // NotFound |
| | | ]; |