// 市场准入限制
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 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: {
        //   title: "调查案件"
        // }
      },
      {
        path: "overview",
        name: "MarketAccessOverview",
        component: MarketAccessOverview,
        // meta: {
        //   title: "数据统计"
        // }
      }
    ]
  },

  {
    path: "/marketSingleCaseLayout",
    name: "MarketSingleCaseLayout",
    component: MarketSingleCaseLayout,
    redirect: "/marketSingleCaseLayout/overview",
    meta: {
      title: "调查详情",
      dynamicTitle: true
    },
    children: [
      {
        path: "overview",
        name: "MarketSingleCaseOverview",
        component: MarketSingleCaseOverview,
        // meta: {
        //   title: "调查简介"
        // }
      },
      {
        path: "deepdig",
        name: "MarketSingleCaseDeepdig",
        component: MarketSingleCaseDeepdig,
        // meta: {
        //   title: "深度挖掘"
        // }
      }
    ]
  },

]

export default marketAccessRestrictionsRoutes