diff --git a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx index 907bb917..f1db992d 100644 --- a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx +++ b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx @@ -18,18 +18,33 @@ import { isAMapConfigured } from '../config/appConfig'; export type PageKey = 'dashboard' | 'vehicles' | 'map' | 'realtime' | 'detail' | 'history' | 'history-query' | 'mileage' | 'alert-events' | 'quality' | 'notification-rules' | 'ops-quality'; -const navItems = [ - { itemKey: 'dashboard', text: '运营驾驶舱', icon: }, - { itemKey: 'map', text: '实时地图', icon: }, - { itemKey: 'vehicles', text: '车辆中心', icon: }, - { itemKey: 'realtime', text: '实时数据', icon: }, - { itemKey: 'detail', text: '车辆档案', icon: }, - { itemKey: 'history', text: '轨迹回放', icon: }, - { itemKey: 'history-query', text: '历史查询', icon: }, - { itemKey: 'mileage', text: '统计查询', icon: }, - { itemKey: 'alert-events', text: '告警事件', icon: }, - { itemKey: 'notification-rules', text: '通知规则', icon: }, - { itemKey: 'ops-quality', text: '运维质量', icon: } +const navGroups = [ + { + title: '车辆工作台', + items: [ + { itemKey: 'dashboard', text: '运营驾驶舱', icon: }, + { itemKey: 'map', text: '实时地图', icon: }, + { itemKey: 'vehicles', text: '车辆中心', icon: }, + { itemKey: 'realtime', text: '实时监控', icon: }, + { itemKey: 'detail', text: '车辆档案', icon: } + ] + }, + { + title: '查询分析', + items: [ + { itemKey: 'history', text: '轨迹回放', icon: }, + { itemKey: 'history-query', text: '历史查询', icon: }, + { itemKey: 'mileage', text: '统计查询', icon: } + ] + }, + { + title: '告警运维', + items: [ + { itemKey: 'alert-events', text: '告警事件', icon: }, + { itemKey: 'notification-rules', text: '通知规则', icon: }, + { itemKey: 'ops-quality', text: '运维质量', icon: } + ] + } ]; function linkHealthClassName(count: number | null) { @@ -113,15 +128,22 @@ export function AppShell({ 车辆服务中台 - 实时监控 / 轨迹 / 告警 / 统计 + 一车一服务 / 多源归并 -