mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
Teacher Proposal
This commit is contained in:
@@ -6,9 +6,26 @@ export default {
|
||||
all = all ? '/all' : '';
|
||||
return this.$fhcApi.get('api/frontend/v1/stv/grades/getCertificate/' + prestudent_id + all);
|
||||
},
|
||||
getTeacherProposal(prestudent_id, all) {
|
||||
all = all ? '/all' : '';
|
||||
return this.$fhcApi.get('api/frontend/v1/stv/grades/getTeacherProposal/' + prestudent_id + all);
|
||||
},
|
||||
updateCertificate(data) {
|
||||
return this.$fhcApi.post('api/frontend/v1/stv/grades/updateCertificate', data);
|
||||
},
|
||||
copyTeacherProposalToCertificate({lehrveranstaltung_id, student_uid, studiensemester_kurzbz, lehrveranstaltung_bezeichnung}) {
|
||||
return this.$fhcApi.post(
|
||||
'api/frontend/v1/stv/grades/copyTeacherProposalToCertificate',
|
||||
{
|
||||
lehrveranstaltung_id,
|
||||
student_uid,
|
||||
studiensemester_kurzbz
|
||||
},
|
||||
{
|
||||
errorHeader: lehrveranstaltung_bezeichnung
|
||||
}
|
||||
);
|
||||
},
|
||||
getGradeFromPoints(points) {
|
||||
return this.$fhcApi.post('api/frontend/v1/stv/grades/getGradeFromPoints', data);
|
||||
}
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import NotenZeugnis from './Noten/Zeugnis.js';
|
||||
import NotenTeacher from './Noten/Teacher.js';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
NotenZeugnis
|
||||
NotenZeugnis,
|
||||
NotenTeacher
|
||||
},
|
||||
props: {
|
||||
modelValue: Object
|
||||
@@ -13,7 +15,14 @@ export default {
|
||||
}
|
||||
},
|
||||
template: `
|
||||
<div class="stv-details-noten h-100 d-flex flex-column">
|
||||
<noten-zeugnis ref="zeugnis" :student="modelValue"></noten-zeugnis>
|
||||
<div class="stv-details-noten h-100 d-flex flex-column overflow-hidden">
|
||||
<div class="row">
|
||||
<div class="col-8">
|
||||
<noten-zeugnis ref="zeugnis" :student="modelValue"></noten-zeugnis>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<noten-teacher ref="teacher" :student="modelValue" @copied="reload"></noten-teacher>
|
||||
</div>
|
||||
</div>
|
||||
</div>`
|
||||
};
|
||||
Reference in New Issue
Block a user