|
|
|
@ -100,11 +100,6 @@ export default { |
|
|
|
|
|
|
|
// 删除文件 |
|
|
|
deleteFile (row) { |
|
|
|
let tempData = { |
|
|
|
site: row.orderRef1, |
|
|
|
inspectionNo: row.orderRef2, |
|
|
|
buNo: row.orderRef4 |
|
|
|
} |
|
|
|
this.$confirm('确定要删除此文件?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
@ -112,7 +107,8 @@ export default { |
|
|
|
}).then(() => { |
|
|
|
deleteObjectFile(row).then(({data}) => { |
|
|
|
if (data && data.code == 0) { |
|
|
|
this.getFileContentData(tempData) |
|
|
|
// 通知父组件刷新文件列表 |
|
|
|
this.$emit('refreshFileList') |
|
|
|
this.$message({ |
|
|
|
message: '操作成功', |
|
|
|
type: 'success', |
|
|
|
|