mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 20:57:21 +08:00
49 lines
1.1 KiB
TypeScript
49 lines
1.1 KiB
TypeScript
import { DEFAULT_LAYOUT } from '../base';
|
|
import { AppRouteRecordRaw } from '../types';
|
|
|
|
const Monitor: AppRouteRecordRaw = {
|
|
path: '/monitor',
|
|
name: 'monitor',
|
|
component: DEFAULT_LAYOUT,
|
|
meta: {
|
|
locale: 'menu.monitor',
|
|
requiresAuth: true,
|
|
icon: 'icon-computer',
|
|
order: 2,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'log/login',
|
|
name: 'LoginLog',
|
|
component: () => import('@/views/monitor/log/login/index.vue'),
|
|
meta: {
|
|
locale: 'menu.log.login.list',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
{
|
|
path: 'log/operation',
|
|
name: 'OperationLog',
|
|
component: () => import('@/views/monitor/log/operation/index.vue'),
|
|
meta: {
|
|
locale: 'menu.log.operation.list',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
{
|
|
path: 'log/system',
|
|
name: 'SystemLog',
|
|
component: () => import('@/views/monitor/log/system/index.vue'),
|
|
meta: {
|
|
locale: 'menu.log.system.list',
|
|
requiresAuth: true,
|
|
roles: ['*'],
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default Monitor;
|