fix invisible funktionen/betriebsmittel tabulator columns; fix phrasen roleInfo studentViewProfil;

This commit is contained in:
Johann Hoffmann
2025-02-13 12:06:41 +01:00
parent 9bcd566bee
commit 2d5309f97d
4 changed files with 38 additions and 47 deletions
@@ -58,18 +58,21 @@ export default {
formatter: "responsiveCollapse",
maxWidth: 40,
headerClick: this.collapseFunction,
visible: true
},
{
title: "Bezeichnung",
field: "Bezeichnung",
headerFilter: true,
minWidth: 200,
visible: true
},
{
title: "Organisationseinheit",
field: "Organisationseinheit",
headerFilter: true,
minWidth: 200,
visible: true
},
{
title: "Gültig_von",
@@ -77,6 +80,7 @@ export default {
headerFilter: true,
resizable: true,
minWidth: 200,
visible: true
},
{
title: "Gültig_bis",
@@ -84,12 +88,14 @@ export default {
headerFilter: true,
resizable: true,
minWidth: 200,
visible: true
},
{
title: "Wochenstunden",
field: "Wochenstunden",
headerFilter: true,
minWidth: 200,
visible: true
},
],
},
@@ -111,12 +117,14 @@ export default {
formatter: "responsiveCollapse",
maxWidth: 40,
headerClick: this.collapseFunction,
visible: true
},
{
title: "Betriebsmittel",
field: "betriebsmittel",
headerFilter: true,
minWidth: 200,
visible: true
},
{
title: "Nummer",
@@ -124,15 +132,17 @@ export default {
headerFilter: true,
resizable: true,
minWidth: 200,
visible: true
},
{
title: "Ausgegeben_am",
field: "Ausgegeben_am",
headerFilter: true,
minWidth: 200,
visible: true
},
],
},
}
};
},
@@ -256,15 +266,6 @@ export default {
value: this.data.ort_kurzbz
}
};
// return {
// [`${this.$p.t('profil', 'Geburtsdatum')}`]: this.data.gebdatum,
// [`${this.$p.t('profil', 'Geburtsort')}`]: this.data.gebort,
// [`${this.$p.t('profil', 'Kurzzeichen')}`]: this.data.kurzbz,
// [`${this.$p.t('profil', 'Telefon')}`]:
// (this.data.standort_telefon ? this.data.standort_telefon.kontakt + " " + this.data.telefonklappe : this.data.telefonklappe),
// [`${this.$p.t('profil', 'Büro')}`]: this.data.ort_kurzbz,
// };
},
},
@@ -390,11 +391,25 @@ export default {
<div class="row">
<div class="col-12 mb-4" >
<!-- FUNKTIONEN TABELLE -->
<core-filter-cmpt @tableBuilt="funktionenTableBuilt" :title="$p.t('person','funktionen')" ref="funktionenTable" :tabulator-options="funktionen_table_options" tableOnly :sideMenu="false" />
<core-filter-cmpt
@tableBuilt="funktionenTableBuilt"
:title="$p.t('person','funktionen')"
ref="funktionenTable"
:tabulator-options="funktionen_table_options"
tableOnly
:sideMenu="false"
/>
</div>
<div class="col-12 mb-4" >
<!-- BETRIEBSMITTEL TABELLE -->
<core-filter-cmpt @tableBuilt="betriebsmittelTableBuilt" :title="$p.t('profil','entlehnteBetriebsmittel')" ref="betriebsmittelTable" :tabulator-options="betriebsmittel_table_options" tableOnly :sideMenu="false" />
<core-filter-cmpt
@tableBuilt="betriebsmittelTableBuilt"
:title="$p.t('profil','entlehnteBetriebsmittel')"
ref="betriebsmittelTable"
:tabulator-options="betriebsmittel_table_options"
tableOnly
:sideMenu="false"
/>
</div>
</div>
</div>
@@ -46,18 +46,21 @@ export default {
formatter: "responsiveCollapse",
maxWidth: 40,
headerClick: this.collapseFunction,
visible: true
},
{
title: "Bezeichnung",
field: "Bezeichnung",
headerFilter: true,
minWidth: 200,
visible: true
},
{
title: "Organisationseinheit",
field: "Organisationseinheit",
headerFilter: true,
minWidth: 200,
visible: true
},
{
title: "Gültig_von",
@@ -65,6 +68,7 @@ export default {
headerFilter: true,
resizable: true,
minWidth: 200,
visible: true
},
{
title: "Gültig_bis",
@@ -72,12 +76,14 @@ export default {
headerFilter: true,
resizable: true,
minWidth: 200,
visible: true
},
{
title: "Wochenstunden",
field: "Wochenstunden",
headerFilter: true,
minWidth: 200,
visible: true
},
],
},
@@ -153,15 +159,6 @@ export default {
value: this.data.ort_kurzbz
}
};
// return {
// [`${this.$p.t('profil', 'Geburtsdatum')}`]: this.data.gebdatum,
// [`${this.$p.t('profil', 'Geburtsort')}`]: this.data.gebort,
// [`${this.$p.t('profil', 'Kurzzeichen')}`]: this.data.kurzbz,
// [`${this.$p.t('profil', 'Telefon')}`]:
// (this.data.standort_telefon ? this.data.standort_telefon + " " + this.data.telefonklappe : this.data.telefonklappe),
// [`${this.$p.t('profil', 'Büro')}`]: this.data.ort_kurzbz,
// };
},
},
@@ -206,17 +206,6 @@ export default {
value: this.data.gruppe.trim()
}
};
// so nicht
// return {
// [`${this.$p.t('profil','Geburtsdatum')}`]: this.data.gebdatum,
// [`${this.$p.t('profil', 'Geburtsort')}`]: this.data.gebort,
// [`${this.$p.t('person', 'personenkennzeichen')}`]: this.data.personenkennzeichen,
// [`${this.$p.t('lehre', 'studiengang')}`]: this.data.studiengang,
// [`${this.$p.t('lehre', 'semester')}`]: this.data.semester,
// [`${this.$p.t('lehre', 'lehrverband')}`]: this.data.verband,
// [`${this.$p.t('lehre', 'gruppe')}`]: this.data.gruppe.trim(),
// };
},
},
created() {
@@ -66,36 +66,26 @@ export default {
value: this.data.gebort
},
personenkennzeichen: {
label: `${this.$p.t('person','Geburtsort')}`,
label: `${this.$p.t('person','personenkennzeichen')}`,
value: this.data.personenkennzeichen
},
studiengang: {
label: `${this.$p.t('lehre','Geburtsort')}`,
label: `${this.$p.t('lehre','studiengang')}`,
value: this.data.studiengang
},
semester: {
label: `${this.$p.t('lehre','Geburtsort')}`,
label: `${this.$p.t('lehre','semester')}`,
value: this.data.semester
},
verband: {
label: `${this.$p.t('lehre','Geburtsort')}`,
label: `${this.$p.t('lehre','lehrverband')}`,
value: this.data.verband
},
gruppe: {
label: `${this.$p.t('lehre','Geburtsort')}`,
label: `${this.$p.t('lehre','gruppe')}`,
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(),
// };
},
},