feature(StudiengangInformations componente): creates a Vue component for the StudiengangsInformationen that were displayed next to the news

This commit is contained in:
SimonGschnell
2024-12-04 11:20:52 +01:00
parent af3334f227
commit a3dc5aec93
7 changed files with 396 additions and 10 deletions
+7 -9
View File
@@ -11,15 +11,6 @@ export default {
);
},
news(limit) {
return this.$fhcApi.get(
"/api/frontend/v1/Cms/news",
{
limit: limit
}
);
},
getNews(page = 1, page_size = 10) {
return this.$fhcApi.get(
"/api/frontend/v1/Cms/getNews",
@@ -36,5 +27,12 @@ export default {
{}
);
},
getNewsExtra: function(){
return this.$fhcApi.get(
"/api/frontend/v1/Cms/getStudiengangInfoForNews",
{}
);
}
}
+3 -1
View File
@@ -33,6 +33,7 @@ import ort from "./ort.js";
import cms from "./cms.js";
import lehre from "./lehre.js";
import addons from "./addons.js";
import studiengang from "./studiengang.js";
export default {
search,
@@ -52,5 +53,6 @@ export default {
ort,
cms,
lehre,
addons
addons,
studiengang,
};
+9
View File
@@ -0,0 +1,9 @@
export default {
studiengangInformation: function () {
return this.$fhcApi.get(
"/api/frontend/v1/Studgang/getStudiengangInfo",
{}
);
}
}