/*
 *  招标-归档-路由表
 * */
import layout from '@/components/layout/layout'
// 采购单归档
import procurementArchiveManagement from '@/router/procurement/procurementArchived/procurementArchiveManagement'
/* 招标-菜单-归档*/
export const bidArchived = [
  {
    path: '/bidArchived',
    component: layout,
    children: [
      ...procurementArchiveManagement, // 采购单归档
      /* 归档-项目归档列表*/
      {
        path: 'tenderArchived-list',
        component: () => import('@/views/bidding/bidArchived/tenderArchived/tenderArchived-list.vue')
      },
      // 老平台归档信息列表
      {
        path: 'archivedInformation-list',
        name: 'archivedInformation-list',
        component: () => import('@/views/bidding/bidArchived/archivedInformation/archivedInformation-list.vue')
      },
      // 老平台归档查看-项目归档详情
      {
        path: 'tenderArchivedOld-detail',
        name: 'tenderArchivedOld-detail',
        meta: { path: 'archivedInformation-list' },
        component: () => import('@/views/bidding/bidArchived/archivedInformation/tenderArchivedOld-detail.vue')
      },
      // 归档-项目归档详情
      {
        path: 'tenderArchived-detail',
        name: 'tenderArchived-detail',
        meta: { path: 'tenderArchived-list' },
        component: () => import('@/views/bidding/bidArchived/tenderArchived/tenderArchived-detail.vue')
      },
      /* 归档-归档台账信息*/
      {
        path: 'bidArchivedULC-list',
        component: () => import('@/views/bidding/bidArchived/bidArchivedULC/bidArchivedULC-list.vue')
      },
      // 查看归档台账信息
      {
        path: 'bidArchivedULC-detail',
        name: 'bidArchivedULC-detail',
        meta: { path: 'bidArchivedULC-list' },
        component: () => import('@/views/bidding/bidArchived/bidArchivedULC/bidArchivedULC-detail.vue')
      },
      /* 归档-归档目录管理*/
      {
        path: 'bidArchivedTOC-list',
        component: () => import('@/views/bidding/bidArchived/bidArchivedTOC/bidArchivedTOC-list.vue')
      },
      // 添加文件目录
      {
        path: 'bidArchivedTOC-add',
        name: 'bidArchivedTOC-add',
        meta: { path: 'bidArchivedTOC-list' },
        component: () => import('@/views/bidding/bidArchived/bidArchivedTOC/bidArchivedTOC-add.vue')
      },
      // 归档变更记录
      {
        path: 'archivedTOCChangeRecord-detail',
        name: 'archivedTOCChangeRecord-detail',
        meta: { path: 'bidArchivedTOC-list' },
        component: () => import('@/views/bidding/bidArchived/bidArchivedTOC/archivedTOCChangeRecord-detail.vue')
      }
    ]
  }
]
