report/probation/16,17 เพิ่ม /no
This commit is contained in:
parent
dcd848fc9f
commit
467fa1aa2e
3 changed files with 4 additions and 4 deletions
|
|
@ -29,8 +29,8 @@ export default {
|
||||||
reportAssign:(type:string, id:string) => `${reportProbation}/13/${type}/${id}`,
|
reportAssign:(type:string, id:string) => `${reportProbation}/13/${type}/${id}`,
|
||||||
reportEvaluateRecord1:(type:string, id:string) => `${reportProbation}/14/${type}/${id}`,
|
reportEvaluateRecord1:(type:string, id:string) => `${reportProbation}/14/${type}/${id}`,
|
||||||
reportEvaluateRecord2:(type:string, id:string) => `${reportProbation}/15/${type}/${id}`,
|
reportEvaluateRecord2:(type:string, id:string) => `${reportProbation}/15/${type}/${id}`,
|
||||||
reportEvaluate:(type:string, id:string) => `${reportProbation}/16/${type}/${id}`,
|
reportEvaluate:(type:string, id:string,no:number) => `${reportProbation}/16/${type}/${id}/${no}`,
|
||||||
reportEvaluateChairman:(type:string, id:string) => `${reportProbation}/17/${type}/${id}`,
|
reportEvaluateChairman:(type:string, id:string,no:number) => `${reportProbation}/17/${type}/${id}/${no}`,
|
||||||
reportEvaluateResult:(type:string, id:string) => `${reportProbation}/18/${type}/${id}`,
|
reportEvaluateResult:(type:string, id:string) => `${reportProbation}/18/${type}/${id}`,
|
||||||
reportSurvey:(type:string, id:string) => `${reportProbation}/19/${type}/${id}`,
|
reportSurvey:(type:string, id:string) => `${reportProbation}/19/${type}/${id}`,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ const FileDownload = async (type: string) => {
|
||||||
let numTab = evaluate.value.find((e: any) => e.no === dataArrayNumber.value);
|
let numTab = evaluate.value.find((e: any) => e.no === dataArrayNumber.value);
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.reportEvaluate(type, numTab.id), {
|
.get(config.API.reportEvaluate(type, numTab.id,numTab.no), {
|
||||||
responseType: "blob",
|
responseType: "blob",
|
||||||
})
|
})
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ const FileDownload = async (type: string) => {
|
||||||
let numTab = evaluate.value.find((e: any) => e.no === dataArrayNumber.value);
|
let numTab = evaluate.value.find((e: any) => e.no === dataArrayNumber.value);
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.reportEvaluateChairman(type, numTab.id), {
|
.get(config.API.reportEvaluateChairman(type, numTab.id,numTab.no), {
|
||||||
responseType: "blob",
|
responseType: "blob",
|
||||||
})
|
})
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue