前端代码提交

This commit is contained in:
cwchen 2025-09-25 15:41:15 +08:00
parent a351302a7e
commit ccbb26cb2d
1 changed files with 4 additions and 2 deletions

View File

@ -179,7 +179,7 @@ export default {
this.detailStatus = this.rowData.detailStatus; this.detailStatus = this.rowData.detailStatus;
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) { 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; const obj =res2.data;
// //
@ -198,7 +198,9 @@ export default {
const fileList = [{name:obj.fileName,businessId:obj.businessId}]; const fileList = [{name:obj.fileName,businessId:obj.businessId}];
this.fileList = fileList; this.fileList = fileList;
} else { } 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; const obj =res.data;
// //
this.form = { this.form = {