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

import Layout from '@/layout'

const componentsRouter = {
  path: '/archiveUtilize',
  component: Layout,
  name: 'archiveUtilize',
  meta: {
    noCache: true,
    title: '档案利用',
    icon: 'daly'
  },
  children: [
    // {
    //   path: '/archiveUtilize/entityArchivesBorrowing',
    //   component: () => import('@/views/archiveUtilize/entityArchivesBorrowing'),
    //   name: 'entityArchivesBorrowing',
    //   meta: {
    //     icon: "stjy ",
    //     noCache: true,
    //     title: "实体档案借阅"
    //   },
    // },
    {
      path: '/archiveUtilize/archivesRetrieval/fullTextSearch',
      component: () => import('@/views/archiveUtilize/archivesRetrieval/fullTextSearch'),
      name: 'fullTextSearch',
      meta: {
        icon: "qwjs",
        noCache: true,
        title: "全文检索"
      },
    },
    {
      path: '/archiveUtilize/archivesRetrieval/categoryRetrieval',
      component: () => import('@/views/archiveUtilize/archivesRetrieval/categoryRetrieval'),
      name: 'categoryRetrieval',
      meta: {
        icon: "mljs",
        noCache: true,
        title: "门类检索"
      },
    },
    {
      path: '/archiveUtilize/archivesRetrieval/authorizedElectronicRecords',
      component: () => import('@/views/archiveUtilize/archivesRetrieval/authorizedElectronicRecords'),
      name: 'authorizedElectronicRecords',
      meta: {
        icon: "dzdajy",
        noCache: true,
        title: "授权电子借阅"
      },
    },
    {
      path: '/archiveUtilize/electronicAuthorizationReplication',
      component: () => import('@/views/archiveUtilize/electronicAuthorizationReplication'),
      name: 'electronicAuthorizationReplication',
      meta: {
        icon: "zd",
        noCache: true,
        title: "电子授权复制"
      },
    },
    {
      path: '/archiveUtilize/archiveReplicationManagement',
      component: () => import('@/views/archiveUtilize/archiveReplicationManagement'),
      name: 'archiveReplicationManagement',
      meta: {
        icon: "zd",
        noCache: true,
        title: "档案复制管理"
      },
    },
    {
      path: '/archiveUtilize/returnPhysicalArchives',
      component: () => import('@/views/archiveUtilize/returnPhysicalArchives'),
      name: 'returnPhysicalArchives',
      meta: {
        icon: "stgh",
        noCache: true,
        title: "实体档案归还"
      },
    },
    {
      path: '/archiveUtilize/archivesRetrieval/retrievalLog',
      component: () => import('@/views/archiveUtilize/archivesRetrieval/retrievalLog'),
      name: 'retrievalLog',
      meta: {
        icon: "jsrz",
        noCache: true,
        title: "检索日志"
      },
    },
    {
      path: '/archiveUtilize/compilationResearch',
      component: () => import('@/views/archiveUtilize/compilationResearch'),
      name: 'compilationResearch',
      meta: {
        icon: "daby",
        noCache: true,
        title: "档案编研"
      },
      children: [{
          path: '/archiveUtilize/compilationResearch/editingTopics',
          component: () => import('@/views/archiveUtilize/compilationResearch/editingTopics'),
          name: 'editingTopics',
          meta: {
            icon: "byzt",
            noCache: true,
            title: "编研主题"
          }
        },
        {
          path: '/archiveUtilize/compilationResearch/taskAllocation',
          component: () => import('@/views/archiveUtilize/compilationResearch/taskAllocation'),
          name: 'taskAllocation',
          meta: {
            icon: "byrwfp",
            noCache: true,
            title: "编研任务分配"
          }
        },
        {
          path: '/archiveUtilize/compilationResearch/onlineWriting',
          component: () => import('@/views/archiveUtilize/compilationResearch/onlineWriting'),
          name: 'onlineWriting',
          meta: {
            icon: "zxbx",
            noCache: true,
            title: "在线编写"
          }
        },
        {
          path: '/archiveUtilize/compilationResearch/documentView',
          component: () => import('@/views/archiveUtilize/compilationResearch/documentView'),
          name: 'documentView',
          meta: {
            icon: "byck",
            noCache: true,
            title: "编研文档查看"
          }
        },
        {
          path: '/archiveUtilize/compilationResearch/onlineTypesetting',
          component: () => import('@/views/archiveUtilize/compilationResearch/onlineTypesetting'),
          name: 'onlineTypesetting',
          meta: {
            icon: "bypb",
            noCache: true,
            title: "在线排版"
          }
        },
        {
          path: '/archiveUtilize/compilationResearch/typesettingView',
          component: () => import('@/views/archiveUtilize/compilationResearch/typesettingView'),
          name: 'typesettingView',
          meta: {
            icon: "pbck",
            noCache: true,
            title: "编研排版查看"
          }
        },

      ]
    }, 
    {
      path: '/homePage/approvalAll',
      component: () => import('@/views/homePage/approvalAll'),
      name: 'approvalAll',
      meta: {
        icon: "ywgl",
        noCache: true,
        title: "档案利用服务"
      },
    },
    {
      path: '/homePage/archiveProveService',
      component: () => import('@/views/homePage/archiveProveService'),
      name: 'archiveProveService',
      meta: {
        icon: "ywgl",
        noCache: true,
        title: "档案证明服务"
      },
    },
  ]
}

export default componentsRouter
