/*
 *   澄清-路由表
 * */
/* 投标人提出问题*/
export const clarificationQuestionReply = [
  {
    path: 'clarificationQuestionReply',
    component: () => import('@/views/bidding/bidClarification/clarificationQuestionReply/clarificationQuestionContent'),
    // redirect: '/bidding/projectDrive/clarificationQuestionReply/clarificationQuestionList',
    children: [
      // 投标人提出的问题列表
      {
        path: 'clarificationQuestionList',
        component: () => import('@/views/bidding/bidClarification/clarificationQuestionReply/clarificationQuestion-list')
      },
      // 问题回复编辑
      {
        path: 'clarificationQuestionAdd',
        component: () => import('@/views/bidding/bidClarification/clarificationQuestionReply/clarificationQuestion-add')
      },
      // 提交澄清函
      {
        path: 'submitClarification',
        component: () => import('@/views/bidding/bidClarification/clarificationQuestionReply/submitClarification')
      },
      // 澄清函预览
      {
        path: 'clarificationPdfDetail',
        component: () => import('@/views/bidding/bidClarification/clarificationQuestionReply/clarificationPdf-detail')
      }
    ]
  }
]

/* 项目经理澄清 */
export const clarification = [
  {
    path: 'clarification',
    component: () => import('@/views/bidding/bidClarification/clarificationPM/clarificationContent/clarificationContent'),
    // redirect: '/bidding/projectDrive/clarification/clarificationList',
    children: [
      // 项目经理发布澄清列表
      {
        path: 'clarificationList',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/clarificationList/clarification-list')
      },
      // 项目经理新增澄清
      {
        path: 'clarificationAdd',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/clarification-add')
      },
      // 工具端制作澄清函
      {
        path: 'toolMakeClarification',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/toolMakeClarification')
      },
      // 澄清函编辑
      {
        path: 'makeClarificationLetterAdd',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/makeClarificationLetter-add')
      },
      // 提交澄清函
      {
        path: 'submitClarificationLetter',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/submitClarificationLetter')
      },
      // 澄清函预览
      {
        path: 'clarificationLetterPdfDetail',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/clarificationLetterPdf-detail')
      },
      // 回执机构列表
      {
        path: 'clarificationReceiptDetail',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/clarificationReceipt/clarificationReceipt-detail')
      },
      // 回执机构查看详情
      {
        path: 'clarificationReceiptPdfDetail',
        component: () => import('@/views/bidding/bidClarification/clarificationPM/clarificationReceipt/clarificationReceiptPdf-detail')
      }
    ]
  }
]
/* 评标澄清 */
export const evaluateClarify = [
  {
    path: 'evaluateClarify',
    component: () => import('@/views/bidding/bidClarification/evaluateClarify/evaluateClarifyContent/evaluateClarifyContent'),
    children: [
      // 评标澄清列表
      {
        path: 'evaluateClarify-list',
        component: () => import('@/views/bidding/bidClarification/evaluateClarify/evaluateClarifyList/evaluateClarify-list')
      },
      // 评标澄清查看
      {
        path: 'evaluateClarifyPdf-detail',
        component: () => import('@/views/bidding/bidClarification/evaluateClarify/evaluateClarify/evaluateClarifyPdf-detail')
      },
      // 澄清回复机构
      {
        path: 'evaluateClarifyAnswer-detail',
        component: () => import('@/views/bidding/bidClarification/evaluateClarify/evaluateClarifyAnswer/evaluateClarifyAnswer-detail')
      },
      // 回复机构查看详情
      {
        path: 'evaluateClarifyAnswerPdf-detail',
        component: () => import('@/views/bidding/bidClarification/evaluateClarify/evaluateClarifyAnswer/evaluateClarifyAnswerPdf-detail')
      }
    ]
  }
]

/* 项目经理澄清-工作流进入路由表*/
export const clarificationFlow = [
  // 项目经理新增澄清
  {
    path: 'clarificationAdd',
    component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/clarification-add')
  },
  // 澄清函编辑
  {
    path: 'makeClarificationLetterAdd',
    component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/makeClarificationLetter-add')
  },
  // 提交澄清函
  {
    path: 'submitClarificationLetter',
    component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/submitClarificationLetter')
  },
  // 澄清函预览
  {
    path: 'workClarificationLetterPdfDetail',
    component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/clarificationLetterPdf-detail')
  },
  // 工具端制作澄清函
  {
    path: 'toolMakeClarification',
    component: () => import('@/views/bidding/bidClarification/clarificationPM/publishClarification/toolMakeClarification')
  }
]
export default [...clarificationQuestionReply, ...clarification, ...evaluateClarify, ...clarificationFlow]
