/* Layout */
import Layout from '@/layout/Layout'
export const configRouters = [{
  path: 'systemConfig',
  component: Layout,
  redirect: '/',
  name: 'SystemConfig',
  alwaysShow: true,
  meta: {
    title: '系统配置',
    icon: 'icon-config', // 图标
    permission: ['/sysconfig']// 权限名称
  },
  children: [
    {
      path: '/tenantConfig',
      name: 'TenantConfig',
      component: () => import('@/views/systemConfig/tenantConfig/tenantConfig'),
      meta: { title: '项目配置', icon: 'function', permission: ['/tenantConfig'] }
    },
    {
      path: '/viewsConfig',
      name: 'ViewsConfig',
      component: () => import('@/views/systemConfig//viewsConfig/viewsConfig'),
      meta: { title: '外观配置', icon: 'function', permission: ['/viewsConfig'] }
    },
    {
      path: '/responsibleUser',
      name: 'ResponsibleUser',
      component: () => import('@/views/systemConfig/responsibleUser/listResponsibleUser'),
      meta: { title: '联系人配置', icon: 'function', permission: ['/responsibleUser'] }
    },
    {
      path: '/alarmLevel',
      name: 'AlarmLevel',
      component: () => import('@/views/systemConfig/alarmLevel/listLevel'),
      meta: { title: '告警等级配置', icon: 'function', permission: ['/alarmLevel'] }
    },
    {
      path: '/alarmContent',
      name: 'AlarmContent',
      component: () => import('@/views/systemConfig/alarmContent/listContent'),
      meta: { title: '告警内容配置', icon: 'function', permission: ['/alarmContent'] }
    },
    {
      path: '/deptPermission',
      name: 'DeptPermission',
      component: () => import('@/views/systemConfig/deptPermission/deptPermission'),
      meta: { title: '组织权限配置', icon: 'function', permission: ['/deptPermission'] }
    }
  ]
}]
