52837 【线上】未符合项流程,批准节点,审定节点上传的文件,现在在批准节点显示的文件不全

This commit is contained in:
宋伟佳
2022-05-18 09:49:06 +08:00
parent ecb6555b1f
commit 92a8f3af98
@@ -315,17 +315,18 @@ export default {
}, },
// 文件上传成功 // 文件上传成功
handleOnsuccess(res, file, fileList) { handleOnsuccess(res, file, fileList) {
console.log(res);
if (res.ok) { if (res.ok) {
if (this.fileTextList !== null) { if (this.fileTextList !== null) {
this.newDataList = this.fileTextList this.newDataList = this.fileTextList
this.newDataList.push({ this.newDataList.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.name
}) })
} else { } else {
this.newDataList.push({ this.newDataList.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.name
}) })
} }
this.fileListData.fileText = this.newDataList this.fileListData.fileText = this.newDataList