// 出口管制
const ExportControl = () => import('@/views/exportControl/index.vue')

const exportControlRoutes = [
  // 出口管制首页
  {
    path: "/exportControl",
    name: "ExportControl",
    component: ExportControl,
    meta: {
      title: "出口管制概览",
      isShowHeader: true
    }
  },
  {
    path: "/exportControlAnalysis",
    name: "exportControlAnalysis",
    component: () => import("@/views/exportControl/analysis/index.vue"),
    redirect: "/exportControlAnalysis/overview",
    meta: {
      title: "分析页"
    },
    children: [
      {
        path: "overview",
        name: "exportControlAnalysisOverview",
        component: () => import("@/views/exportControl/analysis/content/overview.vue"),
        meta: {
          title: "制裁概况"
        }
      },
      {
        path: "deepDig",
        name: "exportControlAnalysisDeepDig",
        component: () => import("@/views/exportControl/analysis/content/deepDig.vue"),
        meta: {
          title: "深度挖掘"
        }
      },
      {
        path: "influence",
        name: "exportControlAnalysisInfluence",
        component: () => import("@/views/exportControl/analysis/content/influence.vue"),
        meta: {
          title: "影响分析"
        }
      },
    ]
  },
  {
    path: "/exportControl/analysis",
    name: "analysis",
    component: () => import("@/views/exportControl/analysis/index.vue"),
    meta: {
      title: "分析页"
    }
  },
  {
    path: "/exportControl/infoplatform",
    name: "infoplatform",
    component: () => import("@/views/exportControl/infoPlatform/index.vue"),
    meta: {
      title: "信息平台"
    }
  },
  {
    path: "/exportControl/rulelimit",
    name: "rulelimit",
    component: () => import("@/views/exportControl/ruleLimit/index.vue"),
    meta: {
      title: "规则限制"
    }
  },
  {
    path: "/exportControl/ruledetail",
    name: "ruledetail",
    component: () => import("@/views/exportControl/ruleDetail/index.vue"),
    meta: {
      title: "规则详情"
    }
  },
  {
    path: "/exportControl/researchfunding",
    name: "researchfunding",
    component: () => import("@/views/exportControl/researchFunding/index.vue"),
    meta: {
      title: "科研资助"
    }
  },
  // V2.0全部实体清单
  {
    path: "/exportControl/entityList",
    name: "entityList",
    component: () => import("@/views/exportControl/v2.0EntityList/index.vue"),
    meta: {
      title: "实体清单概览"
    }
  },
  // V2.0单条制裁详情
  {
    path: "/exportControl/singleSanction",
    name: "singleSanction",
    component: () => import("@/views/exportControl/v2.0SingleSanction/index.vue"),
    meta: {
      title: "单条制裁详情",
      dynamicTitle: true
    }
  },
  // V2.0单条制裁详情-实体清单原文
  {
    path: "/exportControl/origin",
    name: "entityListOrigin",
    component: () => import("@/views/exportControl/v2.0SingleSanction/originPage/index.vue"),  
    // meta: {
    //   title: "实体清单原文"
    // }
  },
  // V2.0全部实体清单
  {
    path: "/exportControl/commercialControlList",
    name: "commercialControlList",
    component: () => import("@/views/exportControl/v2.0CommercialControlList/index.vue"),
    meta: {
      title: "商业管制清单"
    }
  }
]

export default exportControlRoutes