refactor fhcApi

This commit is contained in:
cgfhtw
2025-03-24 13:38:49 +01:00
parent f6352211f2
commit 9f06fbcf93
142 changed files with 4713 additions and 785 deletions
+5 -3
View File
@@ -1,6 +1,7 @@
import ProfilUpdateView from "../../components/Cis/ProfilUpdate/ProfilUpdateView.js";
import Phrasen from "../../plugin/Phrasen.js";
import PluginsPhrasen from "../../plugins/Phrasen.js";
import ApiProfilUpdate from '../../api/factory/ProfilUpdate.js';
// TODO: sobald in verwendung den vue router pfad zu ProfilUpdateView definieren und diese app in component auslagern
const app = Vue.createApp({
@@ -23,7 +24,8 @@ const app = Vue.createApp({
},
methods: {},
created() {
this.$fhcApi.factory.profilUpdate.getStatus()
this.$api
.call(ApiProfilUpdate.getStatus())
.then((response) => {
this.profilUpdateStates = response.data;
})
@@ -32,4 +34,4 @@ const app = Vue.createApp({
});
},
});
app.use(Phrasen).mount("#content");
app.use(PluginsPhrasen).mount("#content");