Daten fuer die Betriebsmittel und zutrittskarten_ausgegebenam gesammelt

This commit is contained in:
Simon Gschnell
2023-11-20 17:30:58 +01:00
parent 4fead18c06
commit 16b61d0560
5 changed files with 51 additions and 45 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export default {
},
created(){
//error //! fhcapifactory.UserData.getUser().then(res => this.person = res.data);
fhcapifactory.UserData.isMitarbeiterOrStudent(this.uid).then(res => this.role = res.data);
fhcapifactory.UserData.isMitarbeiterOrStudent(this.uid).then(res => {console.log(res.data);this.role = res.data;});
fhcapifactory.UserData.getMitarbeiterAnsicht().then(res => {this.person_info = res.data;});
},