/* 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: '/responsibleUser',
      name: 'ResponsibleUser',
      component: () => import('@/views/systemConfig/responsibleUser/listResponsibleUser'),
      meta: { title: '联系人配置', icon: 'function', permission: ['/responsibleUser'] }
    },
    {
      path: '/alarmConfig',
      name: 'AlarmConfig',
      component: () => import('@/views/systemConfig/alarmConfig/listAlarmConfig'),
      meta: { title: '报警配置', icon: 'function', permission: ['/alarmConfig'] }
    },
    {
      path: '/viewsConfig',
      name: 'ViewsConfig',
      component: () => import('@/views/systemConfig/viewsConfig/viewsConfig'),
      meta: { title: '外观配置', icon: 'function', permission: ['/viewsConfig'] }
    },
    {
      path: '/deptPermission',
      name: 'DeptPermission',
      component: () => import('@/views/systemConfig/deptPermission/deptPermission'),
      meta: { title: '组织权限配置', icon: 'function', permission: ['/deptPermission/list'] }
    },
    {
      path: '/tenantConfig',
      name: 'TenantConfig',
      component: () => import('@/views/systemConfig/tenantConfig/tenantConfig'),
      meta: { title: '项目配置', icon: 'function', permission: ['/tenantConfig'] }
    }
  ]
}]
