feat: 日志管理独立出来、增加登录日志界面 (#65)

This commit is contained in:
2023-11-22 18:37:48 +08:00
committed by GitHub
parent 20195e7eaf
commit 9134c4fe01
15 changed files with 326 additions and 418 deletions

View File

@ -1,4 +1,5 @@
[
// ------------------------------ 主控面板 ------------------------------
{
"Component": "home",
"Icon": "el-icon-house",
@ -6,16 +7,17 @@
"Name": "home",
"Path": "/home",
"Sort": 100,
"Title": "控面板",
"Title": "控面板",
"Type": 1
},
// ------------------------------ 权限管理 ------------------------------
{
"Icon": "el-icon-setting",
"Id": 373837917724677,
"Name": "sys",
"Path": "/sys",
"Sort": 99,
"Title": "系统管理",
"Name": "power",
"Path": "/power",
"Sort": 100,
"Title": "权限管理",
"Type": 1
},
{
@ -58,41 +60,18 @@
"Name": "sys-menu",
"ParentId": 373837917724677,
"Path": "/sys/menu",
"Sort": 96,
"Sort": 97,
"Title": "菜单管理",
"Type": 1
},
// ------------------------------ 系统管理 ------------------------------
{
"Component": "sys/log",
"Icon": "el-icon-tickets",
"Id": 374792687640581,
"Name": "sys-log",
"ParentId": 373837917724677,
"Path": "/sys/log",
"Sort": 93,
"Title": "请求日志",
"Type": 1
},
{
"Component": "sys/cache",
"Icon": "sc-icon-memory",
"Id": 374911555702789,
"Name": "sys-cache",
"ParentId": 373837917724677,
"Path": "/sys/cache",
"Sort": 94,
"Title": "缓存管理",
"Type": 1
},
{
"Component": "sys/dic",
"Icon": "sc-icon-dic",
"Id": 375315654221829,
"Name": "sys-dic",
"ParentId": 373837917724677,
"Path": "/sys/dic",
"Sort": 95,
"Title": "字典管理",
"Icon": "sc-icon-App",
"Id": 485278637670422,
"Name": "sys",
"Path": "/sys",
"Sort": 99,
"Title": "系统管理",
"Type": 1
},
{
@ -100,32 +79,21 @@
"Icon": "el-icon-set-up",
"Id": 380415005847557,
"Name": "sys-config",
"ParentId": 373837917724677,
"ParentId": 485278637670422,
"Path": "/sys/config",
"Sort": 92,
"Sort": 100,
"Title": "系统设置",
"Type": 1
},
{
"Component": "home/widgets/components/ver",
"Icon": "el-icon-pointer",
"Id": 480998862188554,
"Name": "sys-about",
"ParentId": 373837917724677,
"Path": "/sys/about",
"Sort": 91,
"Title": "版本信息",
"Type": 1,
},
{
"Component": "sys/api",
"Icon": "sc-icon-api",
"Id": 397880678895621,
"Name": "sys-api",
"ParentId": 373837917724677,
"Path": "/sys/api",
"Sort": 96,
"Title": "接口管理",
"Component": "sys/dic",
"Icon": "sc-icon-dic",
"Id": 375315654221829,
"Name": "sys-dic",
"ParentId": 485278637670422,
"Path": "/sys/dic",
"Sort": 99,
"Title": "字典管理",
"Type": 1
},
{
@ -133,12 +101,78 @@
"Icon": "el-icon-message",
"Id": 482779610341392,
"Name": "sys-msg",
"ParentId": 373837917724677,
"ParentId": 485278637670422,
"Path": "/sys/msg",
"Sort": 98,
"Title": "消息管理",
"Type": 1,
},
{
"Component": "sys/api",
"Icon": "sc-icon-api",
"Id": 397880678895621,
"Name": "sys-api",
"ParentId": 485278637670422,
"Path": "/sys/api",
"Sort": 97,
"Title": "接口管理",
"Type": 1
},
{
"Component": "sys/cache",
"Icon": "sc-icon-memory",
"Id": 374911555702789,
"Name": "sys-cache",
"ParentId": 485278637670422,
"Path": "/sys/cache",
"Sort": 96,
"Title": "缓存管理",
"Type": 1
},
{
"Component": "home/widgets/components/ver",
"Icon": "el-icon-pointer",
"Id": 480998862188554,
"Name": "sys-about",
"ParentId": 485278637670422,
"Path": "/sys/about",
"Sort": 95,
"Title": "版本信息",
"Type": 1,
},
// ------------------------------ 日志管理 ------------------------------
{
"Icon": "el-icon-tickets",
"Id": 374792687640581,
"Name": "log",
"Path": "/log",
"Sort": 98,
"Title": "日志管理",
"Type": 1
},
{
"Component": "sys/log/operation",
"Icon": "el-icon-pointer",
"Id": 485285246504976,
"Name": "sys-log-operation",
"ParentId": 374792687640581,
"Path": "/sys/log/operation",
"Sort": 100,
"Title": "操作日志",
"Type": 1,
},
{
"Component": "sys/log/login",
"Icon": "sc-icon-OpenDoor",
"Id": 485285246504970,
"Name": "sys-log-login",
"ParentId": 374792687640581,
"Path": "/sys/log/login",
"Sort": 99,
"Title": "登录日志",
"Type": 1,
},
// ------------------------------ 开发管理 ------------------------------
{
"Icon": "sc-icon-code",
"Id": 373838105399301,
@ -165,7 +199,7 @@
"Icon": "el-icon-eleme-filled",
"Name": "dev-element",
"Path": "https://element-plus.gitee.io/zh-CN/component/button.html",
"Sort": 100,
"Sort": 99,
"Title": "Element",
"Type": 3,
}