report/probation/16,17 เพิ่ม /no

This commit is contained in:
setthawutttty 2023-09-04 11:38:43 +07:00
parent dcd848fc9f
commit 467fa1aa2e
3 changed files with 4 additions and 4 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) => {