query views, router and store
This commit is contained in:
parent
8849d3e273
commit
0508e40494
8 changed files with 208 additions and 14 deletions
|
@ -239,6 +239,13 @@ const router = createRouter({
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "query-builder",
|
||||
name: "admin-club-query_builder",
|
||||
component: () => import("@/views/admin/club/query/Builder.vue"),
|
||||
meta: { type: "read", section: "club", module: "query" },
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -324,22 +331,22 @@ const router = createRouter({
|
|||
],
|
||||
},
|
||||
{
|
||||
path: "communication",
|
||||
name: "admin-settings-communication-route",
|
||||
path: "communication-type",
|
||||
name: "admin-settings-communication_type-route",
|
||||
component: () => import("@/views/RouterView.vue"),
|
||||
meta: { type: "read", section: "settings", module: "communication" },
|
||||
meta: { type: "read", section: "settings", module: "communication_type" },
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "admin-settings-communication",
|
||||
name: "admin-settings-communication_type",
|
||||
component: () => import("@/views/admin/settings/CommunicationType.vue"),
|
||||
},
|
||||
{
|
||||
path: ":id/edit",
|
||||
name: "admin-settings-communication-edit",
|
||||
name: "admin-settings-communication_type-edit",
|
||||
component: () => import("@/views/admin/settings/CommunicationTypeEdit.vue"),
|
||||
meta: { type: "update", section: "settings", module: "communication" },
|
||||
meta: { type: "update", section: "settings", module: "communication_type" },
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
props: true,
|
||||
},
|
||||
|
@ -389,6 +396,28 @@ const router = createRouter({
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "query-store",
|
||||
name: "admin-settings-query_store-route",
|
||||
component: () => import("@/views/RouterView.vue"),
|
||||
meta: { type: "read", section: "settings", module: "query" },
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "admin-settings-query_store",
|
||||
component: () => import("@/views/admin/ViewSelect.vue"),
|
||||
},
|
||||
{
|
||||
path: ":id/edit",
|
||||
name: "admin-settings-query_store-edit",
|
||||
component: () => import("@/views/admin/ViewSelect.vue"),
|
||||
meta: { type: "update", section: "settings", module: "query" },
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
props: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue