Files
cdTestPlant3/cdTMP/src/router/routes/modules/minitor.js

55 lines
1.5 KiB
JavaScript
Raw Normal View History

2024-04-15 18:52:41 +08:00
import { DEFAULT_LAYOUT } from "../base"
const TESTMANAGE = {
path: "/monitor",
2024-07-22 18:57:12 +08:00
name: "monitor",
2024-04-15 18:52:41 +08:00
component: DEFAULT_LAYOUT, // () => import("@/layout/default-layout.vue")
meta: {
requiresAuth: true,
icon: "icon-desktop",
order: 1,
2024-06-20 19:12:13 +08:00
locale: "日志监控",
2024-09-03 17:40:15 +08:00
title: "日志监控",
roles: ["admin"] // 只有role=admin的用户才看到该页面
2024-04-15 18:52:41 +08:00
},
children: [
{
path: "operationLog",
2024-06-20 19:12:13 +08:00
name: "operationLog",
2024-04-15 18:52:41 +08:00
component: () => import("@/views/monitor/operationLog/index.vue"),
meta: {
requiresAuth: true,
2024-06-20 19:12:13 +08:00
locale: "数据操作日志",
icon: "icon-file",
title: "数据操作日志"
}
},
{
path: "operations",
name: "operations",
component: () => import("@/views/monitor/operations/index.vue"),
meta: {
requiresAuth: true,
roles: ["*"],
locale: "接口操作日志",
icon: "icon-file",
title: "接口操作日志"
}
},
{
path: "loginLog",
name: "loginLog",
component: () => import("@/views/monitor/loginLog/index.vue"),
meta: {
requiresAuth: true,
roles: ["*"],
locale: "登录日志",
icon: "icon-file",
title: "登录日志"
2024-04-15 18:52:41 +08:00
}
}
]
}
export default TESTMANAGE