เปลี่ยน api ดาวโหลดไฟล์

This commit is contained in:
setthawutttty 2023-09-12 11:11:58 +07:00
parent f09e87700c
commit 6bbf5b5716
4 changed files with 9 additions and 9 deletions

View file

@ -76,7 +76,7 @@ const FileDownload = async (type: string) => {
let numTab = evaluate.value.find((e: any) => e.no === dataArrayNumber.value);
showLoader();
await http
.get(config.API.reportEvaluate(type, numTab.assign_id,numTab.no), {
.get(config.API.reportEvaluate(type, numTab.id), {
responseType: "blob",
})
.then(async (res) => {