/* Layout */
import SinglePageLayout from '@/views/layout/SinglePageLayout'
import OverviewLayout from '@/views/layout/OverviewLayout'
export const ctrlSysRouters = [
  {
    path: '/ctrl',
    name: 'ctrl',
    redirect: '/ctrl',
    hidden: true,
    meta: {
      title: '综合控制室子系统',
      permission: ['/ctrl'],
      isSys: true
    }
  },
  {
    path: '/ctrl/index1',
    component: SinglePageLayout,
    name: 'CtrlIndex1',
    alwaysShow: false,
    meta: {
      title: '',
      icon: '', // 图标
      permission: ['/ctrl'], // 权限名称
      sys: '/ctrl'
    },
    children: [
      {
        path: '/ctrl/index',
        name: 'CtrlIndex',
        component: () => import('@/views/ctrl/index'),
        meta: { title: '综合控制室首页', icon: '', permission: ['/ctrl/index'], keepAlive: true }
      }
    ]
  },
  {
    path: '/ctrl/overview1',
    component: OverviewLayout,
    name: 'CtrlOverview1',
    alwaysShow: false,
    meta: {
      title: '',
      icon: '', // 图标
      permission: ['/ctrl'], // 权限名称
      sys: '/ctrl'
    },
    children: [
      {
        path: '/ctrl/overview',
        name: 'CtrlOverview',
        component: () => import('@/views/ctrl/overview'),
        meta: { title: '综合运行总览', icon: '', permission: ['/ctrl/overview'], keepAlive: true }
      }
    ]
  }
]
