This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
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