This commit is contained in:
@@ -182,6 +182,12 @@ export default {
|
|||||||
params: { ayatype: item.data }
|
params: { ayatype: item.data }
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
case "wiki":
|
||||||
|
vm.$router.push({
|
||||||
|
name: "ay-wiki",
|
||||||
|
params: { ayatype: item.data.ayaType, recordid: item.data.recordId }
|
||||||
|
});
|
||||||
|
break;
|
||||||
case "logout":
|
case "logout":
|
||||||
vm.$router.push("/login");
|
vm.$router.push("/login");
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -376,6 +376,12 @@ export default new Router({
|
|||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "ay" */ "./views/ay-customize.vue")
|
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
|
//TEST WIDGETS
|
||||||
|
|||||||
21
ayanova/src/views/ay-wiki.vue
Normal file
21
ayanova/src/views/ay-wiki.vue
Normal 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>
|
||||||
Reference in New Issue
Block a user