Commit 53424df7 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 招投标外部操作记录接口变更

parent 7e0e2b79
......@@ -126,7 +126,17 @@ export const useBidDetail = (options: OrderDetailHookProps) => {
setInteriorProcurementOrderLogResponses(inReocrdRes.data)
}
const outCheckRecordFn = PublicApi.getPurchaseTenderOutCheckRecordGetTenderOutCheckRecord
// * 外部专用 特殊处理
let specialParams: any = {};
let outCheckRecordFn: any;
if(type === 'callForBid' || type === 'tenderInCallForBid') {
specialParams['inviteTenderId'] = type === 'callForBid' ? id : data.inviteTender.id
outCheckRecordFn = PublicApi.getPurchaseTenderOutCheckRecordGetInviteTenderOutCheckRecord
} else if(type === 'tender' || type === 'callForBidInTender') {
specialParams['submitTenderId'] = data.submitTender.id
outCheckRecordFn = PublicApi.getPurchaseTenderOutCheckRecordGetSubmitTenderOutCheckRecord
}
// const outCheckRecordFn = PublicApi.getPurchaseTenderOutCheckRecordGetTenderOutCheckRecord
const outRecordRes = await outCheckRecordFn({ inviteTenderId: searchId })
if (outRecordRes.code === 1000) {
setExternalProcurementOrderLogResponses(outRecordRes.data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment