restructuring controller

This commit is contained in:
Simon Gschnell
2023-12-05 10:39:39 +01:00
parent 71fda916a3
commit 087bf229af
9 changed files with 1511 additions and 90 deletions
+8 -2
View File
@@ -7,6 +7,12 @@ export default {
+ `cis.php/Cis/Profil/isMitarbeiterOrStudent/${uid}`;
return axios.get(url);
},
getView: function(payload) {
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
+ `cis.php/Cis/Profil/getView`;
return axios.post(url,payload);
},
sperre_foto_function: function(value) {
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
@@ -21,9 +27,9 @@ export default {
return axios.get(url);
},
mitarbeiterProfil: function(uid) {
mitarbeiterProfil: function() {
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router+
`/Cis/Profil/mitarbeiterProfil/${uid}`;
`/Cis/Profil/mitarbeiterProfil/`;
return axios.get(url);
},