student profile role info verband/gruppe/semester links to old cis list; reworked role info data to also work in english lol;

This commit is contained in:
Johann Hoffmann
2025-02-12 17:24:37 +01:00
parent e6edd42737
commit 480bef3b0d
6 changed files with 213 additions and 33 deletions
@@ -17,6 +17,12 @@ export default {
},
props: ["data"],
provide() {
return {
studiengang_kz: Vue.computed({ get: () => this.data.studiengang_kz }),
}
},
methods: {},
computed: {
@@ -49,15 +55,47 @@ export default {
return {};
}
return {
Geburtsdatum: this.data.gebdatum,
Geburtsort: this.data.gebort,
Personenkennzeichen: this.data.personenkennzeichen,
Studiengang: this.data.studiengang,
Semester: this.data.semester,
Verband: this.data.verband,
Gruppe: this.data.gruppe.trim(),
geburtsdatum: {
label: `${this.$p.t('profil','Geburtsdatum')}`,
value: this.data.gebdatum
},
geburtsort: {
label: `${this.$p.t('profil','Geburtsort')}`,
value: this.data.gebort
},
personenkennzeichen: {
label: `${this.$p.t('person','Geburtsort')}`,
value: this.data.personenkennzeichen
},
studiengang: {
label: `${this.$p.t('lehre','Geburtsort')}`,
value: this.data.studiengang
},
semester: {
label: `${this.$p.t('lehre','Geburtsort')}`,
value: this.data.semester
},
verband: {
label: `${this.$p.t('lehre','Geburtsort')}`,
value: this.data.verband
},
gruppe: {
label: `${this.$p.t('lehre','Geburtsort')}`,
value: this.data.gruppe.trim()
}
};
// return {
// Geburtsdatum: this.data.gebdatum,
// Geburtsort: this.data.gebort,
// Personenkennzeichen: this.data.personenkennzeichen,
// Studiengang: this.data.studiengang,
// Semester: this.data.semester,
// Verband: this.data.verband,
// Gruppe: this.data.gruppe.trim(),
// };
},
},