mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-01 19:09:27 +00:00
40 lines
1.2 KiB
JavaScript
40 lines
1.2 KiB
JavaScript
export default {
|
|
|
|
|
|
|
|
isMitarbeiterOrStudent: function(uid) {
|
|
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
|
|
+ `cis.php/Cis/Profil/isMitarbeiterOrStudent/${uid}`;
|
|
return axios.get(url);
|
|
},
|
|
|
|
sperre_foto_function: function(value) {
|
|
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
|
|
+ `cis.php/Cis/Profil/foto_sperre_function/${value}`;
|
|
return axios.get(url);
|
|
},
|
|
|
|
|
|
indexProfilInformaion: function(uid, view=false) {
|
|
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router+
|
|
`/Cis/Profil/indexProfilInformaion/${uid}/${view}`;
|
|
|
|
return axios.get(url);
|
|
},
|
|
mitarbeiterProfil: function(uid) {
|
|
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router+
|
|
`/Cis/Profil/mitarbeiterProfil/${uid}`;
|
|
|
|
return axios.get(url);
|
|
},
|
|
studentProfil: function(uid, view=false) {
|
|
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router+
|
|
`/Cis/Profil/studentProfil/${uid}/${view}`;
|
|
|
|
return axios.get(url);
|
|
},
|
|
|
|
|
|
|
|
|
|
}; |