Small changes
This commit is contained in:
parent
cdc3772384
commit
e8917cd69e
@ -309,4 +309,10 @@ public class RequestsController {
|
|||||||
UserCurriculum userCurriculum = new UserCurriculum(u, toEdit.getDestinationCurriculum(), c.get(Calendar.YEAR), true);
|
UserCurriculum userCurriculum = new UserCurriculum(u, toEdit.getDestinationCurriculum(), c.get(Calendar.YEAR), true);
|
||||||
userCurriculumRepository.save(userCurriculum);
|
userCurriculumRepository.save(userCurriculum);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/exemptionreq/{userId}")
|
||||||
|
public ResponseEntity<ArrayList<ExemptionsRequest>> getExReqByuser(@PathVariable long userId){
|
||||||
|
User u = userRepository.findById(userId);
|
||||||
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,6 @@ import {getExternalCurriculumByInscrReq} from "@/rest/externalCurriculum.js";
|
|||||||
import {ref} from "vue";
|
import {ref} from "vue";
|
||||||
import ExternalCurriculumList from "@/Apps/Inscription/ExternalCurriculumList.vue";
|
import ExternalCurriculumList from "@/Apps/Inscription/ExternalCurriculumList.vue";
|
||||||
import {editEquivalenceState} from "@/rest/requests.js";
|
import {editEquivalenceState} from "@/rest/requests.js";
|
||||||
import {downloadPdf} from "@/rest/uploads.js";
|
|
||||||
|
|
||||||
const props = defineProps(['target']);
|
const props = defineProps(['target']);
|
||||||
const request = await getRegisters(props.target);
|
const request = await getRegisters(props.target);
|
||||||
|
@ -30,6 +30,10 @@ const exemptReq = reactive({
|
|||||||
courseId : null,
|
courseId : null,
|
||||||
justifDocument : "",
|
justifDocument : "",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
async function getExemptions(){
|
||||||
|
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template style="margin-top:5%;">
|
<template style="margin-top:5%;">
|
||||||
|
Loading…
Reference in New Issue
Block a user