import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

/* Layout */
import Layout from '@/layout'

/**
 * Note: sub-menu only appear when route children.length >= 1
 * Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
 *
 * hidden: true                   if set true, item will not show in the sidebar(default is false)
 * alwaysShow: true               if set true, will always show the root menu
 *                                if not set alwaysShow, when item has more than one children route,
 *                                it will becomes nested mode, otherwise not show the root menu
 * redirect: noRedirect           if set noRedirect will no redirect in the breadcrumb
 * name:'router-name'             the name is used by <keep-alive> (must set!!!)
 * meta : {
 roles: ['admin','editor']    control the page roles (you can set multiple roles)
 title: 'title'               the name show in sidebar and breadcrumb (recommend set)
 icon: 'svg-name'             the icon show in the sidebar
 breadcrumb: false            if set false, the item will hidden in breadcrumb(default is true)
 activeMenu: '/example/list'  if set path, the sidebar will highlight the path you set
 }
 */

/**
 * constantRoutes
 * a base page that does not have permission requirements
 * all roles can be accessed
 * 游客权限标识：guest
 */
export const constantRoutes = [{
  path: '/login',
  component: () =>
    import('@/views/login/index'),
  hidden: true,
  meta: {
    roles: ['guest'],
    title: '登录'
  }
},
{
  path: '/system/slice/testmap2',
  name: 'marketMap2025',
  hidden: true,
  component: () => import('@/views/system/slice/map2'),
  meta: {
    title: '2025片区围点'
  }
},
{
  path: '/system/slice/map',
  name: 'marketMap',
  hidden: true,
  component: () => import('@/views/system/slice/map'),
  meta: {
    title: '片区围点'
  }
},
{
  path: '/404',
  component: () =>
    import ('@/views/404'),
  hidden: true,
  meta: {
    roles: ['guest'],
    title: '找不到对应的页面'
  }
},
{
  path: '/todo',
  component: Layout,
  meta: {
    title: '待办事项'
  },
  redirect: '/todo/list',
  children: [{
    path: 'list',
    name: 'TodoList',
    component: () =>
      import ('@/views/todo'),
    meta: {
      title: '我的待办',
      icon: 'dict'

    }
  }]
},
{
  path: '/finish',
  component: Layout,
  meta: {
    title: '我的已办',
    icon: 'dict'

  },
  redirect: '/finish/list',
  children: [{
    path: 'list',
    name: 'FinishList',
    component: () =>
      import ('@/views/finish'),
    hidden: true,
    meta: {
      title: '已办列表',
      icon: 'dict'

    }
  }]
},
{
  path: '/remPunish',
  component: Layout,
  redirect: '/remPunish/index',
  meta: {
    title: '行政处罚修复管理',
    icon: 'dict'

  },
  children: [{
    path: 'index',
    component: () => import('@/views/rempunish/index'),
    meta: {
      title: '行政处罚修复管理',
      icon: 'dict'
    }
  },
  {
    path: 'accept',
    component: () => import('@/views/rempunish/accept'),
    hidden: true,
    meta: {
      title: '经办页面',
      icon: 'dict'
    }
  }]
},
{
  path: '/abnormal',
  component: Layout,
  redirect: '/abnormal/company',
  meta: {
    title: '经营异常管理',
    icon: 'dict'

  },
  children: [{
    path: 'company',
    name: 'AbnormalCompany',
    redirect: '/abnormal/company/inclusion/list',
    component: () =>
      import('@/layout/components/abnormal/AppAbnormal'),
    meta: {
      title: '企业经营异常名录',
      icon: 'dict'

    },
    children: [{
      path: 'inclusion/list',
      name: 'AbnormalCompanyInclusionList',
      component: () =>
        import('@/views/abnormal/company/inclusion/List'),
      meta: {
        title: '列入经营异常名录'

      }
    },
    {
      path: 'repairInfo',
      name: 'AbnormalCompanyRepairInfo',
      component: () =>
        import('@/views/abnormal/company/repairInfo'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'inclusion/accept',
      name: 'AbnormalCompanyInclusionAccept',
      component: () =>
        import('@/views/abnormal/company/inclusion/Accept'),
      hidden: true,
      meta: {
        title: '列入--经办人'

      }
    },
    {
      path: 'inclusion/review',
      name: 'AbnormalCompanyInclusionReview',
      component: () =>
        import('@/views/abnormal/company/inclusion/Review'),
      hidden: true,
      meta: {
        title: '列入--审核人'

      }
    },
    {
      path: 'inclusion/examine',
      name: 'AbnormalCompanyInclusionExamine',
      component: () =>
        import('@/views/abnormal/company/inclusion/Examine'),
      hidden: true,
      meta: {
        title: '列入--审批人'

      }
    },
    {
      path: 'inclusion/info',
      name: 'AbnormalCompanyInclusionInfo',
      component: () =>
        import('@/views/abnormal/company/inclusion/Info'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'inclusion/print',
      name: 'AbnormalCompanyInclusionPrint',
      component: () =>
        import('@/views/abnormal/company/inclusion/print'),
      hidden: true,
      meta: {
        title: '打印'

      }
    },
    {
      path: 'inclusion/IncludeApprovalPrint',
      name: 'AbnormalCompanyInclusionIncludeApprovalPrint',
      component: () =>
        import('@/views/abnormal/company/inclusion/IncludeApprovalPrint'),
      hidden: true,
      meta: {
        title: '列入经营异常名录审批表'

      }
    },
    {
      path: 'inclusion/IncludeDecisionPrint',
      name: 'AbnormalCompanyInclusionIncludeDecisionPrint',
      component: () =>
        import('@/views/abnormal/company/inclusion/IncludeDecisionPrint'),
      hidden: true,
      meta: {
        title: '列入经营异常名录决定书'

      }
    },
    {
      path: 'dissent/List',
      name: 'AbnormalCompanyDissentList',
      component: () =>
        import('@/views/abnormal/company/dissent/List'),
      meta: {
        title: '经营异常名录异议',
        isOnlyRem: '0'
      }
    },
    {
      path: 'dissent/remList',
      component: () =>
        import('@/views/abnormal/company/dissent/List'),
      meta: {
        title: '移出经营异常异议',
        isOnlyRem: '1'
      }
    },
    {
      path: 'dissent/ApplyAccept',
      name: 'AbnormalCompanyDissentApplyAccept',
      component: () =>
        import('@/views/abnormal/company/dissent/ApplyAccept'),
      hidden: true,
      meta: {
        title: '异议申请受理--经办人'

      }
    },
    {
      path: 'dissent/ApplyExamine',
      name: 'AbnormalCompanyDissentApplyExamine',
      component: () =>
        import('@/views/abnormal/company/dissent/ApplyExamine'),
      hidden: true,
      meta: {
        title: '异议申请受理--审批人'

      }
    },
    {
      path: 'dissent/ToApprovalAccept',
      name: 'AbnormalCompanyDissentToApprovalAccept',
      component: () =>
        import('@/views/abnormal/company/dissent/ToApprovalAccept'),
      hidden: true,
      meta: {
        title: '送核准经办'

      }
    },
    {
      path: 'dissent/ApprovalAcp',
      name: 'AbnormalCompanyDissentApprovalAcp',
      component: () =>
        import('@/views/abnormal/company/dissent/ApprovalAcp'),
      hidden: true,
      meta: {
        title: '核准经办'
      }
    },
    {
      path: 'dissent/ApprovalReview',
      name: 'AbnormalCompanyDissentApprovalReview',
      component: () =>
        import('@/views/abnormal/company/dissent/ApprovalReview'),
      hidden: true,
      meta: {
        title: '核准审核'
      }
    },
    {
      path: 'dissent/ApprovalExamine',
      name: 'AbnormalCompanyDissentApprovalExamine',
      component: () =>
        import('@/views/abnormal/company/dissent/ApprovalExamine'),
      hidden: true,
      meta: {
        title: '异议核准--审批人'

      }
    },
    {
      path: 'dissent/applyInfo',
      name: 'AbnormalCompanyDissentApplyInfo',
      component: () =>
        import('@/views/abnormal/company/dissent/ApplyInfo'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'dissent/approveInfo',
      name: 'AbnormalCompanyDissentApproveInfo',
      component: () =>
        import('@/views/abnormal/company/dissent/ApproveInfo'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'dissent/Print',
      name: 'AbnormalCompanyDissentPrint',
      component: () =>
        import('@/views/abnormal/company/dissent/Print'),
      hidden: true,
      meta: {
        title: '打印'

      }
    },
    {
      path: 'dissent/ApplyNoticePrint',
      name: 'AbnormalCompanyDissentApplyNoticePrint',
      component: () =>
        import('@/views/abnormal/company/dissent/ApplyNoticePrint'),
      hidden: true,
      meta: {
        title: '通知书打印'

      }
    },
    {
      path: 'dissent/ApplyInfoPrint',
      name: 'AbnormalCompanyDissentApplyInfoPrint',
      component: () =>
        import('@/views/abnormal/company/dissent/ApplyInfoPrint'),
      hidden: true,
      meta: {
        title: '打印列入经营异常名录异议申请信息表'

      }
    },
    {
      path: 'dissent/ApplyAgreeNoticePrint',
      name: 'AbnormalCompanyDissentApplyAgreeNoticePrint',
      component: () =>
        import('@/views/abnormal/company/dissent/ApplyAgreeNoticePrint'),
      hidden: true,
      meta: {
        title: '打印列入经营异常名录异议受理通知书'

      }
    },
    {
      path: 'dissent/ApplyDisagreeNoticePrint',
      name: 'AbnormalCompanyDissentApplyDisagreeNoticePrint',
      component: () =>
        import('@/views/abnormal/company/dissent/ApplyDisagreeNoticePrint'),
      hidden: true,
      meta: {
        title: '打印列入经营异常名录异议不予受理通知书'

      }
    },
    {
      path: 'dissent/DissentApprovalPrint',
      name: 'AbnormalCompanyDissentApprovalPrint',
      component: () =>
        import('@/views/abnormal/company/dissent/DissentApprovalPrint'),
      hidden: true,
      meta: {
        title: '打印列入经营异常名录异议审批表'

      }
    },
    {
      path: 'dissent/ResultNoticePrint',
      name: 'AbnormalCompanyDissentResultNoticePrint',
      component: () =>
        import('@/views/abnormal/company/dissent/ResultNoticePrint'),
      hidden: true,
      meta: {
        title: '打印列入经营异常名录异议核实结果告知书'

      }
    },
    {
      path: 'remove/List',
      name: 'AbnormalCompanyRemoveList',
      component: () =>
        import('@/views/abnormal/company/remove/List'),
      meta: {
        title: '移出经营异常名录'

      }
    },
    {
      path: 'remove/RemoveAccept',
      name: 'AbnormalCompanyRemoveAccept',
      component: () =>
        import('@/views/abnormal/company/remove/RemoveAccept'),
      hidden: true,
      meta: {
        title: '移出--经办人'

      }
    },
    {
      path: 'remove/RemoveReview',
      name: 'AbnormalCompanyRemoveReview',
      component: () =>
        import('@/views/abnormal/company/remove/RemoveReview'),
      hidden: true,
      meta: {
        title: '移出--审核人'

      }
    },
    {
      path: 'remove/RemoveExamine',
      name: 'AbnormalCompanyRemoveExamine',
      component: () =>
        import('@/views/abnormal/company/remove/RemoveExamine'),
      hidden: true,
      meta: {
        title: '移出--审批人'

      }
    },
    {
      path: 'remove/info',
      name: 'AbnormalCompanyRemoveInfo',
      component: () =>
        import('@/views/abnormal/company/remove/Info'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'remove/Print',
      name: 'AbnormalCompanyRemovePrint',
      component: () =>
        import('@/views/abnormal/company/remove/Print'),
      hidden: true,
      meta: {
        title: '打印'

      }
    },
    {
      path: 'remove/RemoveApprovalPrint',
      name: 'AbnormalCompanyRemoveApprovalPrint',
      component: () =>
        import('@/views/abnormal/company/remove/RemoveApprovalPrint'),
      hidden: true,
      meta: {
        title: '打印移出经营异常名录审批表'

      }
    },
    {
      path: 'remove/RemoveDecisionPrint',
      name: 'AbnormalCompanyRemoveDecisionPrint',
      component: () =>
        import('@/views/abnormal/company/remove/RemoveDecisionPrint'),
      hidden: true,
      meta: {
        title: '打印移出经营异常名录决定书'

      }
    }
    ]
  },
  {
    path: 'individual',
    name: 'AbnormalIndividual',
    redirect: '/abnormal/individual/mark/list',
    component: () =>
      import('@/layout/components/abnormal/AppAbnormal'),
    meta: {
      title: '个体户经营异常状态',
      icon: 'dict'

    },
    children: [{
      path: 'mark/list',
      name: 'AbnormalIndividualMarkList',
      component: () =>
        import('@/views/abnormal/individual/mark/List'),
      meta: {
        title: '标记经营异常状态'

      }
    },
    {
      path: 'mark/accept',
      name: 'AbnormalIndividualMarkAccept',
      component: () =>
        import('@/views/abnormal/individual/mark/Accept'),
      hidden: true,
      meta: {
        title: '标记--经办人'

      }
    },
    {
      path: 'mark/review',
      name: 'AbnormalIndividualMarkReview',
      component: () =>
        import('@/views/abnormal/individual/mark/Review'),
      hidden: true,
      meta: {
        title: '标记--审核人'

      }
    },
    {
      path: 'mark/examine',
      name: 'AbnormalIndividualMarkExamine',
      component: () =>
        import('@/views/abnormal/individual/mark/Examine'),
      hidden: true,
      meta: {
        title: '标记--审批人'

      }
    },
    {
      path: 'mark/info',
      name: 'AbnormalIndividualMarkInfo',
      component: () =>
        import('@/views/abnormal/individual/mark/Info'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'mark/print',
      name: 'AbnormalIndividualMarkPrint',
      component: () =>
        import('@/views/abnormal/individual/mark/Print'),
      hidden: true,
      meta: {
        title: '打印'

      }
    },
    {
      path: 'mark/markApprovalPrint',
      name: 'AbnormalIndividualMarkApprovalPrint',
      component: () =>
        import('@/views/abnormal/individual/mark/MarkApprovalPrint'),
      hidden: true,
      meta: {
        title: '打印标记经营异常状态审批表'

      }
    },
    {
      path: 'recover/list',
      name: 'AbnormalIndividualRecoverList',
      component: () =>
        import('@/views/abnormal/individual/recover/List'),
      meta: {
        title: '恢复正常记载状态'

      }
    },
    {
      path: 'recover/accept',
      name: 'AbnormalIndividualRecoverAccept',
      component: () =>
        import('@/views/abnormal/individual/recover/Accept'),
      hidden: true,
      meta: {
        title: '恢复正常记载状态--经办人'

      }
    },
    {
      path: 'recover/review',
      name: 'AbnormalIndividualRecoverReview',
      component: () =>
        import('@/views/abnormal/individual/recover/Review'),
      hidden: true,
      meta: {
        title: '恢复正常记载状态--审核人'

      }
    },
    {
      path: 'recover/examine',
      name: 'AbnormalIndividualRecoverExamine',
      component: () =>
        import('@/views/abnormal/individual/recover/Examine'),
      hidden: true,
      meta: {
        title: '恢复正常记载状态--审批人'

      }
    },
    {
      path: 'recover/info',
      name: 'AbnormalIndividualRecoverInfo',
      component: () =>
        import('@/views/abnormal/individual/recover/Info'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'recover/print',
      name: 'AbnormalIndividualRecoverPrint',
      component: () =>
        import('@/views/abnormal/individual/recover/Print'),
      hidden: true,
      meta: {
        title: '打印'

      }
    },
    {
      path: 'recover/recoverApprovalPrint',
      name: 'AbnormalIndividualRecoverApprovalPrint',
      component: () =>
        import('@/views/abnormal/individual/recover/RecoverApprovalPrint'),
      hidden: true,
      meta: {
        title: '打印恢复正常记载审批表'

      }
    }

    ]
  },
  {
    path: 'agriculture',
    name: 'AbnormalAgriculture',
    redirect: '/abnormal/agriculture/inclusion/list',
    component: () =>
      import('@/layout/components/abnormal/AppAbnormal'),
    meta: {
      title: '农专社经营异常名录',
      icon: 'dict'

    },
    children: [{
      path: 'inclusion/list',
      name: 'AbnormalAgricultureInclusionList',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/List'),
      meta: {
        title: '列入经营异常名录'

      }
    },
    {
      path: 'inclusion/accept',
      name: 'AbnormalAgricultureInclusionAccept',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/Accept'),
      hidden: true,
      meta: {
        title: '列入--经办人'

      }
    },
    {
      path: 'inclusion/review',
      name: 'AbnormalAgricultureInclusionReview',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/Review'),
      hidden: true,
      meta: {
        title: '列入--审核人'

      }
    },
    {
      path: 'inclusion/examine',
      name: 'AbnormalAgricultureInclusionExamine',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/Examine'),
      hidden: true,
      meta: {
        title: '列入--审批人'

      }
    },
    {
      path: 'inclusion/info',
      name: 'AbnormalAgricultureInclusionInfo',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/Info'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'inclusion/print',
      name: 'AbnormalAgricultureInclusionPrint',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/Print'),
      hidden: true,
      meta: {
        title: '打印'

      }
    },
    {
      path: 'inclusion/includeApprovalPrint',
      name: 'AbnormalAgricultureInclusionIncludeApprovalPrint',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/IncludeApprovalPrint'),
      hidden: true,
      meta: {
        title: '打印农专社列异审批表'

      }
    },
    {
      path: 'inclusion/includeDecisionPrint',
      name: 'AbnormalAgricultureInclusionIncludeDecisionPrint',
      component: () =>
        import('@/views/abnormal/agriculture/inclusion/IncludeDecisionPrint'),
      hidden: true,
      meta: {
        title: '打印农专社列异决定书'

      }
    },
    {
      path: 'remove/list',
      name: 'AbnormalAgricultureRemoveList',
      component: () =>
        import('@/views/abnormal/agriculture/remove/List'),
      meta: {
        title: '移出经营异常名录'

      }
    },
    {
      path: 'remove/accept',
      name: 'AbnormalAgricultureRemoveAccept',
      component: () =>
        import('@/views/abnormal/agriculture/remove/Accept'),
      hidden: true,
      meta: {
        title: '移出--经办人'

      }
    },
    {
      path: 'remove/review',
      name: 'AbnormalAgricultureRemoveReview',
      component: () =>
        import('@/views/abnormal/agriculture/remove/Review'),
      hidden: true,
      meta: {
        title: '移出--审核人'

      }
    },
    {
      path: 'remove/info',
      name: 'AbnormalAgricultureRemoveInfo',
      component: () =>
        import('@/views/abnormal/agriculture/remove/Info'),
      hidden: true,
      meta: {
        title: '审批详情'

      }
    },
    {
      path: 'remove/examine',
      name: 'AbnormalAgricultureRemoveExamine',
      component: () =>
        import('@/views/abnormal/agriculture/remove/Examine'),
      hidden: true,
      meta: {
        title: '移出--审批人'

      }
    },
    {
      path: 'remove/print',
      name: 'AbnormalAgricultureRemovePrint',
      component: () =>
        import('@/views/abnormal/agriculture/remove/Print'),
      hidden: true,
      meta: {
        title: '打印'

      }
    },
    {
      path: 'remove/RemoveApprovalPrint',
      name: 'AbnormalAgricultureRemoveApprovalPrint',
      component: () =>
        import('@/views/abnormal/agriculture/remove/RemoveApprovalPrint'),
      hidden: true,
      meta: {
        title: '打印移出经营异常名录审批表'

      }
    }
    ]
  },
  {
    path: 'corrections',
    name: 'AbnormalCorrections',
    component: () =>
      import('@/views/abnormal/corrections/index'),
    meta: {
      title: '列异勘误'

    }
  },
  {
    path: 'corrections/detail',
    name: 'AbnormalCorrectionsDetail',
    component: () =>
      import('@/views/abnormal/corrections/Detail'),
    meta: {
      title: '列异勘误业务详情'

    },
    hidden: true
  }
  ]
},
{
  path: '/aiccpsmanage',
  component: Layout,
  redirect: '/aiccpsmanage/wgregorg',
  meta: {
    title: '年报管理',
    icon: 'dict'

  },
  children: [
    {
      path: 'wgregorg',
      name: 'Waigregorg',
      redirect: '/aicepsmanage/wgregorg/nbsh/list',
      component: () =>
        import('@/layout/components/abnormal/AppAbnormal'),
      meta: {
        title: '外国常驻代表机构',
        icon: 'dict'

      },
      children: [{
        path: 'nbsh/list',
        name: 'WaignbshList',
        component: () =>
          import('@/views/aicepsmanage/wgregorg/nbsh/list'),
        meta: {
          title: '年报审核'

        }
      },
      {
        path: 'nbsp/list',
        name: 'WaignbspList',
        component: () =>
          import('@/views/aicepsmanage/wgregorg/nbsp/list'),
        meta: {
          title: '年报审批'

        }
      }
      ]
    },
    {
      path: 'aiccpsTj',
      name: 'aiccpsbgTj',
      redirect: '/aicepsmanage/aiccpsTj',
      component: () =>
        import('@/layout/components/abnormal/AppAbnormal'),
      meta: {
        title: '年报统计',
        icon: 'dict'

      },
      children: [{
        path: 'qylist',
        name: 'qybgtj',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/qylist'),
        meta: {
          title: '企业年度报告统计'

        }
      },
      {
        path: 'nzlist',
        name: 'nzbgtj',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/nzlist'),
        meta: {
          title: '农民专业合作社年度报告统计'

        }
      },
      {
        path: 'gtnblist',
        name: 'gtbgtj',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/gtnblist'),
        meta: {
          title: '个体户年度报告统计'

        }
      },
      {
        path: 'wgczlist',
        name: 'wgczbgtj',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/wgczlist'),
        meta: {
          title: '外国常驻代表机构年度报告统计'

        }
      },
      {
        path: 'dxqylist',
        name: 'dxqybgtj',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/dxqylist'),
        meta: {
          title: '大型企业年度报告统计'

        }
      },
      {
        path: 'zdlylist',
        name: 'zdlybgtj',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/zdlylist'),
        meta: {
          title: '重点行业领域年度报告统计'

        }
      },
      {
        path: 'zdlyxqlist',
        name: 'zdlybgtjxq',
        component: () =>
          import('@/views/aicepsmanage/zdlyxqlist'),
        meta: {
          title: ' 重点行业领域年度报告统计详情'

        }
      },
      {
        path: 'assetsList',
        name: 'qyzcxxcx',
        component: () =>
          import('@/views/aicepsmanage/assetsList'),
        meta: {
          title: '企业资产信息查询'

        }
      },
      {
        path: 'customgsList',
        name: 'hgxxcx',
        component: () =>
          import('@/views/aicepsmanage/customgsList'),
        meta: {
          title: '海关信息查询'

        }
      },
      {
        path: 'liaisonorbaseinfoList',
        name: 'lxfxcx',
        component: () =>
          import('@/views/aicepsmanage/liaisonorbaseinfoList'),
        meta: {
          title: '联系方式查询'

        }
      },
      {
        path: 'anOverDuepayList',
        name: 'yqswzfcx',
        component: () =>
          import('@/views/aicepsmanage/anOverDuepayList'),
        meta: {
          title: '逾期尚未支付合同情况查询'
        }
      },
      {
        path: 'resetNbList',
        name: 'czgncxtj',
        component: () =>
          import('@/views/aicepsmanage/resetNbList'),
        meta: {
          title: '重置功能查询统计'

        }
      },
      {
        path: 'updatePhoneList',
        name: 'xgqylxdh',
        component: () =>
          import('@/views/aicepsmanage/updatePhoneList'),
        meta: {
          title: '修改企业联系电话'

        }
      },
      {
        path: 'reportaicepsquery',
        name: 'reportAicepsQuery',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/reportaicepsquery'),
        meta: {
          title: ' 年度报告填报查询'

        }
      },
      {
        path: 'gtreportaiceps',
        name: 'gtreportAiceps',
        component: () =>
          import('@/views/aicepsmanage/aiccpsTj/gtreportaiceps'),
        meta: {
          title: ' 个体工商户年检查询'

        }
      }
      ]
    },
    {
      path: 'aicepsAcount',
      name: 'aicepsAcountQuery',
      component: () =>
        import ('@/views/aicepsmanage/aicepsAcount'),
      meta: { title: '年报账号查询' }
    },
    {
      path: 'aicepsmodify',
      name: 'aicepsModify',
      component: () =>
        import ('@/views/aicepsmanage/aicepsmodify'),
      meta: { title: '年报修改授权' }
    },
    {
      path: 'gtannlLr',
      name: 'gtAnnlLr',
      component: () =>
        import ('@/views/aicepsmanage/gtannlLr'),
      meta: { title: '个体工商户年报录入' }
    },
    // {
    //   path: 'gsaiccpsmanage',
    //   name: 'gsaiccpsManage',
    //   redirect: '/aicepsmanage/gsaiccpsmanage',
    //   component: () =>
    //     import('@/layout/components/abnormal/AppAbnormal'),
    //   meta: {
    //     title: '工商年报管理',
    //     icon: 'dict'
    //
    //   },
    //   children: [
    //     {
    //       path: 'aicepsmodify',
    //       name: 'aicepsModify',
    //       component: () =>
    //       import('@/views/aicepsmanage/gsaiccpsmanage/aicepsmodify'),
    //       meta: {
    //         title: '年报修改授权'
    //
    //       }
    //     },
    //     {
    //       path: 'publicobjection',
    //       name: 'publicObjection',
    //       component: () =>
    //         import('@/views/aicepsmanage/gsaiccpsmanage/publicobjection'),
    //       meta: {
    //         title: '公示信息异议查询'
    //
    //       }
    //     },
    //     {
    //       path: 'gtannlLr',
    //       name: 'gtAnnlLr',
    //       component: () =>
    //         import('@/views/aicepsmanage/gsaiccpsmanage/gtannlLr'),
    //       meta: {
    //         title: '个体工商户年报录入'
    //
    //       }
    //     },
    //     {
    //       path: 'transferentquery',
    //       name: 'transferEntQuery',
    //       component: () =>
    //         import('@/views/aicepsmanage/gsaiccpsmanage/transferentquery'),
    //       meta: {
    //         title: '迁入企业查询'
    //
    //       }
    //     }
    //   ]
    // },
    {
      path: 'aicepschange',
      name: 'aicepsChange',
      redirect: '/aicepsmanage/aicepschange',
      component: () =>
        import('@/layout/components/abnormal/AppAbnormal'),
      meta: {
        title: '年报变更申请',
        icon: 'dict'

      },
      children: [
        {
          path: 'changeapplylist',
          name: 'changeapplyList',
          component: () =>
            import('@/views/aicepsmanage/aicepschange/changeapplylist'),
          meta: {
            title: '发申请'

          }
        },
        {
          path: 'changeexaminelist',
          name: 'changeexamineList',
          component: () =>
            import('@/views/aicepsmanage/aicepschange/changeexaminelist'),
          meta: {
            title: '待审核'

          }
        },
        {
          path: 'changeapprovallist',
          name: 'changeapprovalList',
          component: () =>
            import('@/views/aicepsmanage/aicepschange/changeapprovallist'),
          meta: {
            title: '待审批'

          }
        }
      ]
    },
    {
      path: 'aicepsempowermodify',
      name: 'aicepsempowermodify',
      redirect: '/aicepsmanage/aicepsempowermodify',
      component: () =>
        import('@/layout/components/abnormal/AppAbnormal'),
      meta: {
        title: '年报修改授权流程',
        icon: 'dict'

      },
      children: [
        {
          path: 'empowermodifyapplylist',
          name: 'empowermodifyapplylist',
          component: () =>
            import('@/views/aicepsmanage/aicepsempowermodify/empowermodifyapplylist'),
          meta: {
            title: '待处理'

          }
        },
        {
          path: 'empowermodifyexaminelistlist',
          name: 'empowermodifyexaminelistlist',
          component: () =>
            import('@/views/aicepsmanage/aicepsempowermodify/empowermodifyexaminelistlist'),
          meta: {
            title: '待审核'

          }
        },
        {
          path: 'empowermodifyapprovallist',
          name: 'empowermodifyapprovallist',
          component: () =>
            import('@/views/aicepsmanage/aicepsempowermodify/empowermodifyapprovallist'),
          meta: {
            title: '待审批'

          }
        }
      ]
    }
  ]
},
{
  path: '/correct/abnormal/corrections',
  component: Layout,
  redirect: '/abnormal/corrections',
  meta: {
    title: '列异勘误',
    icon: 'dict'

  },
  hidden: true
},
{
  path: '/correct/illegal/corrections',
  component: Layout,
  redirect: '/illegal/corrections',
  meta: {
    title: '列严勘误',
    icon: 'dict'
  },
  hidden: true
},
{
  path: '/illegal',
  component: Layout,
  redirect: '/illegal/inclusion/abnormal',
  meta: {
    title: '严重违法失信管理',
    icon: 'dict'

  },
  children: [{
    path: 'inclusion/abnormal',
    name: 'illegalAbnormalList',
    component: () =>
      import('@/views/illegal/inclusion/Abnormal'),
    meta: {
      title: '拟列入严重违法失信名单'
    }
  },
  {
    path: 'inclusion',
    name: 'illegalInclusionList',
    component: () =>
      import('@/views/illegal/inclusion/List'),
    meta: {
      title: '列入严重违法失信名单'
    }
  },
  {
    path: 'inclusion/xzList',
    name: 'XzList',
    component: () =>
      import('@/views/illegal/inclusion/XzList'),
    meta: {
      title: '列入严重违法（行政处罚）'
    }
  },
  {
    path: 'inclusion/accept',
    name: 'illegalInclusionAccept',
    component: () =>
      import('@/views/illegal/inclusion/Accept'),
    meta: {
      title: '拟列入严重违法失信企业名单--经办人'
    },
    hidden: true
  },
  {
    path: 'listed/accept',
    name: 'ListedAccept',
    component: () =>
      import('@/views/illegal/inclusion/ListedAccept'),
    meta: {
      title: '列入严重违法失信企业名单--经办人'
    },
    hidden: true
  },
  {
    path: 'inclusion/review',
    name: 'illegalInclusionReview',
    component: () =>
      import('@/views/illegal/inclusion/Review'),
    meta: {
      title: '拟列入严重违法失信企业名单--审核人'
    },
    hidden: true
  },
  {
    path: 'listed/review',
    name: 'ListedReview',
    component: () =>
      import('@/views/illegal/inclusion/ListedReview'),
    meta: {
      title: '列入严重违法失信企业名单--审核人'
    },
    hidden: true
  },
  {
    path: 'inclusion/examine',
    name: 'illegalInclusionExamine',
    component: () =>
      import('@/views/illegal/inclusion/Examine'),
    meta: {
      title: '拟列入严重违法失信企业名单--审批人'
    },
    hidden: true
  },
  {
    path: 'listed/examine',
    name: 'ListedExamine',
    component: () =>
      import('@/views/illegal/inclusion/ListedExamine'),
    meta: {
      title: '列入严重违法失信企业名单--审批人'
    },
    hidden: true
  },
  {
    path: 'inclusion/info',
    name: 'illegalInclusionInfo',
    component: () =>
      import('@/views/illegal/inclusion/info'),
    meta: {
      title: '拟列入严重违法失信企业名单--详情'
    },
    hidden: true
  },
  {
    path: 'listed/info',
    name: 'ListedInfo',
    component: () =>
      import('@/views/illegal/inclusion/ListedInfo'),
    meta: {
      title: '列入严重违法失信企业名单--详情'
    },
    hidden: true
  },
  {
    path: 'inclusion/DraftPrintExamine',
    name: 'illegalInclusionDraftPrintExamine',
    component: () =>
      import('@/views/illegal/inclusion/DraftPrintExamine'),
    meta: {
      title: '拟列入严重违法失信企业名录审批表打印'
    },
    hidden: true
  },
  {
    path: 'inclusion/DraftPrintDecision',
    name: 'illegalInclusionDraftPrintDecision',
    component: () =>
      import('@/views/illegal/inclusion/DraftPrintDecision'),
    meta: {
      title: '拟列入严重违法失信企业决定书打印'
    },
    hidden: true
  },
  {
    path: 'inclusion/printExamine',
    name: 'illegalInclusionPrintExamine',
    component: () =>
      import('@/views/illegal/inclusion/PrintExamine'),
    meta: {
      title: '列入严重违法失信企业名录审批表打印'
    },
    hidden: true
  },
  {
    path: 'inclusion/printDecision',
    name: 'illegalInclusionPrintDecision',
    component: () =>
      import('@/views/illegal/inclusion/PrintDecision'),
    meta: {
      title: '列入严重违法失信决定文书打印'
    },
    hidden: true
  },
  {
    path: 'inclusion/printHigherLevel',
    name: 'illegalInclusionPrintHigherLevel',
    component: () =>
      import('@/views/illegal/inclusion/PrintHigherLevel'),
    meta: {
      title: '列入严重违法失信名单决定报上级审批表打印'
    },
    hidden: true
  },
  {
    path: 'dissent',
    name: 'illegalDissentList',
    component: () =>
      import('@/views/illegal/dissent/List'),
    meta: {
      title: '严重违法失信名单异议'
    }
  },
  {
    path: 'dissent/applyAccept',
    name: 'illegalDissentApplyAccept',
    component: () =>
      import('@/views/illegal/dissent/ApplyAccept'),
    meta: {
      title: '异议申请受理--经办人'
    },
    hidden: true
  },
  {
    path: 'dissent/applyExamine',
    name: 'illegalDissentApplyExamine',
    component: () =>
      import('@/views/illegal/dissent/ApplyExamine'),
    meta: {
      title: '异议申请受理--审核人'
    },
    hidden: true
  },
  {
    path: 'dissent/approvalExamine',
    name: 'illegalDissentApprovalExamine',
    component: () =>
      import('@/views/illegal/dissent/ApprovalExamine'),
    meta: {
      title: '严重违法失信企业名单异议经办审批'
    },
    hidden: true
  },
  {
    path: 'dissent/info',
    name: 'illegalDissentApprovalInfo',
    component: () =>
      import('@/views/illegal/dissent/info'),
    meta: {
      title: '严重违法失信企业名单异议经办审批'
    },
    hidden: true
  },
  {
    path: 'printEntrance',
    name: 'illegalDissentPrintEntrance',
    component: () =>
      import('@/views/illegal/PrintEntrance'),
    meta: {
      title: '严重违法失信打印入口'
    },
    hidden: true
  },
  {
    path: 'dissent/printAccept',
    name: 'illegalDissentPrintAccept',
    component: () =>
      import('@/views/illegal/dissent/PrintAccept'),
    meta: {
      title: '严重违法失信企业名单异议打印受理/不予受理通知书'
    },
    hidden: true
  },
  {
    path: 'dissent/printApply',
    name: 'illegalDissentPrintApply',
    component: () =>
      import('@/views/illegal/dissent/PrintApply'),
    meta: {
      title: '严重违法失信企业名单异议打印申请信息表'
    },
    hidden: true
  },
  {
    path: 'dissent/printResult',
    name: 'illegalDissentPrintResult',
    component: () =>
      import('@/views/illegal/dissent/PrintResult'),
    meta: {
      title: '严重违法失信企业名单异议打印结果告知表'
    },
    hidden: true
  },
  {
    path: 'dissent/printExamine',
    name: 'illegalDissentPrintExmaine',
    component: () =>
      import('@/views/illegal/dissent/PrintExamine'),
    meta: {
      title: '严重违法失信企业名单异议打印审批表'
    },
    hidden: true
  },
  {
    path: 'remove',
    name: 'illegalRemoveList',
    component: () =>
      import('@/views/illegal/remove/List'),
    meta: {
      title: '移出严重违法失信企业名单'
    }
  },
  {
    path: 'remove/accept',
    name: 'illegalRemoveAccept',
    component: () =>
      import('@/views/illegal/remove/Accept'),
    meta: {
      title: '严重违法失信企业名单移出--经办人'
    },
    hidden: true
  },
  {
    path: 'remove/review',
    name: 'illegalRemoveReview',
    component: () =>
      import('@/views/illegal/remove/Review'),
    meta: {
      title: '严重违法失信企业名单移出--审核人'
    },
    hidden: true
  },
  {
    path: 'remove/examine',
    name: 'illegalRemoveExamine',
    component: () =>
      import('@/views/illegal/remove/Examine'),
    meta: {
      title: '严重违法失信企业名单移出--审批人'
    },
    hidden: true
  },
  {
    path: 'remove/info',
    name: 'illegalRemoveInfo',
    component: () =>
      import('@/views/illegal/remove/info'),
    meta: {
      title: '严重违法失信企业名单移出--详情'
    },
    hidden: true
  },
  {
    path: 'remove/printRemoveApply',
    name: 'illegalRemovePrintRemoveApply',
    component: () =>
      import('@/views/illegal/remove/PrintRemoveApply'),
    meta: {
      title: '移出严重违法失信企业申请表打印'
    },
    hidden: true
  },
  {
    path: 'remove/printRemove',
    name: 'illegalRemovePrintRemove',
    component: () =>
      import('@/views/illegal/remove/PrintRemove'),
    meta: {
      title: '移出严重违法失信企业决定文书打印'
    },
    hidden: true
  },
  {
    path: 'remove/printReceipt',
    name: 'illegalRemovePrintReceipt',
    component: () =>
      import('@/views/illegal/remove/PrintReceipt'),
    meta: {
      title: '移出严重违法失信企业受理申请回执单打印'
    },
    hidden: true
  },
  {
    path: 'corrections',
    name: 'illegalCorrections',
    component: () =>
      import('@/views/illegal/corrections/index'),
    meta: {
      title: '列严勘误'

    }
  },
  {
    path: 'corrections/detail',
    name: 'illegalCorrectionsDetail',
    component: () =>
      import('@/views/illegal/corrections/Detail'),
    meta: {
      title: '列严勘误详情'

    },
    hidden: true
  },
  {
    path: 'listed/bureauExamineSuccess',
    name: 'BureauAccept',
    component: () =>
      import('@/views/illegal/inclusion/BureauAccept'),
    meta: {
      title: '送市局办理'

    },
    hidden: true
  }
    // 404 page must be placed at the end !!!
    // {
    // path: '*', redirect: '/404', hidden: true
    // }
  ]
},
{
  path: '/cancel',
  component: Layout,
  redirect: '/cancel/list',
  meta: {
    title: '撤销登记案件',
    icon: 'dict'

  },
  children: [
    {
      path: 'list',
      name: 'cancelList',
      component: () =>
        import ('@/views/cancel/List'),
      meta: {
        title: '撤销登记案件'
      }
    },
    {
      path: 'fraudCheckList',
      name: 'fraudCheckList',
      component: () =>
        import ('@/views/cancel/fraudCheckList'),
      meta: {
        title: '现场核查'
      }
    },
    {
      path: 'statistics',
      name: 'cancelStatistics',
      component: () =>
        import ('@/views/cancel/statistics'),
      meta: {
        title: '统计数据'
      }
    },
    {
      path: 'revokeEntryList',
      name: 'revokeEntryList',
      component: () =>
        import ('@/views/cancel/easyTFraud/revokeEntryList'),
      meta: {
        title: '录入处理结果'
      }
    },
    {
      path: 'easyTFraud/easyResultExamine',
      name: 'easyResultExamine',
      component: () =>
        import ('@/views/cancel/easyTFraud/easyResultExamine'),
      meta: {
        title: '登记录入-待受理'
      },
      hidden: true
    },
    {
      path: 'easyTFraud/easyResultApproval',
      name: 'easyResultApproval',
      component: () =>
        import ('@/views/cancel/easyTFraud/easyResultApproval'),
      meta: {
        title: '登记录入-审批'
      },
      hidden: true
    },
    {
      path: 'removeTFraud/removeTFraudList',
      name: 'removeTFraudList',
      component: () =>
        import ('@/views/cancel/removeTFraud/removeTFraudList'),
      meta: {
        title: '撤销撤销设立登记'
      }
    },
    {
      path: 'removeTFraud/removeTFraudAccept',
      name: 'removeTFraudAccept',
      component: () =>
        import ('@/views/cancel/removeTFraud/removeTFraudAccept'),
      meta: {
        title: '撤销撤销案件-待受理'
      },
      hidden: true
    },
    {
      path: 'removeTFraud/removeTFraudExamine',
      name: 'removeTFraudExamine',
      component: () =>
        import ('@/views/cancel/removeTFraud/removeTFraudExamine'),
      meta: {
        title: '撤销撤销案件-待审核'
      },
      hidden: true
    },
    {
      path: 'removeTFraud/removeTFraudApproval',
      name: 'removeTFraudExamine',
      component: () =>
        import ('@/views/cancel/removeTFraud/removeTFraudApproval'),
      meta: {
        title: '撤销撤销案件-待审批'
      },
      hidden: true
    },
    {
      path: 'batchTFraud/batchTFraudList',
      name: 'batchTFraudList',
      component: () =>
        import ('@/views/cancel/batchTFraud/batchTFraudList'),
      meta: {
        title: '批量撤销设立登记'
      }
    },
    {
      path: 'batchTFraud/batchTFraudAccept',
      name: 'batchTFraudAccept',
      component: () =>
        import ('@/views/cancel/batchTFraud/batchTFraudAccept'),
      meta: {
        title: '批量撤销设立登记-待受理'
      },
      hidden: true
    },
    {
      path: 'cancelTodo',
      name: 'cancelTodo',
      component: () =>
        import ('@/views/cancel/cancelTodo'),
      meta: {
        title: '登记--经办人'
      },
      hidden: true
    },
    {
      path: 'cancelCheck',
      name: 'cancelCheck',
      component: () =>
        import ('@/views/cancel/cancelCheck'),
      meta: {
        title: '登记--审核人'
      },
      hidden: true
    },
    {
      path: 'cancelPass',
      name: 'cancelPass',
      component: () =>
        import ('@/views/cancel/cancelPass'),
      meta: {
        title: '登记--审批人'
      },
      hidden: true
    },
    {
      path: 'resultExamine',
      name: 'resultExamine',
      component: () =>
        import ('@/views/cancel/resultExamine'),
      meta: {
        title: '结果录入--审批人'
      },
      hidden: true
    }
  ]
},
{
  path: '/bBulkDeactivation',
  component: Layout,
  meta: {
    title: '批量强制注销',
    icon: 'dict'

  },
  children: [{
    path: '/bBulkDeactivation/batchDeactivation',
    name: 'batchDeactivation',
    component: () =>
      import('@/views/bBulkDeactivation/batchDeactivation'),
    meta: {
      title: '名单导入'
    }
  },
  {
    path: '/bBulkDeactivation/batchDeactivation/registerZXAccept',
    name: 'registerZXAccept',
    component: () =>
      import('@/views/bBulkDeactivation/batchDeactivationAccept'),
    meta: {
      title: '注销公告经办'
    },
    hidden: true
  },
  {
    path: '/bBulkDeactivation/batchDeactivation/registerZXExamine',
    name: 'registerZXAccept',
    component: () =>
      import('@/views/bBulkDeactivation/batchDeactivationExamine'),
    meta: {
      title: '注销公告审核'
    },
    hidden: true
  },
  {
    path: '/bBulkDeactivation/batchDeactivation/registerZXApprove',
    name: 'registerZXAccept',
    component: () =>
      import('@/views/bBulkDeactivation/batchDeactivationApprove.vue'),
    meta: {
      title: '注销公告审批'
    },
    hidden: true
  },
  {
    path: '/bBulkDeactivation/batchDeactivation/forcedLogoutAccept',
    name: 'forcedLogoutAccept',
    component: () =>
      import('@/views/bBulkDeactivation/batchForcedLogoutAccept.vue'),
    meta: {
      title: '强制注销待受理'
    },
    hidden: true
  }]
},
{
  path: '/revoke',
  component: Layout,
  // redirect: '/revoke/revokeTodo',
  meta: {
    title: '批量吊销',
    icon: 'dict'

  },
  children: [{
    path: '/revoke/revokeList',
    name: 'revokeList',
    component: () =>
      import('@/views/revoke/revokeList'),
    meta: {
      title: '撤销复议诉讼'
    }
  },
  {
    path: '/revoke/revokeDetail',
    name: 'revokeDetail',
    component: () =>
      import('@/views/revoke/revokeDetail'),
    meta: {
      title: '撤销复议诉讼详情'
    },
    hidden: true
  }, {
    path: '/revoke/batchRevoke',
    name: 'batchRevoke',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '名单导入'
    }
  }, {
    path: '/revoke/register/accept',
    name: 'registerAccept',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '立案--经办人'
    },
    hidden: true
  }, {
    path: '/revoke/register/review',
    name: 'registerReview',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '立案--审核人'
    },
    hidden: true
  }, {
    path: '/revoke/register/examine',
    name: 'registerExamine',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '立案--审批人'
    },
    hidden: true
  }, {
    path: '/revoke/investigate/accept',
    name: 'investigateAccept',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '调查--经办人'
    },
    hidden: true
  }, {
    path: '/revoke/investigate/review',
    name: 'investigateReview',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '调查--审核人'
    },
    hidden: true
  }, {
    path: '/revoke/investigate/examine',
    name: 'investigateExamine',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '调查--审批人'
    },
    hidden: true
  }, {
    path: '/revoke/hearing/accept',
    name: 'hearingAccept',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '听证告知--经办人'
    },
    hidden: true
  }, {
    path: '/revoke/hearing/review',
    name: 'hearingReview',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '听证告知--审核人'
    },
    hidden: true
  }, {
    path: '/revoke/hearing/examine',
    name: 'hearingExamine',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '听证告知--审批人'
    },
    hidden: true
  }, {
    path: '/revoke/decision/accept',
    name: 'decisionAccept',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '处罚决定--经办人'
    },
    hidden: true
  }, {
    path: '/revoke/decision/review',
    name: 'decisionReview',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '处罚决定--审核人'
    },
    hidden: true
  }, {
    path: '/revoke/decision/department',
    name: 'decisionDepartment',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '处罚决定--法规部门审查'
    },
    hidden: true
  }, {
    path: '/revoke/decision/examine',
    name: 'decisionExamine',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '处罚决定--审批人'
    },
    hidden: true
  }, {
    path: '/revoke/send/accept',
    name: 'sendAccept',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '送达与结束--经办人'
    },
    hidden: true
  }, {
    path: '/revoke/send/review',
    name: 'sendReview',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '送达与结束--审核人'
    },
    hidden: true
  }, {
    path: '/revoke/send/examine',
    name: 'sendExamine',
    component: () =>
      import('@/views/revoke/BatchRevoke'),
    meta: {
      title: '送达与结束--审批人'
    },
    hidden: true
  }, {
    path: '/revoke/noRegister',
    name: 'noRegister',
    component: () =>
      import('@/views/revoke/NoRegister'),
    meta: {
      title: '案件终结'
    },
    hidden: true
  }, {
    path: 'revokeCorrections',
    name: 'revokeCorrections',
    component: () =>
      import('@/views/revoke/corrections/index'),
    meta: {
      title: '批量吊销勘误'
    }
  }, {
    path: 'revokeCorrectionsDetail',
    name: 'revokeCorrectionsDetail',
    component: () =>
      import('@/views/revoke/corrections/Detail'),
    meta: {
      title: '批量吊销勘误业务详情'
    },
    hidden: true
  }]
},

{
  path: '/market',
  component: Layout,
  meta: {
    title: '市场所监管',
    icon: 'dict'

  },
  redirect: '/market/tips',
  children: [{
    path: 'tips',
    name: 'marketWorkTips',
    component: () => import('@/views/market/tips'),
    meta: {
      title: '工作提示'

    }
  },
  {
    path: 'tips/abnormal',
    name: 'marketWorkTipsAbnormal',
    component: () => import('@/views/market/tips/abnormal'),
    meta: {
      title: '经营异常名录'

    },
    hidden: true
  },
  {
    path: 'tips/illegal',
    name: 'marketWorkTipsIllegal',
    component: () => import('@/views/market/tips/illegal'),
    meta: {
      title: '严重违法失信企业名录'

    },
    hidden: true
  },
  {
    path: 'ascription',
    name: 'marketAscription',
    component: () => import('@/views/market/ascription'),
    meta: {
      title: '属地管理'

    }
  },
  {
    path: 'dailysupervision',
    name: 'marketDailysupervision',
    component: () => import('@/views/market/dailysupervision/index.vue'),
    meta: {
      title: '投诉处理'

    }
  },
  {
    path: 'dynamicsupervision',
    name: 'marketDynamicSupervision',
    component: () => import('@/views/market/dynamicsupervision/index.vue'),
    meta: {
      title: '现场核查'

    }
  },
  {
    path: 'marketDynamicInspect',
    name: 'marketDynamicInspect',
    component: () => import('@/views/market/dynamicsupervision/inspect.vue'),
    meta: {
      title: '现场核查-检查录入页面'

    },
    hidden: true
  },
  {
    path: 'alternate',
    name: 'marketAlternate',
    component: () => import('@/views/market/alternate'),
    meta: {
      title: '顶岗管理'

    }
  },
  {
    path: 'random',
    name: 'marketRandom',
    component: () => import('@/views/market/random'),
    meta: {
      title: '双随机一公开'

    }
  },
  // {
  //   path: 'problem',
  //   name: 'marketProblem',
  //   component: () => import('@/views/market/problem'),
  //   meta: {
  //     title: '问题处置反馈',
  //     keepAlive: true
  //   }
  // },
  {
    path: 'problem/detail',
    name: 'marketProblemDetail',
    component: () => import('@/views/market/problem/Detail'),
    meta: {
      title: '问题详情'

    },
    hidden: true
  },
  {
    path: 'statistics',
    name: 'marketStatistics',
    component: () => import('@/views/market/statistics'),
    meta: {
      title: '统计数据'
    }
  },
  {
    path: 'search',
    name: 'marketSearch',
    component: () => import('@/views/market/search'),
    meta: {
      title: '信息查询'

    }
  },
  {
    path: 'search/result',
    name: 'marketSearchResult',
    component: () => import('@/views/market/search/Result'),
    meta: {
      title: '信息查询结果'

    },
    hidden: true
  },
  {
    path: 'search/result/detail',
    name: 'marketSearchResultDetail',
    component: () => import('@/views/market/search/Detail'),
    meta: {
      title: '信息详情'

    },
    hidden: true
  }
  ]
},
{
  path: '/blacklist',
  component: Layout,
  meta: {
    title: '失信异常名单管理',
    icon: 'dict'

  },
  redirect: '/blacklist/entManage/enterpriseSearch',
  children: [
    {
      path: 'entManage/enterpriseSearch',
      name: 'entManageEnterpriseSearch',
      component: () =>
        import ('@/views/blacklist/enterpriseManage/enterpriseSearch'),
      meta: {
        title: '企业失信异常名单管理',
        keepAlive: true
      }
    }, {
      path: 'entManage/entBlacklistInfo',
      name: 'entManageEntBlacklistInfo',
      component: () =>
        import ('@/views/blacklist/enterpriseManage/entBlacklistInfo'),
      meta: {
        title: '企业失信异常名单信息'

      },
      hidden: true
    },
    {
      path: 'entManage/statistics',
      name: 'entManageStatistics',
      component: () =>
        import ('@/views/blacklist/enterpriseManage/statistics'),
      meta: {
        title: '统计数据'
      }
    }
  ]
},
{
  path: '/py/blacklist',
  component: Layout,
  meta: {
    title: '番禺区黑名单企业管理',
    icon: 'dict'

  },
  redirect: '/py/blacklist/list',
  children: [
    {
      path: 'list',
      component: () =>
        import ('@/views/blacklist/py/list'),
      meta: {
        title: '番禺区黑名单企业管理',
        keepAlive: true
      }
    }
  ]
},
{
  path: '/punish',
  component: Layout,
  meta: {
    title: '联合惩戒',
    icon: 'dict'

  },
  redirect: '/punish/inclusion/list',
  children: [{
    path: 'inclusion/list',
    name: 'punishInclusionList',
    component: () =>
      import ('@/views/punishment/inclusion/List'),
    meta: {
      title: '联合惩戒锁定'

    }
  },
  {
    path: 'inclusion/accept',
    name: 'punishInclusionAccept',
    component: () =>
      import ('@/views/punishment/inclusion/Accept'),
    meta: {
      title: '联合惩戒锁定--经办人'

    },
    hidden: true
  },
  {
    path: 'inclusion/review',
    name: 'punishInclusionReview',
    component: () =>
      import ('@/views/punishment/inclusion/Review'),
    meta: {
      title: '联合惩戒锁定--审核人'

    },
    hidden: true
  },
  {
    path: 'inclusion/reviewAgain',
    name: 'punishInclusionReviewAgain',
    component: () =>
      import ('@/views/punishment/inclusion/ReviewAgain'),
    meta: {
      title: '联合惩戒锁定--审批人'

    },
    hidden: true
  },
  {
    path: 'inclusion/examine',
    name: 'punishInclusionExamine',
    component: () =>
      import ('@/views/punishment/inclusion/Examine'),
    meta: {
      title: '联合惩戒锁定--审批人'

    },
    hidden: true
  },
  {
    path: 'inclusion/info',
    name: 'punishInclusionInfo',
    component: () =>
      import('@/views/punishment/inclusion/Info'),
    hidden: true,
    meta: {
      title: '审批详情'

    }
  },
  {
    path: 'inclusion/aqschmdAjInfo',
    name: 'inclusion/aqschmdAjInfo',
    component: () =>
      import ('@/views/punishment/inclusion/aqschmdAjInfo'),
    meta: {
      title: '惩戒详情'

    },
    hidden: true
  },
  {
    path: 'remove/list',
    name: 'punishRemoveList',
    component: () =>
      import ('@/views/punishment/remove/List'),
    meta: {
      title: '联合惩戒解锁'

    }
  },
  {
    path: 'search',
    name: 'punishSearch',
    component: () =>
      import ('@/views/punishment/search/Search'),
    meta: {
      title: '查询'

    }
  },
  {
    path: 'oneDetails',
    name: 'details',
    component: () =>
      import ('@/views/punishment/search/details'),
    meta: {
      title: '联合惩戒详情'

    },
    hidden: true
  },
  {
    path: 'manage',
    name: 'punishManage',
    component: () =>
      import ('@/views/punishment/measures/MeasureManage'),
    meta: {
      title: '惩戒措施管理'

    }
  },
  {
    path: 'remove/accept',
    name: 'punishRemoveAccept',
    component: () =>
      import ('@/views/punishment/remove/Accept'),
    meta: {
      title: '联合惩戒解锁--经办人'

    },
    hidden: true
  },
  {
    path: 'remove/review',
    name: 'punishRemoveReview',
    component: () =>
      import ('@/views/punishment/remove/Review'),
    meta: {
      title: '联合惩戒解锁--审核人'

    },
    hidden: true
  },
  {
    path: 'remove/reviewAgain',
    name: 'punishRemoveReviewAgain',
    component: () =>
      import ('@/views/punishment/remove/ReviewAgain'),
    meta: {
      title: '联合惩戒解锁--审批人'

    },
    hidden: true
  },
  {
    path: 'remove/examine',
    name: 'punishRemoveExamine',
    component: () =>
      import ('@/views/punishment/remove/Examine'),
    meta: {
      title: '联合惩戒解锁--审批人'

    },
    hidden: true
  },
  {
    path: 'remove/info',
    name: 'punishRemoveInfo',
    component: () =>
      import('@/views/punishment/remove/Info'),
    hidden: true,
    meta: {
      title: '审批详情'

    }
  },
  {
    path: 'inclusion/census',
    name: 'Census',
    component: () =>
      import ('@/views/punishment/inclusion/Census'),
    meta: {
      title: '联合惩戒统计'

    }
  },
  {
    path: 'inclusion/censusList',
    name: 'CensusList',
    component: () =>
      import ('@/views/punishment/inclusion/CensusList'),
    meta: {
      title: '联合惩戒统计列表'
    },
    hidden: true
  },
  {
    path: 'search2',
    name: 'punishSearch2',
    component: () =>
      import ('@/views/punishment/search2/Search'),
    meta: {
      title: '联合惩戒查询2025'
    }
  },
  {
    path: 'feedBackList',
    name: 'feedBackList',
    component: () =>
      import ('@/views/punishment/search2/feedBackList'),
    meta: {
      title: '反馈措施列表2025'
    }
  }
  ]
},
{
  path: '/aiAssign',
  component: Layout,
  meta: {
    title: '智慧认领',
    icon: 'dict'

  },
  children: [
    {
      path: 'slice',
      name: 'marketSlice',
      component: () => import('@/views/system/slice'),
      meta: {
        title: '自动认领设置'

      }
    },
    {
      path: 'assign',
      name: 'marketAssign',
      component: () => import('@/views/market/assign'),
      meta: {
        title: '公共库管理'

      }
    },
    {
      path: 'draftRevoke',
      name: 'marketDraftRevoke',
      component: () => import('@/views/market/draftrevoke'),
      meta: {
        title: '拟撤销主体库管理'

      }
    },
    {
      path: 'claimStatistics',
      name: 'claimStatistics',
      component: () => import('@/views/market/assign/statistics'),
      meta: {
        title: '认领情况统计表'

      }
    }]
},
{
  path: '/system',
  component: Layout,
  meta: {
    title: '系统管理',
    icon: 'dict'

  },
  children: [{
    path: 'commonWords',
    name: 'systemCommonWords',
    component: () =>
      import ('@/views/system/CommonWords'),
    meta: {
      title: '常用语管理'

    }
  },
  {
    path: 'slice',
    name: 'marketSlice',
    component: () => import('@/views/system/slice'),
    meta: {
      title: '自动认领设置'

    }
  },
  {
    path: 'dictManage',
    name: 'systemDictManage',
    component: () =>
      import('@/layout/components/abnormal/AppAbnormal'),
    meta: {
      title: '字典管理'

    },
    children: [{
      path: 'illegalActManage',
      name: 'systemIllegalActManage',
      component: () =>
        import ('@/views/system/dict/illegalActManage'),
      meta: {
        title: '违法行为管理'

      }
    }]
  },
  {
    path: 'logDetails',
    name: 'logDetails',
    component: () =>
      import ('@/views/system/logDetails'),
    meta: {
      title: '日志查询'

    }
  },
  {
    path: 'orgLogDetails',
    name: 'orgLogDetails',
    component: () =>
      import ('@/views/system/orgLogDetails'),
    meta: {
      title: '组织架构日志查询'

    }
  },
  {
    path: 'holidayList',
    name: 'holidayList',
    component: () =>
      import ('@/views/system/holidayList'),
    meta: {
      title: '节假日管理'

    }
  },
  {
    path: 'updatePassword',
    name: 'systemUpdatePassword',
    component: () =>
      import ('@/views/system/updatePassword'),
    meta: {
      title: '修改密码'

    }
  }, {
    path: 'operationManual',
    name: 'systemOperationManual',
    component: () =>
      import ('@/views/system/operationManual'),
    meta: {
      title: '下载操作手册'
    }
  }]
},
{
  path: '/reception',
  component: Layout,
  meta: {
    title: '信用数字监管服务台',
    icon: 'dict'
  },
  children: [
    {
      path: 'abn',
      component: () => import('@/views/reception/abn'),
      name: 'abn',
      meta: { title: '经营异常分析', roles: ['reception-abn'] }
    },
    {
      path: 'ill',
      component: () => import('@/views/reception/ill'),
      name: 'ill',
      meta: { title: '严重违法分析', roles: ['reception-ill'] }
    },
    {
      path: 'repair',
      component: () => import('@/views/reception/repair'),
      name: 'repair',
      meta: { title: '信用修复分析', roles: ['reception-repair'] }
    },
    {
      path: 'revoke',
      component: () => import('@/views/reception/revoke'),
      name: 'revoke',
      meta: { title: '批量吊销分析', roles: ['reception-revoke'] }
    },
    {
      path: 'lock',
      component: () => import('@/views/reception/lock'),
      name: 'lock',
      meta: { title: '联合惩戒分析', roles: ['reception-lock'] }
    },
    {
      path: 'fraud',
      component: () => import('@/views/reception/fraud'),
      name: 'fraud',
      meta: { title: '撤销登记分析', roles: ['reception-fraud'] }
    },
    {
      path: 'usua',
      component: () => import('@/views/reception/usua'),
      name: 'usua',
      meta: { title: '协同监管分析', roles: ['reception-usua'] }
    }
  ]
},
{
  path: '/comprehensive',
  component: Layout,
  meta: {
    title: '综合查询',
    icon: 'dict'

  },
  // redirect: '/comprehensive/query',
  children: [{
    path: 'abnMarket',
    name: 'abnMarket',
    component: () =>
      import ('@/views/comprehensive/abnMarket'),
    meta: {
      title: '经营异常名录查询'

    }
  },
  {
    path: 'illegalQuery',
    component: () =>
      import ('@/views/comprehensive/illegalQuery'),
    meta: {
      title: '严重违法失信名录查询'

    }
  },
  {
    path: 'xyxfcqQuery',
    component: () =>
      import ('@/views/comprehensive/xyxfcqQuery'),
    meta: {
      title: '信用修复超期查询'

    }
  },
  {
    path: 'czzxentQuery',
    component: () =>
      import ('@/views/comprehensive/czzxentQuery'),
    meta: {
      title: '强制注销企业查询'

    }
  },
  {
    path: 'revoke',
    name: 'revokeBusinessQuery',
    component: () =>
      import ('@/views/comprehensive/revokeBusiness'),
    meta: {
      title: '批吊业务查询'

    }
  },
  {
    path: 'query',
    name: 'comprehensiveQuery',
    component: () =>
      import ('@/views/comprehensive/result'),
    meta: {
      title: '主体查询'

    }
  },
  {
    path: 'comprehensiveStatistics',
    name: 'cphStatistics',
    component: () =>
      import ('@/views/comprehensive/comprehensiveStatistics'),
    meta: {
      title: '业务统计'

    }
  },
  {
    path: 'specialStatistics',
    name: 'specialStatistics',
    component: () => import ('@/views/comprehensive/specialStatistics'),
    meta: {
      title: '专项统计'
    }
  },
  {
    path: 'abnDetails',
    component: () => import ('@/views/comprehensive/abnDetails'),
    hidden: true,
    meta: {
      title: '专项统计主体详情'
    }
  },
  {
    path: 'business',
    name: 'business',
    component: () =>
      import ('@/views/comprehensive/business'),
    meta: {
      title: '业务查询'
    }
  },
  {
    path: 'repairTask',
    name: 'repairTask',
    component: () =>
      import ('@/views/comprehensive/repairTask'),
    meta: {
      title: '信用修复预警待办分析'
    }
  },
  {
    path: 'batchRevokeForward',
    name: 'batchRevokeForward',
    component: () =>
      import ('@/views/comprehensive/batchRevokeForward'),
    meta: {
      title: '批量吊销任务转办'
    }
  },
  {
    path: 'writsSearch',
    name: 'systemWritsSearch',
    component: () =>
      import ('@/views/system/WritsSearch'),
    meta: {
      title: '文书查询'

    }
  },
  {
    path: 'details',
    name: 'comprehensiveDetails',
    component: () =>
      import ('@/views/comprehensive/details'),
    hidden: true,
    meta: {
      title: '综合查询详情',
      icon: 'dict'

    }
  },
  {
    path: 'creditDetails',
    name: 'creditDetails',
    component: () =>
      import ('@/views/comprehensive/creditDetails'),
    hidden: true,
    meta: {
      title: '严重违法业务查看',
      icon: 'dict'

    }
  },
  {
    path: 'result',
    name: 'comprehensiveResult',
    component: () =>
      import ('@/views/comprehensive/result'),
    hidden: true,
    meta: {
      title: '综合查询结果',
      icon: 'dict'

    }
  }]
},
{
  path: '/sjdzlb',
  component: Layout,
  meta: {
    title: '数据对账列表',
    icon: 'dict'
  },
  children: [
    {
      path: 'qyxysjqydzxt',
      component: () => import('@/views/数据对账列表/企业信用数据迁移对账系统/index.vue'),
      name: 'qyxysjqydzxt',
      meta: { title: '企业信用数据迁移对账系统' }
    }
  ]
},
{
  path: '/susnate',
  component: Layout,
  meta: {
    title: '涉嫌冒用他人身份取得登记信息',
    icon: 'dict'
  },
  children: [
    {
      path: 'susnateList',
      component: () => import('@/views/susnate/index.vue'),
      name: 'susnateList',
      meta: { title: '涉嫌冒用他人身份取得登记信息' }
    }
  ]
},
{
  path: '/',
  component: Layout,
  redirect: '/todo'
}
]

/**
 * asyncRoutes
 * the routes that need to be dynamically loaded based on user roles
 */
export const asyncRoutes = [
  // {
  //   path: '/role',
  //   component: Layout,
  //   meta: {
  //     title: '权限拦截',
  //     icon: 'user'
  //   },
  //   children: [
  //     {
  //       path: 'admin-role',
  //       name: 'AdminRole',
  //       component: () => import('@/views/role/AdminRole'),
  //       meta: {
  //         title: 'admin角色',
  //         roles: ['admin']
  //       }
  //     },
  //     {
  //       path: 'editor-role',
  //       name: 'EditorRole',
  //       component: () => import('@/views/role/EditorRole'),
  //       meta: {
  //         title: 'editor角色',
  //         roles: ['editor']
  //       }
  //     }
  //   ]
  // }
]

const createRouter = () => new Router({
  // mode: 'history', // require service support
  scrollBehavior: () => ({
    y: 0
  }),
  routes: constantRoutes
})

const router = createRouter()

// Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465
export function resetRouter() {
  const newRouter = createRouter()
  router.matcher = newRouter.matcher // reset router
}

export default router
