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