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

import Layout from "@/layout";

const componentsRouter = {
  path: "/archives-management",
  component: Layout,
  name: "archives-management",
  meta: {
    noCache: true,
    title: "档案管理",
    icon: "dagl"
  },
  children: [
    {
      path: "/archives-management/fileManagement/notStoredArchives",
      component: () =>
        import("@/views/archives-management/fileManagement/notStoredArchives"),
      name: "notStoredArchives",
      meta: {
        icon: "wrkgl",
        noCache: true,
        title: "未入库档案著录"
      }
    },
    {
      path: "/archives-management/fileManagement/notRecycleBin",
      component: () =>
        import("@/views/archives-management/fileManagement/notRecycleBin"),
      name: "notRecycleBin",
      meta: {
        icon: "wrkhsz",
        noCache: true,
        title: "未入库回收站"
      }
    },
    {
      path: "/archives-management/fileManagement/dataBrowsing",
      component: () =>
        import("@/views/archives-management/fileManagement/dataBrowsing"),
      name: "dataBrowsing",
      meta: {
        icon: "yrkgl",
        noCache: true,
        title: "已入库数据浏览"
      }
    },
    {
      path: "/archives-management/fileManagement/storedFavorites",
      component: () =>
        import("@/views/archives-management/fileManagement/storedFavorites"),
      name: "storedFavorites",
      meta: {
        icon: "yrkscj",
        noCache: true,
        title: "已入库收藏夹"
      }
    },
    {
      path: "/archives-management/archivalAppraisal",
      component: () =>
        import("@/views/archives-management/archivalAppraisal/index.vue"),
      name: "archivalAppraisal",
      meta: {
        icon: "dajd",
        noCache: true,
        title: "档案鉴定日志"
      },
      children: [
        {
          path:
            "/archives-management/archivalAppraisal/classifiedIdentification",
          component: () =>
            import(
              "@/views/archives-management/archivalAppraisal/classifiedIdentification"
            ),
          name: "classifiedIdentification",
          meta: {
            icon: "mjjd",
            noCache: true,
            title: "密级鉴定日志"
          }
        },
        {
          path: "/archives-management/archivalAppraisal/termIdentification",
          component: () =>
            import(
              "@/views/archives-management/archivalAppraisal/termIdentification"
            ),
          name: "termIdentification",
          meta: {
            icon: "qxjz",
            noCache: true,
            title: "期限鉴定日志"
          }
        },
        {
          path: "/archives-management/archivalAppraisal/openAppraisal",
          component: () =>
            import(
              "@/views/archives-management/archivalAppraisal/openAppraisal"
            ),
          name: "openAppraisal",
          meta: {
            icon: "kfjd",
            noCache: true,
            title: "开放鉴定日志"
          }
        },
        {
          path:
            "/archives-management/archivalAppraisal/destructionIdentification",
          component: () =>
            import(
              "@/views/archives-management/archivalAppraisal/destructionIdentification"
            ),
          name: "destructionIdentification",
          meta: {
            icon: "xhjd",
            noCache: true,
            title: "销毁鉴定日志"
          }
        },
        {
          path: "/archives-management/archivalAppraisal/dueAppraisal",
          component: () =>
            import(
              "@/views/archives-management/archivalAppraisal/dueAppraisal"
            ),
          name: "dueAppraisal",
          meta: {
            icon: "dqjd",
            noCache: true,
            title: "到期鉴定日志"
          }
        }
      ]
    },
    {
      path: "/archives-management/ungroupedManagement",
      component: () =>
        import("@/views/archives-management/ungroupedManagement/index.vue"),
      name: "ungroupedManagement",
      meta: {
        icon: "wzjgl",
        noCache: true,
        title: "未组卷管理"
      },
      children: [
        {
          path: "/archives-management/ungroupedManagement/notDescription",
          component: () =>
            import(
              "@/views/archives-management/ungroupedManagement/notDescription"
            ),
          name: "notDescription",
          meta: {
            icon: "wzjzl",
            noCache: true,
            title: "未组卷著录"
          }
        },
        {
          path: "/archives-management/ungroupedManagement/simplifiedPaper",
          component: () =>
            import(
              "@/views/archives-management/ungroupedManagement/simplifiedPaper"
            ),
          name: "simplifiedPaper",
          meta: {
            icon: "yrkscj",
            noCache: true,
            title: "简化组卷"
          }
        },
        {
          path: "/archives-management/ungroupedManagement/traditionPaper",
          component: () =>
            import(
              "@/views/archives-management/ungroupedManagement/traditionPaper"
            ),
          name: "traditionPaper",
          meta: {
            icon: "ctzj",
            noCache: true,
            title: "传统组卷"
          }
        }
      ]
    },
    {
      path: "/archives-management/dailyManagement",
      component: () =>
        import("@/views/archives-management/dailyManagement/index.vue"),
      name: "dailyManagement",
      meta: {
        icon: "rcgl",
        noCache: true,
        title: "日常管理"
      },
      children: [
        {
          path: "/archives-management/dailyManagement/operationLog",
          component: () =>
            import("@/views/archives-management/dailyManagement/operationLog"),
          name: "operationLog",
          meta: {
            icon: "czrz",
            noCache: true,
            title: "操作日志管理"
          }
        },
        {
          path: "/archives-management/dailyManagement/ocrLog",
          component: () =>
            import("@/views/archives-management/dailyManagement/ocrLog"),
          name: "ocrLog",
          meta: {
            icon: "czrz",
            noCache: true,
            title: "OCR转换日志"
          }
        },
        {
          path: "/archives-management/dailyManagement/securityAlarm",
          component: () =>
            import("@/views/archives-management/dailyManagement/securityAlarm"),
          name: "securityAlarm",
          meta: {
            icon: "sjaqbj",
            noCache: true,
            title: "数据安全报警日志"
          }
        },
        {
          path: "/archives-management/dailyManagement/dataEncapsulation",
          component: () =>
            import(
              "@/views/archives-management/dailyManagement/dataEncapsulation"
            ),
          name: "dataEncapsulation",
          meta: {
            icon: "czrz",
            noCache: true,
            title: "数据封装"
          }
        },
        {
          path: "/archives-management/dailyManagement/receiveLog",
          component: () =>
            import("@/views/archives-management/dailyManagement/receiveLog"),
          name: "receiveLog",
          meta: {
            icon: "jhzj",
            noCache: true,
            title: "接收日志"
          }
        },
        {
          path: "/archives-management/dailyManagement/identifyLog",
          component: () =>
            import("@/views/archives-management/dailyManagement/identifyLog"),
          name: "identifyLog",
          meta: {
            icon: "ywgl",
            noCache: true,
            title: "鉴定日志"
          }
        },
        {
          path: "/archives-management/dailyManagement/integrationLog",
          component: () =>
            import("@/views/archives-management/dailyManagement/integrationLog"),
          name: "integrationLog",
          meta: {
            icon: "ywgl",
            noCache: true,
            title: "对接日志"
          }
        },
        {
          path: "/archives-management/dailyManagement/workLog",
          component: () =>
            import("@/views/archives-management/dailyManagement/workLog"),
          name: "workLog",
          meta: {
            icon: "jhzj",
            noCache: true,
            title: "工作过程记录管理"
          }
        },
        {
          path: "/archives-management/dailyManagement/formatConversion",
          component: () =>
            import(
              "@/views/archives-management/dailyManagement/formatConversion"
            ),
          name: "formatConversion",
          meta: {
            icon: "zhgs",
            noCache: true,
            title: "格式转换"
          }
        },
        {
          path: "/archives-management/dailyManagement/permissionSetting",
          component: () =>
            import(
              "@/views/archives-management/dailyManagement/permissionSetting"
            ),
          name: "permissionSetting",
          meta: {
            icon: "qxrz",
            noCache: true,
            title: "移交日志"
          }
        }
      ]
    },
    {
      path: "/appointment",
      component: () => import("@/views/appointment"),
      name: "appointment",
      meta: {
        title: "档案预约",
        icon: "yy",
        noCache: true
      }
    },
    {
      path: "/archives-management/fileManagement/saveLibrary",
      component: () =>
        import("@/views/archives-management/fileManagement/saveLibrary"),
      name: "saveLibrary",
      meta: {
        title: "长期保存库",
        icon: "ywgl",
        noCache: true
      }
    },
    {
      path: "/archives-management/fileManagement/expirationReminder",
      component: () =>
        import("@/views/archives-management/fileManagement/expirationReminder"),
      name: "expirationReminder",
      meta: {
        icon: "qjcs",
        noCache: true,
        title: "到期提醒"
      }
    }
    // {
    //   path: '/archiveUtilize/archivesRetrieval',
    //   component: () => import('@/views/archiveUtilize/archivesRetrieval/index.vue'),
    //   name: 'archivesRetrieval',
    //   meta: {
    //     icon: "datj",
    //     noCache: true,
    //     title: "档案统计"
    //   },
    //   children: [{
    //       path: '/archives-management/collection',
    //       component: () => import('@/views/archives-management/archivesRetrieval/collection'),
    //       name: 'collection',
    //       meta: {
    //         icon:"gctj",
    //         noCache: true,
    //         title: "馆藏数据统计"
    //       },
    //     },
    //     {
    //       path: '/archives-management/annualReport',
    //       component: () => import('@/views/archives-management/archivesRetrieval/annualReport'),
    //       name: 'annualReport',
    //       meta: {
    //         icon:"ndtj",
    //         noCache: true,
    //         title: "档案年报统计"
    //       },
    //     }

    //   ]
    // },
  ]
};

export default componentsRouter;
