diff --git a/src/views/modules/eam/eamProjectPartInfo.vue b/src/views/modules/eam/eamProjectPartInfo.vue index 4581469..752a2ed 100644 --- a/src/views/modules/eam/eamProjectPartInfo.vue +++ b/src/views/modules/eam/eamProjectPartInfo.vue @@ -424,6 +424,8 @@ 复制 上传文件 + 删除 @@ -1347,6 +1349,8 @@ 复制 上传文件 + 删除 @@ -5035,6 +5039,7 @@ import {updateColumnSize} from "../../../api/table"; site: row.site, username: this.$store.state.user.name, buNo: row.buNo, + proofingId: row.proofingId, proofingNo: row.proofingNo, projectId: row.projectId, projectNo: row.projectNo, @@ -5059,7 +5064,11 @@ import {updateColumnSize} from "../../../api/table"; type: 'warning' }) }else { - this.$confirm('是否删除该转量产阶段文档的文件?', '提示', { + let name = '转量产阶段' + if (row.proofingId !== -1) { + name = '打样' + } + this.$confirm('是否删除该' + name +'文档的文件?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' @@ -5071,8 +5080,7 @@ import {updateColumnSize} from "../../../api/table"; type: 'success' }) //刷新表格 - this.getProjectOtherDocument() - this.getProofDocument() + this.refreshCurrentTabTable() } // 否则提示后端返回的错误信息 else { @@ -6248,6 +6256,8 @@ import {updateColumnSize} from "../../../api/table"; this.getProjectOtherDocument(); } if (this.activeName === 'allDocument' || this.activeModalTab === 'allDocument') { + this.getRowProjectInfo(); + this.getProjectOtherDocument(); this.searchProjectAllDocumentList() this.searchConfirmatorList() }