图纸上传

This commit is contained in:
zhangdingyu
2019-12-11 09:36:54 +08:00
parent e74d9398eb
commit 3444e4ecc8

View File

@@ -259,6 +259,7 @@ export default {
this.getFileList(row.零件图号)
},
uploadSuccess(res, file, fileList) {
this.getTableData()
if (res[0].result === '1') {
const index = fileList.indexOf(file)
fileList.splice(index, 1)
@@ -289,7 +290,7 @@ export default {
}
if (fileList.length === 0) {
this.$message.success('文件上传成功')
this.getTableData()
// this.getTableData()
}
},
uploadFailure(a, file, fileList) {