mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
show different options for address types if the user is a mitarbeiter or a student
This commit is contained in:
@@ -3,11 +3,11 @@ export default {
|
||||
|
||||
|
||||
|
||||
isMitarbeiterOrStudent: function (uid) {
|
||||
getMitarbeiter: function (student_id) {
|
||||
const url =
|
||||
FHC_JS_DATA_STORAGE_OBJECT.app_root +
|
||||
`cis.php/Cis/Profil/isMitarbeiterOrStudent/${uid}`;
|
||||
return axios.get(url);
|
||||
`cis.php/api/v1/crm/Student/getStudent`;
|
||||
return axios.get(url,{student_id:student_id});
|
||||
},
|
||||
|
||||
getView: function (uid) {
|
||||
|
||||
Reference in New Issue
Block a user