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

import Layout from '@/layout'

const componentsRouter = {
  path: '/preFiling',
  component: Layout,
  name: 'preFiling',
  meta: {
    noCache: true,
    title: '预归档管理',
    icon: 'ygdgl'
  },
  children: [{
      path: '/preFiling/file-management',
      component: () => import('@/views/preFiling/file-management/index.vue'),
      name: 'file-management',
      meta: {
        icon: "wjgl",
        noCache: true,
        title: "文件预归档"
      },
      children: [{
          path: '/preFiling/file-management/description',
          component: () => import('@/views/preFiling/file-management/description'),
          name: 'description',
          meta: {
            icon: "wjzl",
            noCache: true,
            title: "文件著录"
          },
        },
        {
          path: '/preFiling/file-management/filing',
          component: () => import('@/views/preFiling/file-management/filing'),
          name: 'filing',
          meta: {
            icon: "wjgd",
            noCache: true,
            title: "文件归档"
          },
        },
      ]
    },
    {
      path: '/preFiling/preArchiveManagement',
      component: () => import('@/views/preFiling/preArchiveManagement/index.vue'),
      name: 'preArchiveManagement',
      meta: {
        icon: "ygdgl",
        noCache: true,
        title: "OA预归档"
      },
      children: [{
          path: '/preFiling/preArchiveManagement/preFileDataDanagement',
          component: () => import('@/views/preFiling/preArchiveManagement/preFileDataDanagement'),
          name: 'preFileDataDanagement',
          meta: {
            icon: "sjgl",
            noCache: true,
            title: "OA数据管理"
          },
        },
        {
          path: '/preFiling/preArchiveManagement/preFileApp',
          component: () => import('@/views/preFiling/preArchiveManagement/preFileApp'),
          name: 'preFileApp',
          meta: {
            icon: "sjgl",
            noCache: true,
            title: "OA客户端"
          },
        },
        {
          path: '/preFiling/preArchiveManagement/annualFiling',
          component: () => import('@/views/preFiling/preArchiveManagement/annualFiling'),
          name: 'annualFiling',
          meta: {
            icon: "ndgd",
            noCache: true,
            title: "年度归档"
          },
        },
        {
          path: '/preFiling/preArchiveManagement/archiveLog',
          component: () => import('@/views/preFiling/preArchiveManagement/archiveLog'),
          name: 'archiveLog',
          meta: {
            icon: "gdrz",
            noCache: true,
            title: "归档日志"
          },
        },
      ]
    },
  ]
}

export default componentsRouter
