Implements the backend and frontend methods to get some scholarshipRequests and exemptionsRequest
Extends the inscription.vue so that it also list scholarship and exemptions requests (not only inscription) this vue should be renamed later. Also implements some filters and parameters to select the data displayed in the list.
This commit is contained in:
@ -1,9 +1,17 @@
|
||||
import {restPost} from "@/rest/restConsumer.js";
|
||||
import {restGet, restPost} from "@/rest/restConsumer.js";
|
||||
|
||||
export async function createExemptionsRequest(exempReq){
|
||||
return restPost("/exemptionreq", exempReq)
|
||||
}
|
||||
|
||||
export async function createScholarshipRequest(scholReq){
|
||||
return restPost("/scholarshipreq", scholReq)
|
||||
export async function createScholarshipRequest(reqInfo){
|
||||
return restPost("/scholarshipreq", reqInfo)
|
||||
}
|
||||
|
||||
export async function getAllScholarShipsRequest(){
|
||||
return restGet("/scholarshipreq")
|
||||
}
|
||||
|
||||
export async function getAllExemptionsRequest(){
|
||||
return restGet("/exemptionsreq")
|
||||
}
|
Reference in New Issue
Block a user