上传应答文件更改
This commit is contained in:
@ -273,15 +273,16 @@ const Index: React.FC<{}> = () => {
|
|||||||
if (index == 'single') {
|
if (index == 'single') {
|
||||||
currentDate = val
|
currentDate = val
|
||||||
setEndTime(new Date(val.endDate).getTime())
|
setEndTime(new Date(val.endDate).getTime())
|
||||||
// filetype = '.file'
|
filetype = '.file'
|
||||||
filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf'
|
// filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf'
|
||||||
object = JSON.stringify(val)
|
object = JSON.stringify(val)
|
||||||
path = '/' + val.createYear + '/' + val.tpId + '/' + val.sectionId + '/' + val.tdocId + '/uploadFile/' + val.tendererId
|
path = '/' + val.createYear + '/' + val.tpId + '/' + val.sectionId + '/' + val.tdocId + '/uploadFile/' + val.tendererId
|
||||||
} else {
|
} else {
|
||||||
currentDate = dateList[index].tfileList[0]
|
currentDate = dateList[index].tfileList[0]
|
||||||
currentDate.tdocCatalogId = ""
|
currentDate.tdocCatalogId = ""
|
||||||
setEndTime(new Date(dateList[index].endDate).getTime())
|
setEndTime(new Date(dateList[index].endDate).getTime())
|
||||||
filetype = '.rar,.zip'
|
filetype = '.zip'
|
||||||
|
// filetype = '.rar,.zip'
|
||||||
object = JSON.stringify(dateList[index].tfileList[0])
|
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
|
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') {
|
if (index == 'single') {
|
||||||
currentDate = val
|
currentDate = val
|
||||||
setEndTime(new Date(val.endDate).getTime())
|
setEndTime(new Date(val.endDate).getTime())
|
||||||
// filetype = '.file'
|
filetype = '.file'
|
||||||
filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf'
|
// filetype = '.rar,.zip,.doc,.docx,.xls,.xlsx,.pdf'
|
||||||
object = JSON.stringify(val)
|
object = JSON.stringify(val)
|
||||||
path = '/' + val.createYear + '/' + val.tpId + '/' + val.sectionId + '/' + val.tdocId + '/uploadFile/' + val.tendererId
|
path = '/' + val.createYear + '/' + val.tpId + '/' + val.sectionId + '/' + val.tdocId + '/uploadFile/' + val.tendererId
|
||||||
} else {
|
} else {
|
||||||
currentDate = dateList[index].tfileList[0]
|
currentDate = dateList[index].tfileList[0]
|
||||||
currentDate.tdocCatalogId = ""
|
currentDate.tdocCatalogId = ""
|
||||||
setEndTime(new Date(dateList[index].endDate).getTime())
|
setEndTime(new Date(dateList[index].endDate).getTime())
|
||||||
filetype = '.rar,.zip'
|
filetype = '.zip'
|
||||||
|
// filetype = '.rar,.zip'
|
||||||
object = JSON.stringify(dateList[index].tfileList[0])
|
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
|
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