新增:新增系统监控/操作日志功能,优化日志表结构

This commit is contained in:
2023-01-16 23:00:54 +08:00
parent f4ea2d44d6
commit aa726fc6b6
26 changed files with 386 additions and 83 deletions

View File

@@ -9,7 +9,7 @@ const EXCEPTION: AppRouteRecordRaw = {
locale: 'menu.exception',
requiresAuth: true,
icon: 'icon-exclamation-circle',
order: 6,
order: 7,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const FORM: AppRouteRecordRaw = {
locale: 'menu.form',
icon: 'icon-settings',
requiresAuth: true,
order: 3,
order: 4,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const LIST: AppRouteRecordRaw = {
locale: 'menu.list',
requiresAuth: true,
icon: 'icon-list',
order: 2,
order: 3,
},
children: [
{

View File

@@ -0,0 +1,28 @@
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/operation',
name: 'OperationLog',
component: () => import('@/views/monitor/log/operation/index.vue'),
meta: {
locale: 'menu.log.operation.list',
requiresAuth: true,
roles: ['*'],
},
},
],
};
export default Monitor;

View File

@@ -9,7 +9,7 @@ const PROFILE: AppRouteRecordRaw = {
locale: 'menu.profile',
requiresAuth: true,
icon: 'icon-file',
order: 4,
order: 5,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const RESULT: AppRouteRecordRaw = {
locale: 'menu.result',
icon: 'icon-check-circle',
requiresAuth: true,
order: 5,
order: 6,
},
children: [
{

View File

@@ -9,7 +9,7 @@ const USER: AppRouteRecordRaw = {
locale: 'menu.user',
icon: 'icon-user',
requiresAuth: true,
order: 7,
order: 8,
},
children: [
{