update console

This commit is contained in:
AceDataCloud committed 2024-01-01 02:50:17 +08:00
1 parent 29fd2dd801
commit 18ec9d181c
34 files changed
+1713 -112

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
import {
ROUTE_CONSOLE_APPLICATION_BUY,
ROUTE_CONSOLE_APPLICATION_LIST,
ROUTE_CONSOLE_ORDER_DETAIL,
ROUTE_CONSOLE_ORDER_LIST,
ROUTE_CONSOLE_ROOT
} from './constants';
export default {
path: '/console',
meta: {
auth: true
},
component: () => import('@/layouts/Console.vue'),
children: [
{
path: '',
name: ROUTE_CONSOLE_ROOT,
redirect: {
name: ROUTE_CONSOLE_APPLICATION_LIST
}
},
{
path: 'orders',
name: ROUTE_CONSOLE_ORDER_LIST,
component: () => import('@/pages/console/order/List.vue')
},
{
path: 'orders/:id',
name: ROUTE_CONSOLE_ORDER_DETAIL,
component: () => import('@/pages/console/order/Detail.vue')
},
{
path: 'applications',
name: ROUTE_CONSOLE_APPLICATION_LIST,
component: () => import('@/pages/console/application/List.vue')
},
{
path: 'applications/:id/buy',
name: ROUTE_CONSOLE_APPLICATION_BUY,
component: () => import('@/pages/console/application/Buy.vue')
}
]
};