Merge branch 'develop' into warunee-dev

This commit is contained in:
Warunee Tamkoo 2023-09-04 11:40:03 +07:00
commit e0740b6a42
6 changed files with 23 additions and 16 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.id), {
.get(config.API.reportEvaluate(type, numTab.id,numTab.no), {
responseType: "blob",
})
.then(async (res) => {

View file

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