/*
 *   澄清-路由表
 * */
/* 投标人提出问题*/
export const clarificationQuestionReply = [
  {
    name: 'procClarificationQuestionReply',
    path: 'procClarificationQuestionReply',
    component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationQuestionContent'),
    // redirect: '/bidding/projectDrive/clarificationQuestionReply/clarificationQuestionList',
    children: [
      // 投标人提出的问题列表
      {
        name: 'procClarificationQuestionList',
        path: 'procClarificationQuestionList',
        component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationQuestion-list')
      },
      // 问题回复编辑
      {
        name: 'procClarificationQuestionAdd',
        path: 'procClarificationQuestionAdd',
        component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationQuestion-add')
      },
      // 问题查看
      {
        name: 'objectionDetail',
        path: 'objectionDetail',
        component: () => import('@/views/procurement/procurementClarification/objection/objection-detail')
      }
    ]
  }
]

/* 采购方澄清 */
export const clarification = [
  {
    name: 'procClarification',
    path: 'procClarification',
    component: () => import('@/views/procurement/procurementClarification/procurementClarify/clarificationContent/clarificationContent'),
    children: [
      // 发布澄清列表
      {
        name: 'procClarificationList',
        path: 'procClarificationList',
        component: () => import('@/views/procurement/procurementClarification/procurementClarify/procurementClarifyList/clarification-list')
      },
      // 新增澄清
      {
        name: 'procClarificationReleaseAdd',
        path: 'procClarificationReleaseAdd',
        component: () => import('@/views/procurement/procurementClarification/procurementClarify/clarificationRelease/clarificationRelease-add')
      },
      // 查看澄清
      {
        name: 'procClarificationReleaseDetail',
        path: 'procClarificationReleaseDetail',
        component: () => import('@/views/procurement/procurementClarification/procurementClarify/clarificationRelease/clarificationRelease-detail')
      },
      // 回执机构列表
      {
        name: 'procClarificationReceiptDetail',
        path: 'procClarificationReceiptDetail',
        component: () => import('@/views/procurement/procurementClarification/procurementClarify/clarificationRelease/clarificationReceipt-detail')
      }
    ]
  }
]

/* 标中澄清 */
export const evaluateClarify = [
  {
    name: 'procEvaluateClarify',
    path: 'procEvaluateClarify',
    component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarifyContent/evaluateClarifyContent'),
    children: [
      // 标中澄清列表
      {
        name: 'procEvaluateClarifyList',
        path: 'procEvaluateClarifyList',
        component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarifyList/evaluateClarify-list')
      },
      // 标中澄清创建
      {
        name: 'procEvaluateClarifyAdd',
        path: 'procEvaluateClarifyAdd',
        component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarify/evaluateClarify-add')
      },
      // 标中澄清查看
      {
        name: 'procEvaluateClarifyDetail',
        path: 'procEvaluateClarifyDetail',
        component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarify/evaluateClarify-detail')
      },
      // 回执机构列表
      {
        name: 'bidClarificationReceiptDetail',
        path: 'bidClarificationReceiptDetail',
        component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarify/clarificationReceipt-detail')
      }
    ]
  }
]

/* ----------------------------------------------------------供应商-澄清答疑----------------------------------------------------*/
export const clarificationQuestionSupplier = [
  {
    name: 'procClarificationQuestionSupplier',
    path: 'procClarificationQuestionSupplier',
    component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationQuestionContent'),
    children: [
      // 异议-列表
      {
        name: 'procObjectionList',
        path: 'procObjectionList',
        component: () => import('@/views/procurement/procurementClarification/objection/objection-list')
      },
      // 异议-提出问题
      {
        name: 'procObjectionAdd',
        path: 'procObjectionAdd',
        component: () => import('@/views/procurement/procurementClarification/objection/objection-add')
      },
      // 问题查看
      {
        name: 'procObjectionDetail',
        path: 'procObjectionDetail',
        component: () => import('@/views/procurement/procurementClarification/objection/objectionRview-detail')
      }
    ]
  }
]
/* 供应商-采购方澄清 */
export const clarificationSupplier = [
  {
    path: 'procClarificationSupplier',
    component: () => import('@/views/procurement/procurementClarification/procurementClarify/clarificationContent/clarificationContent'),
    // component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationQuestionContent'),
    children: [
      // 采购方澄清-澄清列表
      {
        path: 'procClarificationSupList',
        name: 'procClarificationSupList',
        component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationSupplier-list')
      },
      // 采购方澄清-回执
      {
        path: 'procClarificationAdd',
        name: 'procClarificationAdd',
        component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationSupplier-add')
      },
      // 采购方澄清-查看
      {
        path: 'procClarificationDetail',
        name: 'procClarificationDetail',
        component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationSupplier-detail')
      }
    ]
  }
]
/* 供应商-标中澄清 */
export const evaluateClarifySupplier = [
  {
    path: 'procEvaluateClarifySupplier',
    // component: () => import('@/views/procurement/procurementClarification/clarificationQuestionReply/clarificationQuestionContent'),
    component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarifyContent/evaluateClarifyContent'),
    children: [
      // 标中澄清-列表
      {
        path: 'procEvaluateClarifySupList',
        name: 'procEvaluateClarifySupList',
        component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarifyList/evaluateClarifySupplier-list')
      },
      // 标中澄清-澄清
      {
        path: 'procEvaluateClarifySupAdd',
        name: 'procEvaluateClarifySupAdd',
        component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarify/evaluateClarifySupplier-add')
      },
      // 标中澄清-查看
      {
        path: 'procEvaluateClarifySupDetail',
        name: 'procEvaluateClarifySupDetail',
        component: () => import('@/views/procurement/procurementClarification/evaluateClarify/evaluateClarify/evaluateClarifySupplier-detail')
      }
    ]
  }
]
export default [...clarificationQuestionReply, ...clarification, ...evaluateClarify, ...clarificationQuestionSupplier, ...clarificationSupplier, ...evaluateClarifySupplier]

