mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
42 lines
1.2 KiB
JavaScript
42 lines
1.2 KiB
JavaScript
export default {
|
|
getNotizen (url, config, params){
|
|
return this.$fhcApi.get('api/frontend/v1/notiz/notizPerson/getNotizen/' + params.id + '/' + params.type);
|
|
},
|
|
getUid(){
|
|
return this.$fhcApi.get('api/frontend/v1/notiz/notizPerson/getUid/');
|
|
},
|
|
addNewNotiz(form, id, formData) {
|
|
return this.$fhcApi.post(form,'api/frontend/v1/notiz/notizPerson/addNewNotiz/' + id,
|
|
formData
|
|
);
|
|
},
|
|
loadNotiz(notiz_id){
|
|
return this.$fhcApi.post('api/frontend/v1/notiz/notizPerson/loadNotiz/', {
|
|
notiz_id
|
|
});
|
|
},
|
|
loadDokumente(notiz_id){
|
|
return this.$fhcApi.post('api/frontend/v1/notiz/notizPerson/loadDokumente/', {
|
|
notiz_id
|
|
});
|
|
},
|
|
deleteNotiz(notiz_id, type_id, id){
|
|
return this.$fhcApi.post('api/frontend/v1/notiz/notizPerson/deleteNotiz/', {
|
|
notiz_id,
|
|
type_id,
|
|
id
|
|
});
|
|
},
|
|
updateNotiz(form, notiz_id, formData){
|
|
return this.$fhcApi.post(form,'api/frontend/v1/notiz/notizPerson/updateNotiz/' + notiz_id,
|
|
formData
|
|
);
|
|
},
|
|
getMitarbeiter(event){
|
|
return this.$fhcApi.get('api/frontend/v1/notiz/notizPerson/getMitarbeiter/' + event);
|
|
},
|
|
isBerechtigt(id, type_id){
|
|
return this.$fhcApi.get('api/frontend/v1/notiz/notizPerson/isBerechtigt/');
|
|
}
|
|
}
|