mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
adds the reservierungen overview action for the search result with a room object and removes debugging prints
This commit is contained in:
@@ -241,10 +241,7 @@ export default {
|
||||
|
||||
},
|
||||
mounted(){
|
||||
// this is a test api call to test whether the addon lvevaluierung the menu point adds if the logged in user is the lector of the lehrveranstaltung
|
||||
this.$fhcApi.factory.addons.getLvMenu(750, "WS2005").then(res =>{
|
||||
console.log("this is the addon endpoint res",res);
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
template: /*html*/ `
|
||||
|
||||
@@ -9,12 +9,12 @@ export default {
|
||||
},
|
||||
created(){
|
||||
//! this should be the default action for a raum
|
||||
/*this.actions.defaultaction = {
|
||||
this.actions.defaultaction = {
|
||||
type: "link",
|
||||
action: function(data) {
|
||||
return FHC_JS_DATA_STORAGE_OBJECT.app_root+'cms/content.php?content_id='+data.content_id;
|
||||
}
|
||||
}; */
|
||||
};
|
||||
},
|
||||
emits: [ 'actionexecuted' ],
|
||||
template: /*html*/`
|
||||
@@ -37,10 +37,6 @@ export default {
|
||||
<div class="searchbar_tablecell">Standort</div>
|
||||
<div class="searchbar_tablecell">{{ res.standort }}</div>
|
||||
</div>
|
||||
<div class="searchbar_tablerow">
|
||||
<div class="searchbar_tablecell">data</div>
|
||||
<div class="searchbar_tablecell">{{ JSON.stringify(res,null,2) }}</div>
|
||||
</div>
|
||||
<div class="searchbar_tablerow">
|
||||
<div class="searchbar_tablecell">Sitzplätze</div>
|
||||
<div class="searchbar_tablecell">{{ res.sitzplaetze }}</div>
|
||||
|
||||
@@ -98,7 +98,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getActionsForRoom: function(res){
|
||||
res.roomoverview= FHC_JS_DATA_STORAGE_OBJECT.app_root +
|
||||
res.booklink= FHC_JS_DATA_STORAGE_OBJECT.app_root +
|
||||
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
|
||||
`/CisVue/Cms/getRoomInformation/${res.ort_kurzbz}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user