export default {
  path: "platform",
  component: () => import("@/views/platformSection/index.vue"),
  name: "platform",
  meta: {
    keepAlive: true,
    isAuth: true,
    title: "平台管控"
  },
  redirect: {
    path: "/platform/home"
  },
  children: [
    {
      path: "home",
      component: () => import("@/views/platformSection/home/index.vue"),
      name: "home",
      meta: {
        keepAlive: true,
        isAuth: true,
        title: "平台管控-首页"
      }
    },
    {
      path: "regionManage",
      component: () =>
        import("@/views/platformSection/regionManage/regionManage.vue"),
      name: "regionManage",
      meta: {
        keepAlive: true,
        isAuth: true,
        title: "平台管控-区域管理"
      }
    },
    {
      path: "adminManage",
      component: () =>
        import("@/views/platformSection/regionManage/adminManage.vue"),
      name: "adminManage",
      meta: {
        keepAlive: true,
        isAuth: true,
        title: "平台管控-管理员"
      }
    },
    {
      path: "whitelistLibrary",
      component: () =>
        import("@/views/platformSection/networkManage/whitelistLibrary.vue"),
      name: "whitelistLibrary",
      meta: {
        keepAlive: true,
        isAuth: true,
        title: "平台管控-白名单库"
      }
    },
    {
      path: "deviceExport",
      component: () => import("@/views/platformSection/log/deviceExport.vue"),
      name: "deviceExport",
      meta: {
        keepAlive: true,
        isAuth: true,
        title: "平台管控-设备导出"
      }
    },
    {
      path: "notice",
      component: () => import("@/views/platformSection/notice/notice.vue"),
      name: "notice",
      meta: {
        keepAlive: true,
        isAuth: true,
        title: "平台管控-公告"
      }
    }
  ]
};
