/*
*   项目综合管理-审核项目 路由表
* */

/*
* ===============邀请函审核===============
* */
export const tenderInvitationAudit = [
  // 邀请函审核列表
  {
    path: 'auditInvitation',
    meta: { path: 'auditInvitation' },
    component: () => import('@/views/bidding/invitation/tenderInvitationAudit/auditInvitation-list')
  },
  // 审核邀请函
  {
    path: 'auditInvitationContent',
    meta: { path: 'auditInvitation' },
    component: () => import('@/views/bidding/invitation/tenderInvitationAudit/auditInvitationContent')
  }
]

/*
* ===============邀请函审核===============
* */
export const changeBulletinAudit = [
  // 邀请函审核列表
  {
    path: 'auditChangeBulletin',
    meta: { path: 'auditChangeBulletin' },
    component: () => import('@/views/bidding/changeBulletin/changeBulletin/changeBulletinAudit/auditChangeBulletin-list')
  },
  // 审核邀请函
  {
    path: 'auditChangeBulletinContent',
    meta: { path: 'auditChangeBulletin' },
    component: () => import('@/views/bidding/changeBulletin/changeBulletin/changeBulletinAudit/auditChangeBulletinContent')
  }
]

/*
* ===============重新招标审核===============
* */
export const rebiddingRecordAudit = [
  // 重新招标审核列表
  {
    path: 'auditRebiddingRecord',
    meta: { path: 'auditRebiddingRecord' },
    component: () => import('@/views/bidding/changeBulletin/rebiddingRecord/rebiddingRecordAudit/auditRebiddingRecord-list')
  },
  // 审核重新招标
  {
    path: 'auditRebiddingRecordContent',
    meta: { path: 'auditRebiddingRecord' },
    component: () => import('@/views/bidding/changeBulletin/rebiddingRecord/rebiddingRecordAudit/auditRebiddingRecordContent')
  }
]

/*
* ===============终止招标审核===============
* */
export const stopbiddingRecordAudit = [
  // 终止招标审核列表
  {
    path: 'auditStopbiddingRecord',
    meta: { path: 'auditStopbiddingRecord' },
    component: () => import('@/views/bidding/changeBulletin/stopbiddingRecord/stopbiddingAudit/auditStopbiddingRecord-list')
  },
  // 审核终止招标
  {
    path: 'auditStopbiddingRecordContent',
    meta: { path: 'auditStopbiddingRecord' },
    component: () => import('@/views/bidding/changeBulletin/stopbiddingRecord/stopbiddingAudit/auditStopbiddingRecordContent')
  }
]

/*
* ===============变更采购方式审核===============
* */
export const changePurchaseAudit = [
  // 变更采购方式审核列表
  {
    path: 'changePurchaseAudit-list',
    component: () => import('@/views/bidding/changeBulletin/changePurchase/changePurchaseAudit/changePurchaseAudit-list.vue')
  },
  // 变更采购方式审核详情
  {
    path: 'changePurchaseAudit-detail',
    name: 'changePurchaseAudit-detail',
    meta: { path: 'changePurchaseAudit-list' },
    component: () => import('@/views/bidding/changeBulletin/changePurchase/changePurchaseAudit/changePurchaseAudit-detail.vue')
  }
]
/*
* ================报名审核=========== src/views/bidding/tenderBid/tenderApplyAudit/tenderApplyAudit-list.vue
*/
export const tenderApplyAudit = [
  // 报名审核列表
  {
    path: 'tenderApplyAudit-list',
    component: () => import('@/views/bidding/tenderBid/tenderApplyAudit/tenderApplyAudit-list.vue')
  },
  // 报名审核详情
  {
    path: 'tenderApplyAudit-detail',
    name: 'TenderApplyAudit-detail',
    meta: { path: 'tenderApplyAudit-list' },
    component: () => import('@/views/bidding/tenderBid/tenderApplyAudit/tenderApplyAudit-detail.vue')
  }
]
export default [
  ...tenderInvitationAudit,
  ...changeBulletinAudit, // 变更公告审核
  ...rebiddingRecordAudit, // 重新招标审核
  ...stopbiddingRecordAudit, // 终止招标
  ...changePurchaseAudit, // 变更采购方式
  ...tenderApplyAudit // 报名审核
]
