上传应答文件更改
This commit is contained in:
@ -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
|
||||
}
|
||||
|
@ -284,15 +284,16 @@ const Index: React.FC<IndexProps> = (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
|
||||
}
|
||||
|
Reference in New Issue
Block a user