新增采购申请文件归档打包下载

This commit is contained in:
吴红兵
2026-02-08 23:39:47 +08:00
parent 48f07afc40
commit 00a005e65f
2 changed files with 32 additions and 2 deletions

View File

@@ -174,3 +174,11 @@ export function getDeptMembers() {
});
}
/**
* 文件归档按文件类型打包下载该申请单下所有附件的下载地址GET 请求,浏览器直接下载 zip
* @param purchaseId 采购申请ID
*/
export function getArchiveDownloadUrl(purchaseId: string | number) {
return `/purchase/purchasingfiles/archive?purchaseId=${encodeURIComponent(String(purchaseId))}`;
}