diff --git a/application/controllers/Cis/Profil.php b/application/controllers/Cis/Profil.php index 523a64386..0cba7e940 100644 --- a/application/controllers/Cis/Profil.php +++ b/application/controllers/Cis/Profil.php @@ -314,14 +314,14 @@ class Profil extends Auth_Controller $res->username = $uid; $res->anrede = $person_res->anrede; - $res->titel = $person_res->titelpre ." " . $person_res->titelpost; + $res->titel = $person_res->titelpre; $res->vorname = $person_res->vorname; $res->nachname = $person_res->nachname; if(!$view){ $res->gebort = $person_res->gebort; $res->gebdatum = $person_res->gebdatum; } - //$res->postnomen = $person_res->postnomen; //! still not found + $res->postnomen = $person_res->titelpost; $intern_email = array(); $intern_email+=array("type" => "intern"); $intern_email+=array("email"=> $uid . "@" . DOMAIN); diff --git a/public/js/apps/Cis.js b/public/js/apps/Cis.js index a00178056..b514f3662 100644 --- a/public/js/apps/Cis.js +++ b/public/js/apps/Cis.js @@ -20,13 +20,11 @@ Vue.createApp({ actions: { employee: { defaultaction: { - type: "function", + type: "link", action: function(data) { - alert('employee defaultaction ' + JSON.stringify(data)); - //return FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router+ - //"/Cis/Profil/"+data.person_id; - //? Person id is data.person_id - //? Benutzer UID is data.uid + return FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router+ + "/Cis/Profil/View/"+data.uid; + } }, childactions: [] diff --git a/public/js/components/Cis/Profil/Profil.js b/public/js/components/Cis/Profil/Profil.js index 1e7900c38..190962f85 100644 --- a/public/js/components/Cis/Profil/Profil.js +++ b/public/js/components/Cis/Profil/Profil.js @@ -24,7 +24,7 @@ export default { funktionen_table_options: { height: 300, layout: 'fitColumns', - data:[{Bezeichnung:"test1",Organisationseinheit:"test2",Gültig_von:"test3",Gültig_bis:"test4",Wochenstunden:"test5"}], + data:[{Bezeichnung:"",Organisationseinheit:"",Gültig_von:"",Gültig_bis:"",Wochenstunden:""}], columns: [{title: 'Bezeichnung', field: 'Bezeichnung', headerFilter: true}, {title: 'Organisationseinheit', field: 'Organisationseinheit', headerFilter: true}, {title: 'Gültig_von', field: 'Gültig_von', headerFilter: true}, @@ -35,7 +35,7 @@ export default { betriebsmittel_table_options:{ height: 300, layout: 'fitColumns', - data:[{betriebsmittel:"test1",Nummer:"test2",Ausgegeben_am:"test3"}], + data:[{betriebsmittel:"",Nummer:"",Ausgegeben_am:""}], columns: [{title: 'Betriebsmittel', field: 'betriebsmittel', headerFilter: true}, {title: 'Nummer', field: 'Nummer', headerFilter: true}, {title: 'Ausgegeben_am', field: 'Ausgegeben_am', headerFilter: true},] @@ -108,7 +108,7 @@ export default { Titel:this.index_information.titel, Vorname:this.index_information.vorname, Nachname:this.index_information.nachname, - Postnomen:null, + Postnomen:this.index_information.postnomen, }:{ Username:this.index_information.username, Matrikelnummer: this.student_info?.matrikelnummer, @@ -116,7 +116,7 @@ export default { Titel:this.index_information.titel, Vorname:this.index_information.vorname, Nachname:this.index_information.nachname, - Postnomen:null, + Postnomen:this.index_information.postnomen, }, GeburtsDaten:!this.role.includes("View")?{ Geburtsdatum:this.index_information.gebdatum, @@ -126,6 +126,7 @@ export default { SpecialInformation: this.role =='Mitarbeiter' || this.role === 'View_Mitarbeiter'? { Kurzzeichen: this.mitarbeiter_info?.kurzbz, Telefon: this.mitarbeiter_info?.telefonklappe, + //* Wird das Feld Ort_kurzbz noch gepflegt? ...(this.role === 'View_Mitarbeiter'?{Büro:this.mitarbeiter_info?.ort_kurzbz}:{}) , } : { Studiengang:this.student_info?.studiengang, @@ -150,15 +151,7 @@ export default { }, }, - - created(){ - - - - - - - }, + mounted(){ console.log(this.uid); @@ -241,12 +234,13 @@ export default {
-
+
+

Profilfoto gesperrt

Sperre des Profilfotos aufheben
Profilfoto sperren - +
@@ -303,9 +297,9 @@ export default {
-
+
- +