39 行
829 B
TypeScript
39 行
829 B
TypeScript
import { DEFAULT_LAYOUT } from '../base';
|
|
import { AppRouteRecordRaw } from '../types';
|
|
|
|
const ORDER: AppRouteRecordRaw = {
|
|
path: '/order',
|
|
name: 'order',
|
|
component: DEFAULT_LAYOUT,
|
|
meta: {
|
|
locale: 'menu.order',
|
|
requiresAuth: true,
|
|
icon: 'icon-ordered-list',
|
|
order: 3,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'list',
|
|
name: 'OrderList',
|
|
component: () => import('@/views/order/list/index.vue'),
|
|
meta: {
|
|
locale: 'menu.order.list',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
{
|
|
path: 'arbitration',
|
|
name: 'OrderArbitration',
|
|
component: () => import('@/views/order/arbitration/index.vue'),
|
|
meta: {
|
|
locale: 'menu.order.arbitration',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default ORDER;
|