Added terminal edit/create

This commit is contained in:
Dean Bartok-Thomas
2019-08-13 22:42:41 +01:00
parent 7d4d0ea166
commit 4007a10077
6 changed files with 455 additions and 0 deletions

View File

@@ -199,6 +199,37 @@ export const asyncRoutes = [
}
]
},
{
path: '/terminals',
component: Layout,
redirect: '/terminals/list',
name: 'Terminals',
meta: {
title: 'Terminals',
icon: 'example'
},
children: [
{
path: 'create',
component: () => import('@/views/terminals/create'),
name: 'CreateRegion',
meta: { title: 'Create Terminal', icon: 'edit' }
},
{
path: 'edit/:id',
component: () => import('@/views/terminals/edit'),
name: 'EditTerminal',
meta: { title: 'Edit Terminal', noCache: true, activeMenu: '/terminals/list' },
hidden: true
},
{
path: 'list',
component: () => import('@/views/terminals/list'),
name: 'TerminalsList',
meta: { title: 'Terminal List', icon: 'list' }
}
]
},
{
path: '/permission',
component: Layout,