mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
DetailHeader: add uid to redirectToLeitung
This commit is contained in:
@@ -68,18 +68,6 @@ export default {
|
||||
},
|
||||
deep: true,
|
||||
},
|
||||
/* person_id: {
|
||||
handler(newVal) {
|
||||
if (newVal) {
|
||||
this.getHeader(this.person_id);
|
||||
this.loadDepartmentData(this.person_id).
|
||||
then(() => {
|
||||
this.getLeitungOrg(this.departmentData.oe_kurzbz);
|
||||
});
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
},*/
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
@@ -116,7 +104,9 @@ export default {
|
||||
},
|
||||
redirectToLeitung(){
|
||||
this.$emit('redirectToLeitung', {
|
||||
person_id: this.leitungData.person_id});
|
||||
person_id: this.leitungData.person_id,
|
||||
uid: this.leitungData.uid
|
||||
});
|
||||
}
|
||||
},
|
||||
template: `
|
||||
|
||||
@@ -39,6 +39,7 @@ export default {
|
||||
},
|
||||
redirectToLeitung(leitung){
|
||||
this.person_id = leitung.person_id;
|
||||
this.mitarbeiter_uid = leitung.uid;
|
||||
}
|
||||
},
|
||||
template: `
|
||||
|
||||
Reference in New Issue
Block a user