envelop c

This commit is contained in:
Jaanu423
2026-01-12 23:08:53 +05:30
parent f4433d8e92
commit 39924066bc
7 changed files with 425 additions and 9 deletions
+3 -1
View File
@@ -71,6 +71,7 @@ const SUBMIT_ENVELOPE_A = `${BASE_URL}tenderBidding/getSaveEnvelopeAData`
const SUBMIT_ENVELOPE_B = `${BASE_URL}tenderBidding/getSaveEnvelopeBData`
const SUBMIT_ENVELOPE_FILE_A = `${BASE_URL}tenderBidding/addDocumentsEnvelopeA?requestDto=`
const SUBMIT_ENVELOPE_FILE_B = `${BASE_URL}tenderBidding/addDocumentsEnvelopeB?requestDto=`
const SUBMIT_ENVELOPE_C = `${BASE_URL}eTendering/getEnvelopeCTemplate/tenderId?tenderId=`
@@ -137,6 +138,7 @@ export {
SUBMIT_ENVELOPE_A,
SUBMIT_ENVELOPE_B,
SUBMIT_ENVELOPE_FILE_A,
SUBMIT_ENVELOPE_FILE_B
SUBMIT_ENVELOPE_FILE_B,
SUBMIT_ENVELOPE_C
};
-2
View File
@@ -30,8 +30,6 @@ export const useFetchPurchaseTender = () => {
}),
initialPageParam: 0,
getNextPageParam: (lastPage, allPages) => {
console.log('last page : ', lastPage)
console.log("all page : ", allPages)
const { totalCount } = lastPage;
const totalPages = Math.ceil(totalCount / 10);