From ccbb26cb2daad5109816285308704dae72d2cef1 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Thu, 25 Sep 2025 15:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BB=A3=E7=A0=81=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fileManager/components/addTableData.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/archivesManagement/fileManager/components/addTableData.vue b/src/views/archivesManagement/fileManager/components/addTableData.vue index 3adb31a..49b5d2f 100644 --- a/src/views/archivesManagement/fileManager/components/addTableData.vue +++ b/src/views/archivesManagement/fileManager/components/addTableData.vue @@ -179,7 +179,7 @@ export default { this.detailStatus = this.rowData.detailStatus; if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) { - const res2 = await getFileManageByIdApi({id:this.rowData.id}); + const res2 = await getFileManageByIdApi({id:this.rowData.id,proId:this.projectId}); const obj =res2.data; // 编辑模式:填充表单数据 @@ -198,7 +198,9 @@ export default { const fileList = [{name:obj.fileName,businessId:obj.businessId}]; this.fileList = fileList; } else { - const res = await getFileManageByIdApi({id:this.rowData.id}); + const id = this.rowData.id; + const proId = this.projectId; + const res = await getFileManageByIdApi({id,proId}); const obj =res.data; // 新增模式:重置表单 this.form = {