importing the api calls in the component and creating api endpoints for the cis profile page

This commit is contained in:
Simon Gschnell
2023-11-15 13:49:06 +01:00
parent 9227cc12f0
commit 7c229bbcee
6 changed files with 127 additions and 32 deletions
+11
View File
@@ -5,6 +5,17 @@ export default {
+ 'Cis/Profil/getUser';
return axios.get(url);
},
isMitarbeiterOrStudent: function(uid) {
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
+ `Cis/Profil/isMitarbeiterOrStudent/${uid}`;
return axios.get(url);
},
getPersonInformation: function(uid) {
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
+ `Cis/Profil/getPersonInformation/${uid}`;
return axios.get(url);
},
getUser2: function(uid) {
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
+ 'models/person/Benutzer_model/getFromPersonId';