/*
 * 采购列表路由
 * */
// ------------------------------------采购单管理 start-------------------------------------------------
export const procurementProjectManage = [
  // 询价
  {
    path: 'enquiryManageList',
    meta: { path: 'enquiryManageList', tenderMethod: '11', tenderMethodText: '询价' }, // 采购方式 11 询价 12 单一来源 13 竞争性谈判 14 竞价
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/projectManagement-list')
  },
  // 单一来源
  {
    path: 'singleSourceManageList',
    meta: { path: 'singleSourceManageList', tenderMethod: '12', tenderMethodText: '单一来源' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/projectManagement-list')
  },
  // 竞争性谈判
  {
    path: 'competitiveManageList',
    meta: { path: 'competitiveManageList', tenderMethod: '13', tenderMethodText: '竞争性谈判' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/projectManagement-list')
  },
  // 竞价
  {
    path: 'qutcryManageList',
    meta: { path: 'qutcryManageList', tenderMethod: '14', tenderMethodText: '竞价' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/projectManagement-list')
  },
  // 招标
  {
    path: 'biDManageList',
    meta: { path: 'biDManageList', tenderMethod: '00', tenderMethodText: '招标' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/projectManagementBid-list.vue')
  }
]
// ------------------------------------采购单管理 End-------------------------------------------------
// ------------------------------------供应商采购单管理 start-------------------------------------------------

// 供应商询价可参与/正在参与/已完成项目管理
export const procurementEnquiryList = [
  // 可参与项目
  {
  // 询价可参与项目
    path: 'enquiryPaticipation',
    meta: { path: 'enquiryPaticipation', tenderMethod: '11', tenderMethodText: '询价' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipation-list.vue')
  },
  {
  // 询价正在参与项目
    path: 'enquiryPaticipating',
    meta: { path: 'enquiryPaticipating', tenderMethod: '11', tenderMethodText: '询价' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipating-list.vue')
  },
  {
  // 询价已完成
    path: 'enquiryCompleted',
    meta: { path: 'enquiryCompleted', tenderMethod: '11', tenderMethodText: '询价' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementCompleted-list.vue')
  }
]
// 供应商单一来源可参与/正在参与/已完成项目管理
export const procurementSinglesourceList = [
  // 可参与项目
  {
  // 单一来源可参与项目
    path: 'singleSourcePaticipation',
    meta: { path: 'singleSourcePaticipation', tenderMethod: '12', tenderMethodText: '单一来源' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipation-list.vue')
  },
  {
  // 单一来源正在参与项目
    path: 'singleSourcePaticipating',
    meta: { path: 'singleSourcePaticipating', tenderMethod: '12', tenderMethodText: '单一来源' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipating-list.vue')
  },
  {
  // 单一来源已完成项目
    path: 'singleSourceCompleted',
    meta: { path: 'singleSourceCompleted', tenderMethod: '12', tenderMethodText: '单一来源' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementCompleted-list.vue')
  }
]
// 供应商竞争性谈判可参与/正在参与/已完成项目管理
export const procurementCompetitiveList = [
  // 可参与项目
  {
  // 竞争性谈判可参与项目
    path: 'competitivePaticipation',
    meta: { path: 'competitivePaticipation', tenderMethod: '13', tenderMethodText: '竞争性谈判' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipation-list.vue')
  },
  {
  // 竞争性谈判正在参与项目
    path: 'competitivePaticipating',
    meta: { path: 'competitivePaticipating', tenderMethod: '13', tenderMethodText: '竞争性谈判' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipating-list.vue')
  },
  {
  // 竞争性谈判可参与项目
    path: 'competitiveCompleted',
    meta: { path: 'competitiveCompleted', tenderMethod: '13', tenderMethodText: '竞争性谈判' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementCompleted-list.vue')
  }
]
// 供应商竞价可参与/正在参与/已完成项目管理
export const procurementOurtcyList = [
  {
  // 竞价可参与项目
    path: 'qutcryPaticipation',
    meta: { path: 'qutcryPaticipation', tenderMethod: '14', tenderMethodText: '竞价' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipation-list.vue')
  },
  {
  // 竞争性谈判正在参与项目
    path: 'qutcryPaticipating',
    meta: { path: 'qutcryPaticipating', tenderMethod: '14', tenderMethodText: '竞价' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementParticipating-list.vue')
  },
  {
  // 竞争性谈判已完成项目
    path: 'qutcryCompleted',
    meta: { path: 'qutcryCompleted', tenderMethod: '14', tenderMethodText: '竞价' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectList/procurementCompleted-list.vue')
  }
]
// ------------------------------------供应商采购单管理 End-------------------------------------------------
// 供应商-变更公告列表
export const procurementChangeNotice = [
  {
    path: 'procurementChangeNotice-list',
    meta: { path: 'procurementChangeNotice-list' },
    component: () =>
      import('@/views/procurement/procurementProject/procurementProjectAlter/procurementProjectAlter-list.vue')
  }
]

// ----------------------------------采购单工作流处理页-------------------------------------------------------
// 采购单管理-工作流
export const purProjectFlow = [
// 采购单管理-发布公告工作流
  {
    path: 'publishFlowDetail',
    component: () =>
      import('@/views/procurement/procurementProject/purProjectFlow/publishFlow-detail.vue')
  },
  // 采购单管理-发布公告变更工作流
  {
    path: 'changeFlowDetail',
    component: () =>
      import('@/views/procurement/procurementProject/purProjectFlow/changeFlow-detail.vue')
  }
]
