Region create/edit complete

This commit is contained in:
Dean Bartok-Thomas
2019-08-13 15:33:17 +01:00
parent a875360694
commit 7d4d0ea166
7 changed files with 381 additions and 2 deletions

View File

@@ -168,6 +168,37 @@ export const asyncRoutes = [
}
]
},
{
path: '/regions',
component: Layout,
redirect: '/regions/list',
name: 'Regions',
meta: {
title: 'Regions',
icon: 'example'
},
children: [
{
path: 'create',
component: () => import('@/views/regions/create'),
name: 'CreateRegion',
meta: { title: 'Create Region', icon: 'edit' }
},
{
path: 'edit/:id',
component: () => import('@/views/regions/edit'),
name: 'EditRegion',
meta: { title: 'Edit Region', noCache: true, activeMenu: '/regions/list' },
hidden: true
},
{
path: 'list',
component: () => import('@/views/regions/list'),
name: 'RegionsList',
meta: { title: 'Region List', icon: 'list' }
}
]
},
{
path: '/permission',
component: Layout,