付延余
2022-05-20 73a9ae225888adae528d9b06233f65da04d883db
src/router/router.js
@@ -3,12 +3,12 @@
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",
@@ -24,7 +24,7 @@
      children: [
        {
          path: "/workStatistics",
          meta: {title: "就业创业"},
          meta: {title: "就业创业", routerParent: "jiuyeAndChuangye"},
          name: "workStatistics",
          component: () =>
            import(
@@ -33,7 +33,7 @@
        },
        {
          path: "/chuangyeDanbaoDaikuan",
          meta: {title: "创业担保贷款"},
          meta: {title: "创业担保贷款", routerParent: "jiuyeAndChuangye"},
          name: "chuangyeDanbaoDaikuan",
          component: () =>
            import(
@@ -42,7 +42,7 @@
        },
        {
          path: "/jiuyeQingkuang",
          meta: {title: "就业情况"},
          meta: {title: "就业情况", routerParent: "jiuyeAndChuangye"},
          name: "jiuyeQingkuang",
          component: () =>
            import(
@@ -51,7 +51,7 @@
        },
        {
          path: "/biyeshengStatistics",
          meta: {title: "毕业生统计"},
          meta: {title: "毕业生统计", routerParent: "jiuyeAndChuangye"},
          name: "biyeshengStatistics",
          component: () =>
            import(
@@ -60,7 +60,7 @@
        },
        {
          path: "/zhiyePeixun",
          meta: {title: "职业培训"},
          meta: {title: "职业培训", routerParent: "jiuyeAndChuangye"},
          name: "zhiyePeixun",
          component: () =>
            import(
@@ -77,7 +77,7 @@
      children: [
        {
          path: "/shehuiBaoxian",
          meta: {title: "社会保障"},
          meta: {title: "社会保障", routerParent: "shehuiBaozhang"},
          name: "shehuiBaoxian",
          component: () =>
            import(
@@ -86,7 +86,7 @@
        },
        {
          path: "/shebaoShouzhiZongbiao",
          meta: {title: "社保收支总表"},
          meta: {title: "社保收支总表", routerParent: "shehuiBaozhang"},
          name: "shebaoShouzhiZongbiao",
          component: () =>
            import(
@@ -95,43 +95,43 @@
        },
        {
          path: "/qiyezhigongShebao",
          meta: { title: "企业职工社保" },
          meta: {title: "企业职工社保", routerParent: "shehuiBaozhang"},
          name: "qiyezhigongShebao",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/qiyezhigongShebao.vue"
            )
              )
        },
        {
          path: "/jiguanzhigongShebao",
          meta: { title: "机关职工社保" },
          meta: {title: "机关职工社保", routerParent: "shehuiBaozhang"},
          name: "jiguanzhigongShebao",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/jiguanzhigongShebao.vue"
            )
              )
        },
        {
          path: "/juminYanglaoBaoxian",
          meta: { title: "居民养老保险" },
          meta: {title: "居民养老保险", routerParent: "shehuiBaozhang"},
          name: "juminYanglaoBaoxian",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/juminYanglaoBaoxian.vue"
            )
              )
        },
        {
          path: "/shiyeBaoxian",
          meta: { title: "失业保险" },
          meta: {title: "失业保险", routerParent: "shehuiBaozhang"},
          name: "shiyeBaoxian",
          component: () =>
            import(
              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shiyeBaoxian.vue"
            )
              )
        },
        {
          path: "/gongshangBaoxian",
          meta: { title: "工伤保险" },
          meta: {title: "工伤保险", routerParent: "shehuiBaozhang"},
          name: "gongshangBaoxian",
          component: () =>
            import(
@@ -140,7 +140,7 @@
        },
        {
          path: "/shebaoZhengjiShouru",
          meta: { title: "社保征集收入明细" },
          meta: {title: "社保征集收入明细", routerParent: "shehuiBaozhang"},
          name: "shebaoZhengjiShouru",
          component: () =>
            import(
@@ -149,7 +149,7 @@
        },
        {
          path: "/shebaoChikaRenshu",
          meta: { title: "社保卡持卡人数" },
          meta: {title: "社保卡持卡人数", routerParent: "shehuiBaozhang"},
          name: "shebaoChikaRenshu",
          component: () =>
            import(
@@ -159,25 +159,58 @@
      ]
    },
    {
      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: "劳动关系", routerParent: 'laborRelations'},
      name: 'LaborRelations',
      component: () => import("@/pages/show/laborRelations/LaborRelations.vue")
    },
    {
      path: "/otherBusiness",
      component: OtherBusiness,
      meta: {title: "其他业务"},
      redirect: "/otherB-PeopleJunShouRu",
      name: "OtherBusiness",
      redirect: "/otherB_PeopleJunShouRu",
      name: "otherBusiness",
      children: [
        {
          path: "/otherB-PeopleJunShouRu",
          meta: {title: "居民人居收入、可支配收入"},
          name: "otherB-PeopleJunShouRu",
          path: "/otherB_PeopleJunShouRu",
          meta: {title: "居民人居收入、可支配收入", routerParent: 'otherBusiness'},
          name: "otherB_PeopleJunShouRu",
          component: () =>
            import(
              "@/pages/show/otherBusiness/otherBusinessChild/OtherB_PeopleJunShouRu.vue"
              )
        },
        {
          path: "/otherB-GongGuTuoPin",
          meta: {title: "居民人居收入、可支配收入"},
          name: "otherB-GongGuTuoPin",
          path: "/otherB_GongGuTuoPin",
          meta: {title: "居民人居收入、可支配收入", routerParent: 'otherBusiness'},
          name: "otherB_GongGuTuoPin",
          component: () =>
            import(
              "@/pages/show/otherBusiness/otherBusinessChild/OtherB_GongGuTuoPin.vue"
@@ -187,7 +220,7 @@
    },
    {
      path: "/businessPolicy",
      meta: {title: "营商政策"},
      meta: {title: "营商政策", routerParent: 'businessPolicy'},
      name: "businessPolicy",
      component: () => import("@/pages/show/businessPolicy/BusinessPolicy")
    }
@@ -195,6 +228,7 @@
};
const login = {
  path: "/login",
  name:'login',
  component: () => import("@/pages/login.vue"),
  meta: {
    title: `后台登陆`