| | |
| | | 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' |
| | | import PersonnelTalents from '../pages/show/personnelTalents/PersonnelTalents' |
| | | const indexRouter = { |
| | | path: "/", |
| | | name: "index", |
| | | component: showHome, |
| | | redirect: "/index", |
| | | redirect: "/login", |
| | | children: [ |
| | | { |
| | | path: "/index", |
| | | meta: { title: "大屏首页" }, |
| | | meta: {title: "大屏首页"}, |
| | | name: "index", |
| | | component: () => import("@/pages/show/index/index.vue") |
| | | }, |
| | |
| | | children: [ |
| | | { |
| | | path: "/workStatistics", |
| | | meta: { title: "就业创业" }, |
| | | meta: {title: "就业创业", routerParent: "jiuyeAndChuangye"}, |
| | | name: "workStatistics", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue" |
| | | ) |
| | | ) |
| | | }, |
| | | { |
| | | path: "/chuangyeDanbaoDaikuan", |
| | | meta: { title: "创业担保贷款" }, |
| | | meta: {title: "创业担保贷款", routerParent: "jiuyeAndChuangye"}, |
| | | name: "chuangyeDanbaoDaikuan", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue" |
| | | ) |
| | | ) |
| | | }, |
| | | { |
| | | path: "/jiuyeQingkuang", |
| | | meta: { title: "就业情况" }, |
| | | meta: {title: "就业情况", routerParent: "jiuyeAndChuangye"}, |
| | | name: "jiuyeQingkuang", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue" |
| | | ) |
| | | ) |
| | | }, |
| | | { |
| | | path: "/biyeshengStatistics", |
| | | meta: { title: "毕业生统计" }, |
| | | meta: {title: "毕业生统计", routerParent: "jiuyeAndChuangye"}, |
| | | name: "biyeshengStatistics", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/biyeshengStatistics.vue" |
| | | ) |
| | | ) |
| | | }, |
| | | { |
| | | path: "/zhiyePeixun", |
| | | meta: {title: "职业培训", routerParent: "jiuyeAndChuangye"}, |
| | | name: "zhiyePeixun", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue" |
| | | ) |
| | | } |
| | | ] |
| | | }, |
| | |
| | | children: [ |
| | | { |
| | | path: "/shehuiBaoxian", |
| | | meta: { title: "社会保障" }, |
| | | meta: {title: "社会保障", routerParent: "shehuiBaozhang"}, |
| | | name: "shehuiBaoxian", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue" |
| | | ) |
| | | ) |
| | | }, |
| | | { |
| | | path: "/shebaoShouzhiZongbiao", |
| | | meta: { title: "社保收支总表" }, |
| | | meta: {title: "社保收支总表", routerParent: "shehuiBaozhang"}, |
| | | name: "shebaoShouzhiZongbiao", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue" |
| | | ) |
| | | ) |
| | | }, |
| | | { |
| | | path: "/qiyezhigongShebao", |
| | | meta: {title: "企业职工社保", routerParent: "shehuiBaozhang"}, |
| | | name: "qiyezhigongShebao", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/qiyezhigongShebao.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/jiguanzhigongShebao", |
| | | meta: {title: "机关职工社保", routerParent: "shehuiBaozhang"}, |
| | | name: "jiguanzhigongShebao", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/jiguanzhigongShebao.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/juminYanglaoBaoxian", |
| | | meta: {title: "居民养老保险", routerParent: "shehuiBaozhang"}, |
| | | name: "juminYanglaoBaoxian", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/juminYanglaoBaoxian.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/shiyeBaoxian", |
| | | meta: {title: "失业保险", routerParent: "shehuiBaozhang"}, |
| | | name: "shiyeBaoxian", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shiyeBaoxian.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/gongshangBaoxian", |
| | | meta: {title: "工伤保险", routerParent: "shehuiBaozhang"}, |
| | | name: "gongshangBaoxian", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/gongshangBaoxian.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/shebaoZhengjiShouru", |
| | | meta: {title: "社保征集收入明细", routerParent: "shehuiBaozhang"}, |
| | | name: "shebaoZhengjiShouru", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoZhengjiShouru.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/shebaoChikaRenshu", |
| | | meta: {title: "社保卡持卡人数", routerParent: "shehuiBaozhang"}, |
| | | name: "shebaoChikaRenshu", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoChikaRenshu.vue" |
| | | ) |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/personnelTalents', |
| | | meta: {title: "人事人才"}, |
| | | name: 'PersonnelTalents', |
| | | redirect: '/personnelTalents_unitPersonnel', |
| | | component: PersonnelTalents, |
| | | children:[ |
| | | { |
| | | path: "/personnelTalents_unitPersonnel", |
| | | meta: {title: "事业单位人员情况", routerParent: 'personnelTalents'}, |
| | | name: "/PersonnelTalents_unitPersonnel", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/personnelTalents/personnelTalentsChild/PersonnelTalents_UnitPersonnel.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/personnelTalents_greenCard", |
| | | meta: {title: "人才绿卡补贴", routerParent: 'personnelTalents'}, |
| | | name: "/PersonnelTalents_GreenCard", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/personnelTalents/personnelTalentsChild/PersonnelTalents_GreenCard.vue" |
| | | ) |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/laborRelations', |
| | | meta: {title: "劳动关系"}, |
| | | name: 'LaborRelations', |
| | | component: () => import("@/pages/show/laborRelations/LaborRelations.vue") |
| | | }, |
| | | { |
| | | path: "/otherBusiness", |
| | | component: OtherBusiness, |
| | | meta: {title: "其他业务"}, |
| | | redirect: "/otherB-PeopleJunShouRu", |
| | | name: "OtherBusiness", |
| | | children: [ |
| | | { |
| | | path: "/otherB-PeopleJunShouRu", |
| | | meta: {title: "居民人居收入、可支配收入", routerParent: 'OtherBusiness'}, |
| | | name: "otherB-PeopleJunShouRu", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/otherBusiness/otherBusinessChild/OtherB_PeopleJunShouRu.vue" |
| | | ) |
| | | }, |
| | | { |
| | | path: "/otherB-GongGuTuoPin", |
| | | meta: {title: "居民人居收入、可支配收入", routerParent: 'OtherBusiness'}, |
| | | name: "otherB-GongGuTuoPin", |
| | | component: () => |
| | | import( |
| | | "@/pages/show/otherBusiness/otherBusinessChild/OtherB_GongGuTuoPin.vue" |
| | | ) |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: "/businessPolicy", |
| | | meta: { title: "营商政策" }, |
| | | meta: {title: "营商政策"}, |
| | | name: "businessPolicy", |
| | | component: () => import("@/pages/show/businessPolicy/BusinessPolicy") |
| | | } |
| | |
| | | }; |
| | | const login = { |
| | | path: "/login", |
| | | name:'login', |
| | | component: () => import("@/pages/login.vue"), |
| | | meta: { |
| | | title: `后台登陆` |