/**
 * 数据中心模块——路由
 */
export enum DataCenterRouter {
    DATA_CENTER = "/dataCenter",
    DATA_MAP = "/dataCenter/map",
    DATA_INDUSTRIAL = "/dataCenter/industrial",
    DATA_ARMY = "/dataCenter/army",
}


export default [
    {
        path: DataCenterRouter.DATA_CENTER,
        name: "DataCenter",
        component: () => import("@/views/dataCenter/index.vue"),
        redirect: DataCenterRouter.DATA_MAP,
        children: [
            {
                path: DataCenterRouter.DATA_MAP,
                meta: {
                    label: "数据中心",
                },
                name: "Map",
                component: () => import("@/views/dataCenter/map/index.vue")
            },
            {
                path: DataCenterRouter.DATA_INDUSTRIAL,
                name: "Industrial",
                meta: {
                    person: {
                        path: DataCenterRouter.DATA_CENTER,
                        name: "DataCenter",
                        label: "数据中心",
                    },
                    label: "产业融合发展",
                },
                component: () => import("@/views/dataCenter/industrial/index.vue")
            },
            {
                path: DataCenterRouter.DATA_ARMY,
                name: "Army",
                meta: {
                    person: {
                        path: DataCenterRouter.DATA_CENTER,
                        name: "DataCenter",
                        label: "数据中心",
                    },
                    label: "服务强军兴军",
                },
                component: () => import("@/views/dataCenter/army/index.vue")
            }
        ],

    },

]