diff --git a/src/pages/Tender/UploadResponse/index.tsx b/src/pages/Tender/UploadResponse/index.tsx index 78d3fc5..786189d 100644 --- a/src/pages/Tender/UploadResponse/index.tsx +++ b/src/pages/Tender/UploadResponse/index.tsx @@ -273,15 +273,16 @@ const Index: React.FC<{}> = () => { if (index == 'single') { currentDate = val setEndTime(new Date(val.endDate).getTime()) - // filetype = '.file' - filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf' + filetype = '.file' + // filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf' object = JSON.stringify(val) path = '/' + val.createYear + '/' + val.tpId + '/' + val.sectionId + '/' + val.tdocId + '/uploadFile/' + val.tendererId } else { currentDate = dateList[index].tfileList[0] currentDate.tdocCatalogId = "" setEndTime(new Date(dateList[index].endDate).getTime()) - filetype = '.rar,.zip' + filetype = '.zip' + // filetype = '.rar,.zip' object = JSON.stringify(dateList[index].tfileList[0]) path = '/' + dateList[index].createYear + '/' + dateList[index].tpId + '/' + dateList[index].sectionId + '/' + dateList[index].id + '/uploadFile/' + dateList[index].tfileList[0].tendererId } diff --git a/src/pages/ZZhaoMu/Tender/UploadResponse/TableLook.tsx b/src/pages/ZZhaoMu/Tender/UploadResponse/TableLook.tsx index edd0049..2e70df3 100644 --- a/src/pages/ZZhaoMu/Tender/UploadResponse/TableLook.tsx +++ b/src/pages/ZZhaoMu/Tender/UploadResponse/TableLook.tsx @@ -284,15 +284,16 @@ const Index: React.FC = (props) => { if (index == 'single') { currentDate = val setEndTime(new Date(val.endDate).getTime()) - // filetype = '.file' - filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf' + filetype = '.file' + // filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf' object = JSON.stringify(val) path = '/' + val.createYear + '/' + val.tpId + '/' + val.sectionId + '/' + val.tdocId + '/uploadFile/' + val.tendererId } else { currentDate = dateList[index].tfileList[0] currentDate.tdocCatalogId = "" setEndTime(new Date(dateList[index].endDate).getTime()) - filetype = '.rar,.zip' + filetype = '.zip' + // filetype = '.rar,.zip' object = JSON.stringify(dateList[index].tfileList[0]) path = '/' + dateList[index].createYear + '/' + dateList[index].tpId + '/' + dateList[index].sectionId + '/' + dateList[index].id + '/uploadFile/' + dateList[index].tfileList[0].tendererId }