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

@ -29,8 +29,8 @@ export default {
reportAssign:(type:string, id:string) => `${reportProbation}/13/${type}/${id}`,
reportEvaluateRecord1:(type:string, id:string) => `${reportProbation}/14/${type}/${id}`,
reportEvaluateRecord2:(type:string, id:string) => `${reportProbation}/15/${type}/${id}`,
reportEvaluate:(type:string, id:string) => `${reportProbation}/16/${type}/${id}`,
reportEvaluateChairman:(type:string, id:string) => `${reportProbation}/17/${type}/${id}`,
reportEvaluate:(type:string, id:string,no:number) => `${reportProbation}/16/${type}/${id}/${no}`,
reportEvaluateChairman:(type:string, id:string,no:number) => `${reportProbation}/17/${type}/${id}/${no}`,
reportEvaluateResult:(type:string, id:string) => `${reportProbation}/18/${type}/${id}`,
reportSurvey:(type:string, id:string) => `${reportProbation}/19/${type}/${id}`,

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) => {