check permission system_change_outputformat in final exam on degree program oe_kurzbz

This commit is contained in:
Harald Bamberger
2025-04-22 11:11:46 +02:00
parent ced54d76d5
commit 34eb2ab80c
@@ -52,6 +52,15 @@ export default {
stg_kz(){
return this.studentKzs[0];
},
showAllFormats() {
if( this.isBerechtigtDocAndOdt === false
|| !Array.isArray(this.isBerechtigtDocAndOdt) )
{
return false;
}
let retval = this.isBerechtigtDocAndOdt.includes(this.stgInfo.oe_kurzbz);
return retval;
}
},
props: {
student: Object
@@ -478,7 +487,7 @@ export default {
<div v-if="this.student.length">
<abschlusspruefung-dropdown
:showAllFormats="isBerechtigtDocAndOdt"
:showAllFormats="showAllFormats"
:studentUids="studentUids"
:showDropDownMulti="true"
:stgTyp="stgInfo.typ"
@@ -832,7 +841,7 @@ export default {
<Teleport v-for="data in tabulatorData" :key="data.abschlusspruefung_id" :to="data.actionDiv">
<abschlusspruefung-dropdown
:showAllFormats="isBerechtigtDocAndOdt"
:showAllFormats="showAllFormats"
:showDropDownMulti="false"
:abschlusspruefung_id="data.abschlusspruefung_id"
:studentUids="data.student_uid"