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

import Layout from '@/layout'

const componentsRouter = {
  path: '/archiveStatistics',
  component: Layout,
  redirect: '/archiveStatistics/dataReception',
  name: 'archiveStatistics',
  meta: {
    noCache: true,
    title: '档案统计',
    icon: 'datj'
  },
  children: [
    {
      path: '/archives-management/collection',
      component: () => import('@/views/archives-management/collection'),
      name: 'collection',
      meta: {
        icon: "datj",
        noCache: true,
        title: "馆藏数据统计"
      },
      children: [{
          path: '/archives-management/collection/formationTime',
          component: () => import('@/views/archives-management/collection/formationTime'),
          name: 'formationTime',
          meta: {
            icon: "gctj",
            noCache: true,
            title: "形成时间统计"
          },
        },
        {
          path: '/archives-management/collection/statistics',
          component: () => import('@/views/archives-management/collection/statistics'),
          name: 'statistics',
          meta: {
            icon: "gctj",
            noCache: true,
            title: "档案统计"
          },
        },
        {
          path: '/archives-management/collection/storagePeriod',
          component: () => import('@/views/archives-management/collection/storagePeriod'),
          name: 'storagePeriod',
          meta: {
            icon: "gctj",
            noCache: true,
            title: "保管期限统计"
          },
        },
        {
          path: '/archives-management/collection/filingYear',
          component: () => import('@/views/archives-management/collection/filingYear'),
          name: 'filingYear',
          meta: {
            icon: "gctj",
            noCache: true,
            title: "归档年度统计"
          },
        },
        {
          path: '/archives-management/collection/quanzong',
          component: () => import('@/views/archives-management/collection/quanzong'),
          name: 'quanzong',
          meta: {
            icon: "gctj",
            noCache: true,
            title: "全宗号统计"
          },
        },
        {
          path: '/archives-management/collection/classification',
          component: () => import('@/views/archives-management/collection/classification'),
          name: 'classification',
          meta: {
            icon: "gctj",
            noCache: true,
            title: "分类号统计"
          },
        },
        {
          path: '/archives-management/collection/archivingRate',
          component: () => import('@/views/archives-management/collection/archivingRate'),
          name: 'archivingRate',
          meta: {
            icon: "gctj",
            noCache: true,
            title: "归档分类统计"
          },
        },

      ]
    },
    {
      path: '/archives-management/annualReport',
      component: () => import('@/views/archives-management/annualReport/index.vue'),
      name: 'annualReport',
      meta: {
        icon: "ndtj",
        noCache: true,
        title: "档案年报统计"
      },
    },
    {
      path: '/archives-management/tjpdf',
      component: () => import('@/views/archives-management/tjpdf/index.vue'),
      name: 'fileFormatReport',
      meta: {
        icon: "ndtj",
        noCache: true,
        title: "统计PDF页数"
      },
    },
    {
      path: '/archives-management/fileFormatReport',
      component: () => import('@/views/archives-management/fileFormatReport/index.vue'),
      name: 'fileFormatReport',
      meta: {
        icon: "ndtj",
        noCache: true,
        title: "文件格式统计"
      },
    },
    {
      path: '/archiveUtilize/archivesRetrieval/electronicArchivesUtilize',
      component: () => import('@/views/archiveUtilize/archivesRetrieval/electronicArchivesUtilize'),
      name: 'electronicArchivesUtilize',
      meta: {
        icon: "dzdalyrz",
        noCache: true,
        title: "电子档案申请统计"
      },
    },
    {
      path: '/archiveUtilize/utilizationStatistics',
      component: () => import('@/views/archiveUtilize/utilizationStatistics'),
      name: 'utilizationStatistics',
      meta: {
        icon: "jylytj",
        noCache: true,
        title: "借阅利用统计"
      },
    }
  ]
}

export default componentsRouter
