/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const componentsRouter = {
  path: '/system-management',
  component: Layout,
  redirect: '/system-management/allAdministration',
  name: 'system-management',
  meta: {
    noCache: true,
    title: '系统管理',
    icon: 'xtgl'
  },
  children: [{
      path: '/system-management/templateSetting',
      component: () => import('@/views/system-management/templateSetting'),
      name: 'templateSetting',
      meta: {
        icon: "mbsz",
        noCache: true,
        title: "模板设置"
      }
    },
    {
      path: '/system-management/categoryManagement',
      component: () => import('@/views/system-management/categoryManagement'),
      name: 'categoryManagement',
      meta: {
        icon: "mlgl",
        noCache: true,
        title: "门类设置"
      }
    },
    {
      path: "/system-management/reportTemplate",
      component: () => import("@/views/system-management/reportTemplate"),
      name: "reportTemplate",
      meta: {
        icon: "mlgl",
        noCache: true,
        title: "报表模板"
      }
    },
    {
      path: '/system-management/categoryEdit',
      component: () => import('@/views/system-management/categoryEdit'),
      name: 'categoryEdit',
      meta: {
        icon: "mlgl",
        noCache: true,
        title: "门类修改"
      }
    },
    {
      path: '/system-management/archiveNoSettings',
      component: () => import('@/views/system-management/archiveNoSettings'),
      name: 'archiveNoSettings',
      meta: {
        icon: "mlgl",
        noCache: true,
        title: "档号设置"
      }
    },
    {
      path: '/system-management/fileSettings',
      component: () => import('@/views/system-management/fileSettings'),
      name: 'fileSettings',
      meta: {
        icon: "dasz",
        noCache: true,
        title: "实体分类方案设置"
      }
    },
    {
      path: '/system-management/archiveSettings',
      component: () => import('@/views/system-management/archiveSettings'),
      name: 'archiveSettings',
      meta: {
        icon: "gdgl",
        noCache: true,
        title: "来文发文归档设置"
      }
    },
    {
      path: '/system-management/fourCheckSettings',
      component: () => import('@/views/system-management/fourCheckSettings'),
      name: 'fourCheckSettings',
      meta: {
        icon: "lcsz",
        noCache: true,
        title: "四性检测设置"
      }
    },
    {
      path: '/system-management/processSettings',
      component: () => import('@/views/system-management/processSettings'),
      name: 'processSettings',
      meta: {
        icon: "lcsz",
        noCache: true,
        title: "流程设置"
      }
    },
    {
      path: '/system-management/qualityInspection',
      component: () => import('@/views/system-management/qualityInspection'),
      name: 'qualityInspection',
      meta: {
        icon: "zjxsz",
        noCache: true,
        title: "质检项设置"
      }
    },
    {
      path: '/system-management/metaDataEntry',
      component: () => import('@/views/system-management/metaDataEntry'),
      name: 'metaDataEntry',
      meta: {
        icon: "mlysj",
        noCache: true,
        title: "元数据登记"
      }
    },
    {
      path: '/system-management/categorySetting',
      component: () => import('@/views/system-management/categorySetting'),
      name: 'categorySetting',
      meta: {
        icon: "mlysj",
        noCache: true,
        title: "门类与元数据对比"
      }
    },
    {
      path: '/system-management/announcementManagement',
      component: () => import('@/views/system-management/announcementManagement'),
      name: 'announcementManagement',
      meta: {
        icon: "gggl",
        noCache: true,
        title: "公告管理"
      }
    },
    {
      path: '/system-management/originalSetting',
      component: () => import('@/views/system-management/originalSetting'),
      name: 'originalSetting',
      meta: {
        icon: "ywgl",
        noCache: true,
        title: "原文设置"
      }
    },
    {
      path: '/system-management/globalParameters',
      component: () => import('@/views/system-management/globalParameters'),
      name: 'globalParameters',
      meta: {
        icon: "qjcs",
        noCache: true,
        title: "全局参数"
      }
    },
    {
      path: '/system-management/tool',
      component: () => import('@/views/system-management/tool'),
      name: 'tool',
      meta: {
        icon: "qjcs",
        noCache: true,
        title: "工具管理"
      }
    },
    {
      path: '/system-management/openArchiveIndexControl',
      component: () => import('@/views/system-management/openArchiveIndexControl'),
      name: 'openArchiveIndexControl',
      meta: {
        icon: "qjcs",
        noCache: true,
        title: "开放数据控制"
      }
    },
    {
      path: '/system-management/medium',
      component: () => import('@/views/system-management/medium'),
      name: 'medium',
      meta: {
        icon: "qjcs",
        noCache: true,
        title: "介质管理"
      }
    },
    {
      path: '/system-management/dictionary',
      component: () => import('@/views/system-management/dictionary'),
      name: 'dictionary',
      meta: {
        icon: "qjcs",
        noCache: true,
        title: "字典管理"
      }
    },
    {
      path: '/system-management/timedTask',
      component: () => import('@/views/system-management/timedTask'),
      name: 'timedTask',
      meta: {
        icon: "qjcs",
        noCache: true,
        title: "定时任务"
      }
    },
  ]
}

export default componentsRouter
