From 71b4d84d5aa6034cb5bcd03f113c0faf48be37a4 Mon Sep 17 00:00:00 2001
From: linkeyu <798648091@qq.com>
Date: Wed, 22 Jul 2026 14:59:10 +0800
Subject: [PATCH] feat(admin): group monitoring and audit navigation
---
src/app/(main)/layout.tsx | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx
index 609375c..f45b11f 100644
--- a/src/app/(main)/layout.tsx
+++ b/src/app/(main)/layout.tsx
@@ -67,8 +67,6 @@ const NAV_GROUPS: NavGroup[] = [
{ key: '/comparison-records', icon: , label: '比价记录' },
{ key: '/coupon-data', icon: , label: '领券记录' },
{ key: '/cps', icon: , label: 'CPS收益' },
- { key: '/device-liveness', icon: , label: '设备存活' },
- { key: '/analytics-health', icon: , label: '埋点成功率' },
],
},
{
@@ -92,9 +90,18 @@ const NAV_GROUPS: NavGroup[] = [
{ key: '/users', icon: , label: '用户管理' },
],
},
+ {
+ key: 'monitoring-audit',
+ icon: ,
+ label: '监控审计',
+ children: [
+ { key: '/device-liveness', icon: , label: '设备存活' },
+ { key: '/analytics-health', icon: , label: '埋点成功率' },
+ { key: '/event-logs', icon: , label: '埋点日志' },
+ { key: '/audit-logs', icon: , label: '审计日志' },
+ ],
+ },
{ key: '/admins', icon: , label: '权限管理' },
- { key: '/event-logs', icon: , label: '埋点日志' },
- { key: '/audit-logs', icon: , label: '审计日志' },
];
// 导航项 key(/dashboard)→ 权限页 key(dashboard),与后端 permissions.py 目录对齐
--
2.52.0