From bf36a1d87daa4c2b4fc0c5deb894ec833e904d72 Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Mon, 24 Mar 2025 19:39:11 +0800 Subject: [PATCH] =?UTF-8?q?2025.03.24=20=E6=96=87=E6=A1=A3=E6=94=B6?= =?UTF-8?q?=E9=9B=86=E7=B3=BB=E7=BB=9F=20-=20=E6=89=80=E6=9C=89=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E5=A2=9E=E5=8A=A0=E5=88=A0=E9=99=A4=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=EF=BC=88=E4=BB=85=E4=B8=8A=E4=BC=A0=E4=BA=BA=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/eam/eamProjectPartInfo.vue | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) 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() }