diff --git a/public/js/components/DetailHeader/DetailHeader.js b/public/js/components/DetailHeader/DetailHeader.js index 0378e8e9a..5fe657c49 100644 --- a/public/js/components/DetailHeader/DetailHeader.js +++ b/public/js/components/DetailHeader/DetailHeader.js @@ -54,7 +54,20 @@ export default { if (this.typeHeader === 'student') return this.headerData; if (this.typeHeader === 'mitarbeiter') return this.person_id; return null; - } + }, + hasTileAlphaSlot() { + return !!this.$slots.titleAlphaTile + }, + hasTileBetaSlot() { + return !!this.$slots.titleBetaTile + }, + hasTileGammaSlot() { + return !!this.$slots.titleGammaTile + }, + hasTileUIDSlot() { + return !!this.$slots.uid + }, + }, created(){ if(this.person_id) { @@ -310,19 +323,27 @@ export default {
-
- -
-
-

PNr

-
{{ headerDataMa?.personalnummer }}
-
-
-

UID

-
{{ headerDataMa?.mitarbeiter_uid }}
+
+ +
+
+

+
+
+
+

+
+
+
+

+
+
+
+

UID

+
+
-
diff --git a/public/js/components/Vertraege/Vertragsverwaltung.js b/public/js/components/Vertraege/Vertragsverwaltung.js index ed4bec50e..ff64874c6 100644 --- a/public/js/components/Vertraege/Vertragsverwaltung.js +++ b/public/js/components/Vertraege/Vertragsverwaltung.js @@ -62,7 +62,11 @@ export default { typeHeader="mitarbeiter" :domain="config.domain" fotoEditable - > + > + + + +