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

import Layout from '@/layout'

const componentsRouter = {
  path: '/dataManagement',
  component: Layout,
  redirect: '/dataManagement/dataReception',
  name: 'dataManagement',
  meta: {
    noCache: true,
    title: '数据管理',
    icon: 'sjgl'
  },
  children: [{
      path: '/dataManagement/dataReception',
      component: () => import('@/views/dataManagement/dataReception'),
      name: 'dataReception',
      meta: {
        icon: "sjjs",
        noCache: true,
        title: "未入库档案接收"
      }
    },
    {
      path: '/dataManagement/achievementIntroduction',
      component: () => import('@/views/dataManagement/achievementIntroduction'),
      name: 'achievementIntroduction',
      meta: {
        icon: "gj",
        noCache: true,
        title: "未入库原文挂接"
      }
    },
    {
      path: '/dataManagement/dataImport',
      component: () => import('@/views/dataManagement/dataImport'),
      name: 'dataImport',
      meta: {
        icon: "sjdr",
        noCache: true,
        title: "未入库条目导入"
      }
    },
    {
      path: '/dataManagement/dataBackups',
      component: () => import('@/views/dataManagement/dataBackups'),
      name: 'dataBackups',
      meta: {
        icon: "sjbf",
        noCache: true,
        title: "数据备份"
      }
    },
    {
      path: '/dataManagement/originalArticle',
      component: () => import('@/views/dataManagement/originalArticle'),
      name: 'originalArticle',
      meta: {
        icon: "sjbf",
        noCache: true,
        title: "条目原文备份"
      }
    },
    {
      path: '/dataManagement/dataTransfer',
      component: () => import('@/views/dataManagement/dataTransfer'),
      name: 'dataTransfer',
      meta: {
        icon: "sjyj",
        noCache: true,
        title: "数据移交日志"
      }
    },
    {
      path: '/dataManagement/dataExport',
      component: () => import('@/views/dataManagement/dataExport'),
      name: 'dataExport',
      meta: {
        icon: "sjdc",
        noCache: true,
        title: "数据导出"
      }
    },
    {
      path: '/dataManagement/dataRelease',
      component: () => import('@/views/dataManagement/dataRelease'),
      name: 'dataRelease',
      meta: {
        icon: "sjfb",
        noCache: true,
        title: "数据发布"
      }
    },
    {
      path: '/dataManagement/backgroundTask',
      component: () => import('@/views/dataManagement/backgroundTask'),
      name: 'backgroundTask',
      meta: {
        icon: "htrw",
        noCache: true,
        title: "后台任务"
      }
    },
    {
      path: '/archives-management/ungroupedManagement/information',
      component: () => import('@/views/archives-management/ungroupedManagement/information'),
      name: 'information',
      meta: {
        icon: "rkrz",
        noCache: true,
        title: "数据接收"
      },
    },
    {
      path: '/dataManagement/onlineReceive',
      component: () => import('@/views/dataManagement/onlineReceive/index.vue'),
      name: 'onlineReceiveManage',
      meta: {
        icon: "rcgl",
        noCache: true,
        title: "在线接收"
      },
      children: [{
          path: '/dataManagement/onlineReceive/onlineManage',
          component: () => import('@/views/dataManagement/onlineReceive/onlineManage'),
          name: 'onlineManage',
          meta: {
            icon: "czrz",
            noCache: true,
            title: "在线接收"
          },
        },
        {
          path: '/dataManagement/onlineReceive/onlineRecord',
          component: () => import('@/views/dataManagement/onlineReceive/onlineRecord'),
          name: 'onlineRecord',
          meta: {
            icon: "sjaqbj",
            noCache: true,
            title: "接收记录"
          },
        },
      ]
    },

  ]
}

export default componentsRouter
