Incentive Page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-01-03 13:33:47 +01:00
parent 8e7029f5fd
commit 125f6b80d8
11 changed files with 572 additions and 7 deletions

View File

@ -120,7 +120,7 @@ export const constantRoutes = [
*/
export const asyncRoutes = [
{
path: '/find',
path: '/', // find
component: Layout,
alwaysShow: false,
children: [
@ -137,7 +137,7 @@ export const asyncRoutes = [
]
},
{
path: '/',
path: '/dashboard',
component: Layout,
redirect: '/dashboard',
children: [
@ -161,6 +161,41 @@ export const asyncRoutes = [
}
]
},
{
path: '/incentives',
component: Layout,
redirect: '/example/list',
name: 'Example Articles',
meta: {
title: 'Incentives',
icon: 'example'
},
children: [
{
path: 'create',
component: () => import('@/views/incentives/create'),
name: 'CreateIncentive',
meta: { title: 'Incentive anlegen', icon: 'edit' }
},
{
path: 'list',
component: () => import('@/views/incentives/list'),
name: 'IncentiveList',
meta: { title: 'Incentive Liste', icon: 'list' }
},
{
path: 'edit/:id(\\d+)',
component: () => import('@/views/incentives/edit'),
name: 'EditIncentive',
meta: {
title: 'Incentive bearbeiten',
noCache: true,
activeMenu: '/example/list'
},
hidden: true
}
]
},
{
path: '/permission',
component: Layout,