This commit is contained in:
2019-12-30 21:09:30 +00:00
parent ce7789f949
commit df07d4f9ac
3 changed files with 33 additions and 0 deletions

View File

@@ -182,6 +182,12 @@ export default {
params: { ayatype: item.data }
});
break;
case "wiki":
vm.$router.push({
name: "ay-wiki",
params: { ayatype: item.data.ayaType, recordid: item.data.recordId }
});
break;
case "logout":
vm.$router.push("/login");
break;

View File

@@ -376,6 +376,12 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "ay" */ "./views/ay-customize.vue")
},
{
path: "/ay-wiki/:ayatype/:recordid",
name: "ay-wiki",
component: () =>
import(/* webpackChunkName: "home" */ "./views/ay-wiki.vue")
},
{
//TEST WIDGETS

View File

@@ -0,0 +1,21 @@
<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
},
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "feather",
title: window.$gz.locale.get("WikiPage"),
helpUrl: "form-ay-wiki"
});
}
};
</script>