import Layout from "@/layout/index.vue";

//单站监控
// todo 本地设置了 hidden:true,不会显示在侧边栏，需要在系统管理、菜单管理中手动添加菜单后才会展示在侧边栏
export const dzjk = [
    {
        path: '/dzjk',
        component: Layout,
        redirect: '/dzjk/home',
        meta: {title: '单站监控', icon: 'server',},
        alwaysShow: false,
        name: 'Dzjk',
        children: [
            {
                path: '/dzjk/home',
                component: () => import('@/views/ems/dzjk/home/index.vue'),
                name: 'DzjkHome',
                meta: {title: '站点首页', breadcrumb: false, activeMenu: '/dzjk/home', activeSecondMenuName: 'DzjkHome'}
            },
            {
                path: '/dzjk/zxlt',
                component: () => import('@/views/ems/dzjk/zxlt/index.vue'),
                name: 'DzjkZxlt',
                meta: {title: '主线路图', breadcrumb: false, activeMenu: '/dzjk/zxlt', activeSecondMenuName: 'DzjkZxlt'}
            },
            {
                path: '/dzjk/sbjk',
                component: () => import('@/views/ems/dzjk/sbjk/index.vue'),
                name: 'DzjkSbjk',
                alwaysShow: false,
                meta: {title: '设备监控', breadcrumb: false, activeMenu: '/dzjk/sbjk'},
                hidden: false,
                redirect: '/dzjk/sbjk/ssyx',
                children: [
                    {
                        path: 'ssyx',
                        component: () => import('@/views/ems/dzjk/sbjk/ssyx/index.vue'),
                        name: 'DzjkSbjkSsyx',
                        hidden: true,
                        meta: {
                            title: '实时运行',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'SSYX'
                        },
                    },
                    {
                        path: 'ems',
                        component: () => import('@/views/ems/dzjk/sbjk/ems/index.vue'),
                        name: 'DzjkSbjkEms',
                        hidden: true,
                        meta: {
                            title: 'EMS',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'EMS'
                        },
                    },
                    {
                        path: 'pcs',
                        component: () => import('@/views/ems/dzjk/sbjk/pcs/index.vue'),
                        name: 'DzjkSbjkPcs',
                        hidden: true,
                        meta: {
                            title: 'PCS',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'PCS'
                        },
                    },
                    {
                        path: 'bmszl',
                        component: () => import('@/views/ems/dzjk/sbjk/bmszl/index.vue'),
                        name: 'DzjkSbjkBmszl',
                        hidden: true,
                        meta: {
                            title: 'BMS总览',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'STACK'
                        },
                    },
                    {
                        path: 'bmsdcc',
                        component: () => import('@/views/ems/dzjk/sbjk/bmsdcc/index.vue'),
                        name: 'DzjkSbjkBmsdcc',
                        hidden: true,
                        meta: {
                            title: 'BMS电池簇',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'CLUSTER'
                        },
                    },
                    {
                        path: 'dtdc',
                        component: () => import('@/views/ems/dzjk/sbjk/dtdc/index.vue'),
                        name: 'DzjkSbjkDtdc',
                        hidden: true,
                        meta: {
                            title: '单体电池',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'BATTERY'
                        },
                    },
                    {
                        path: 'db',
                        component: () => import('@/views/ems/dzjk/sbjk/db/index.vue'),
                        name: 'DzjkSbjkDb',
                        hidden: true,
                        meta: {
                            title: '电表',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'AMMETER'
                        },
                    },
                    {
                        path: 'yl',
                        component: () => import('@/views/ems/dzjk/sbjk/yl/index.vue'),
                        name: 'DzjkSbjkYl',
                        hidden: true,
                        meta: {
                            title: '液冷',
                            breadcrumb: false,
                            activeMenu: '/dzjk/sbjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'COOLING'
                        },
                    },
                    {
                        path: 'dh',
                        component: () => import('@/views/ems/dzjk/sbjk/dh/index.vue'),
                        name: 'DzjkSbjkDh',
                        hidden: true,
                        meta: {
                            title: '动环',
                            breadcrumb: false,
                            activeMenu: '/dzjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'DH'
                        },
                    },
                    {
                        path: 'xf',
                        component: () => import('@/views/ems/dzjk/sbjk/xf/index.vue'),
                        name: 'DzjkSbjkXf',
                        hidden: true,
                        meta: {
                            title: '消防',
                            breadcrumb: false,
                            activeMenu: '/dzjk',
                            activeSecondMenuName: 'DzjkSbjk',
                            deviceCategory: 'XF'
                        },
                    }
                ]
            },
            {
                path: '/dzjk/gzgj',
                component: () => import('@/views/ems/dzjk/gzgj/index.vue'),
                name: 'DzjkGzgj',
                meta: {title: '故障告警', breadcrumb: false, activeMenu: '/dzjk/gzgj', activeSecondMenuName: 'DzjkGzgj'}
            },
            {
                path: '/dzjk/tjbb',
                component: () => import('@/views/ems/dzjk/tjbb/index.vue'),
                name: 'DzjkTjbb',
                alwaysShow: false,
                meta: {title: '统计报表', breadcrumb: false, activeMenu: '/dzjk/tjbb'},
                hidden: false,
                redirect: '/dzjk/tjbb/gltj',
                children: [
                    {
                        path: 'gltj',
                        component: () => import('@/views/ems/dzjk/tjbb/gltj/index.vue'),
                        name: 'DzjkTjbbGltj',
                        hidden: true,
                        meta: {
                            title: '概率统计',
                            breadcrumb: false,
                            activeMenu: '/dzjk/tjbb',
                            activeSecondMenuName: 'DzjkTjbb'
                        },
                    },
                    {
                        path: 'glqx',
                        component: () => import('@/views/ems/dzjk/tjbb/glqx/index.vue'),
                        name: 'DzjkTjbbGlqx',
                        hidden: true,
                        meta: {
                            title: '功率曲线',
                            breadcrumb: false,
                            activeMenu: '/dzjk/tjbb',
                            activeSecondMenuName: 'DzjkTjbb'
                        },
                    },
                    {
                        path: 'pcsqx',
                        component: () => import('@/views/ems/dzjk/tjbb/pcsqx/index.vue'),
                        name: 'DzjkTjbbPcsqx',
                        hidden: true,
                        meta: {
                            title: 'PCS曲线',
                            breadcrumb: false,
                            activeMenu: '/dzjk/tjbb',
                            activeSecondMenuName: 'DzjkTjbb'
                        },
                    },
                    {
                        path: 'dcdqx',
                        component: () => import('@/views/ems/dzjk/tjbb/dcdqx/index.vue'),
                        name: 'DzjkTjbbDcdqx',
                        hidden: true,
                        meta: {
                            title: '电池堆曲线',
                            breadcrumb: false,
                            activeMenu: '/dzjk/tjbb',
                            activeSecondMenuName: 'DzjkTjbb'
                        },
                    },
                    {
                        path: 'dcwd',
                        component: () => import('@/views/ems/dzjk/tjbb/dcwd/index.vue'),
                        name: 'DzjkTjbbDcwd',
                        hidden: true,
                        meta: {
                            title: '电池温度',
                            breadcrumb: false,
                            activeMenu: '/dzjk/tjbb',
                            activeSecondMenuName: 'DzjkTjbb'
                        },
                    },
                    {
                        path: 'dbbb',
                        component: () => import('@/views/ems/dzjk/tjbb/dbbb/index.vue'),
                        name: 'DzjkTjbbDbbb',
                        hidden: true,
                        meta: {
                            title: '电表报表',
                            breadcrumb: false,
                            activeMenu: '/dzjk/tjbb',
                            activeSecondMenuName: 'DzjkTjbb'
                        },
                    }
                ]
            },
            {
                path: '/dzjk/clpz',
                component: () => import('@/views/ems/dzjk/clpz/clyx/index.vue'),
                name: 'DzjkClpz',
                meta: {title: '策略配置', breadcrumb: false, activeMenu: '/dzjk/clpz'},
            }
        ]
    }
]



