mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
importing the api calls in the component and creating api endpoints for the cis profile page
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user