DetailHeader: add uid to redirectToLeitung

This commit is contained in:
ma0068
2025-09-25 11:25:55 +02:00
parent 9067f0e00a
commit 5326f961c6
2 changed files with 4 additions and 13 deletions
@@ -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: `