feat : 台账模板下载

This commit is contained in:
2024-07-26 19:46:06 +08:00
parent d92bcfe0aa
commit 58c3419b35
2 changed files with 35 additions and 1 deletions

View File

@@ -179,3 +179,15 @@ export const exportExcel = (data) => {
}
);
};
//台账模板下载
export const ledgerTemplateDownload = () => {
return axios.get(
`${import.meta.env.VITE_BASE_URL}/workflow/mosr/project/implementation/download/template`,
{
responseType: 'blob',
headers: {
Authorization: getToken()
}
}
);
};