This commit is contained in:
吴红兵
2026-03-05 09:37:01 +08:00
parent cc9e0a1022
commit bff8907f88
3 changed files with 54 additions and 13 deletions

View File

@@ -370,6 +370,15 @@ export function downloadFileById(fileId: string) {
});
}
export function previewFileById(fileId: string) {
return request({
url: '/purchase/purchasingfiles/previewById',
method: 'get',
params: { fileId },
responseType: 'blob'
});
}
/**
* 批量获取文件下载地址列表
* @param purchaseId 采购申请ID