// 市场准入限制
import MarketAccessRestrictions from "@/views/marketAccessRestrictions/marketAccessHome/index.vue";
import MarketAccessLayout from "@/views/marketAccessRestrictions/marketAccessLayout/index.vue";
import MarketAccessOverview from "@/views/marketAccessRestrictions/marketAccessLayout/overview/index.vue";
import MarketAccessCase from "@/views/marketAccessRestrictions/marketAccessLayout/case/index.vue";
import MarketSingleCaseLayout from "@/views/marketAccessRestrictions/singleCaseLayout/index.vue";
import MarketSingleCaseOverview from "@/views/marketAccessRestrictions/singleCaseLayout/overview/index.vue";
import MarketSingleCaseDeepdig from "@/views/marketAccessRestrictions/singleCaseLayout/deepdig/index.vue";

const marketAccessRestrictionsRoutes = [

  // 市场准入限制首页
  {
    path: "/marketAccessRestrictions",
    name: "MarketAccessRestrictions",
    component: MarketAccessRestrictions,
    meta: {
      title: "市场准入限制概览"
    }
  },
  {
    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