|
|
@ -117,10 +117,17 @@ class GraduationTasksSubmitnew extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 附件相关 START
|
|
|
|
// 附件相关 START
|
|
|
|
handleChange = (info) => {
|
|
|
|
handleChange = (info) => {
|
|
|
|
|
|
|
|
debugger
|
|
|
|
if (info.file.status === 'uploading') {
|
|
|
|
if (info.file.status === 'uploading') {
|
|
|
|
let fileList = info.fileList;
|
|
|
|
let fileList = info.fileList;
|
|
|
|
this.setState({ fileList:appendFileSizeToUploadFileAll(fileList) });
|
|
|
|
this.setState({ fileList:appendFileSizeToUploadFileAll(fileList) });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (info.file.status === 'done') {
|
|
|
|
|
|
|
|
let fileList = info.fileList;
|
|
|
|
|
|
|
|
this.setState({ fileList:appendFileSizeToUploadFileAll(fileList) });
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|