付延余
2022-04-17 8d5e327b23986583ad30d9ec1e1bae3f2e1edb38
src/router/router.js
@@ -2,6 +2,8 @@
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",
@@ -10,7 +12,7 @@
  children: [
    {
      path: "/index",
      meta: { title: "大屏首页" },
      meta: {title: "大屏首页"},
      name: "index",
      component: () => import("@/pages/show/index/index.vue")
    },
@@ -22,43 +24,43 @@
      children: [
        {
          path: "/workStatistics",
          meta: { title: "就业创业" },
          meta: {title: "就业创业"},
          name: "workStatistics",
          component: () =>
            import(
              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue"
            )
              )
        },
        {
          path: "/chuangyeDanbaoDaikuan",
          meta: { title: "创业担保贷款" },
          meta: {title: "创业担保贷款"},
          name: "chuangyeDanbaoDaikuan",
          component: () =>
            import(
              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue"
            )
              )
        },
        {
          path: "/jiuyeQingkuang",
          meta: { title: "就业情况" },
          meta: {title: "就业情况"},
          name: "jiuyeQingkuang",
          component: () =>
            import(
              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue"
            )
              )
        },
        {
          path: "/biyeshengStatistics",
          meta: { title: "毕业生统计" },
          meta: {title: "毕业生统计"},
          name: "biyeshengStatistics",
          component: () =>
            import(
              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/biyeshengStatistics.vue"
            )
              )
        },
        {
          path: "/zhiyePeixun",
          meta: { title: "职业培训"},
          meta: {title: "职业培训"},
          name: "zhiyePeixun",
          component: () =>
            import(
@@ -75,36 +77,150 @@
      children: [
        {
          path: "/shehuiBaoxian",
          meta: { title: "社会保障" },
          meta: {title: "社会保障"},
          name: "shehuiBaoxian",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue"
            )
              )
        },
        {
          path: "/shebaoShouzhiZongbiao",
          meta: { title: "社保收支总表" },
          meta: {title: "社保收支总表"},
          name: "shebaoShouzhiZongbiao",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue"
            )
              )
        },
        {
          path: "/qiyezhigongShebao",
          meta: { title: "企业职工社保" },
          meta: {title: "企业职工社保"},
          name: "qiyezhigongShebao",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/qiyezhigongShebao.vue"
            )
              )
        },
        {
          path: "/jiguanzhigongShebao",
          meta: {title: "机关职工社保"},
          name: "jiguanzhigongShebao",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/jiguanzhigongShebao.vue"
              )
        },
        {
          path: "/juminYanglaoBaoxian",
          meta: {title: "居民养老保险"},
          name: "juminYanglaoBaoxian",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/juminYanglaoBaoxian.vue"
              )
        },
        {
          path: "/shiyeBaoxian",
          meta: {title: "失业保险"},
          name: "shiyeBaoxian",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shiyeBaoxian.vue"
              )
        },
        {
          path: "/gongshangBaoxian",
          meta: {title: "工伤保险"},
          name: "gongshangBaoxian",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/gongshangBaoxian.vue"
              )
        },
        {
          path: "/shebaoZhengjiShouru",
          meta: {title: "社保征集收入明细"},
          name: "shebaoZhengjiShouru",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoZhengjiShouru.vue"
              )
        },
        {
          path: "/shebaoChikaRenshu",
          meta: {title: "社保卡持卡人数"},
          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: "事业单位人员情况"},
          name: "/PersonnelTalents_unitPersonnel",
          component: () =>
            import(
              "@/pages/show/personnelTalents/personnelTalentsChild/PersonnelTalents_UnitPersonnel.vue"
              )
        },
        {
          path: "/personnelTalents_greenCard",
          meta: {title: "人才绿卡补贴"},
          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: "居民人居收入、可支配收入"},
          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: "营商政策" },
      meta: {title: "营商政策"},
      name: "businessPolicy",
      component: () => import("@/pages/show/businessPolicy/BusinessPolicy")
    }
@@ -112,6 +228,7 @@
};
const login = {
  path: "/login",
  name:'login',
  component: () => import("@/pages/login.vue"),
  meta: {
    title: `后台登陆`