feat: 添加导入研发费用明细表和模板下载功能

This commit is contained in:
dj
2025-04-14 15:43:48 +08:00
parent c6390a8117
commit 7579b77b2d
4 changed files with 187 additions and 12 deletions

View File

@@ -226,3 +226,15 @@ export const ledgerTemplateDownload = () => {
}
);
};
//费用明细模板下载
export const costTemplateDownload = () => {
return axios.get(
`${import.meta.env.VITE_BASE_URL}/workflow/mosr/rd/expense/download/template`,
{
responseType: 'blob',
headers: {
Authorization: getToken()
}
}
);
};