// 市场准入限制
const MarketAccessRestrictions = () => import('@/views/marketAccessRestrictions/marketAccessHome/index.vue')
const MarketAccessLayout = () => import('@/views/marketAccessRestrictions/marketAccessLayout/index.vue')
const MarketAccessOverview = () => import('@/views/marketAccessRestrictions/marketAccessLayout/overview/index.vue')
const MarketAccessCase = () => import('@/views/marketAccessRestrictions/marketAccessLayout/case/index.vue')
const MarketSingleCaseLayout = () => import('@/views/marketAccessRestrictions/singleCaseLayout/index.vue')
const MarketSingleCaseOverview = () => import('@/views/marketAccessRestrictions/singleCaseLayout/overview/index.vue')
const MarketSingleCaseDeepdig = () => import('@/views/marketAccessRestrictions/singleCaseLayout/deepdig/index.vue')
const MarketSingleReportOriginal = () => import('@/views/marketAccessRestrictions/pages/reportOriginal.vue')

const marketAccessRestrictionsRoutes = [
  // 市场准入限制首页
  {
    path: "/marketAccessRestrictions",
    name: "MarketAccessRestrictions",
    component: MarketAccessRestrictions,
    meta: {
      title: "市场准入限制概览",
      isShowHeader: true
    }
  },
  {
    path: "/marketAccessLayout",
    name: "MarketAccessLayout",
    component: MarketAccessLayout,
    redirect: "/marketAccessLayout/case",
    meta: {
      title: "调查概览",
      dynamicTitle: true
    },
    children: [
      {
        path: "case",
        name: "MarketAccessCase",
        component: MarketAccessCase,
        meta: { noTitle: true }
      },
      {
        path: "overview",
        name: "MarketAccessOverview",
        component: MarketAccessOverview,
        meta: { noTitle: true }
      }
    ]
  },
  {
    path: "/marketSingleCaseLayout",
    name: "MarketSingleCaseLayout",
    component: MarketSingleCaseLayout,
    redirect: "/marketSingleCaseLayout/overview",
    meta: {
      title: "调查详情",
      dynamicTitle: true
    },
    children: [
      {
        path: "overview",
        name: "MarketSingleCaseOverview",
        component: MarketSingleCaseOverview,
        meta: { noTitle: true }
      },
      {
        path: "deepdig",
        name: "MarketSingleCaseDeepdig",
        component: MarketSingleCaseDeepdig,
        meta: { noTitle: true }
      }
    ]
  },
  {
    path: "reportOriginal",
    name: "MarketSingleReportOriginal",
    component: MarketSingleReportOriginal,
    meta: { noTitle: true }
  }
]

export default marketAccessRestrictionsRoutes