From d1b764e59bb9d4a1a5e1d4e3deac2d56b7e7e4bb Mon Sep 17 00:00:00 2001 From: lingniu Date: Sun, 5 Jul 2026 04:57:08 +0800 Subject: [PATCH] feat(platform): refine customer vehicle workbench navigation --- vehicle-data-platform/apps/web/src/layout/AppShell.tsx | 9 +++++---- vehicle-data-platform/apps/web/src/test/App.test.tsx | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx index 34bdf085..ee800af3 100644 --- a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx +++ b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx @@ -24,7 +24,7 @@ const navGroups = [ audience: '客户', description: '以车辆为对象监控在线、位置和服务状态', items: [ - { itemKey: 'dashboard', text: '运营驾驶舱', icon: }, + { itemKey: 'dashboard', text: '车辆工作台', icon: }, { itemKey: 'vehicles', text: '车辆中心', icon: }, { itemKey: 'map', text: '实时地图', icon: }, { itemKey: 'realtime', text: '实时监控', icon: }, @@ -138,7 +138,8 @@ export function AppShell({ { label: '监控', ariaLabel: '顶部实时监控', page: 'realtime' as const }, { label: '轨迹', ariaLabel: '顶部轨迹回放', page: 'history' as const }, { label: '里程', ariaLabel: '顶部里程统计', page: 'mileage' as const }, - { label: '导出', ariaLabel: '顶部数据导出', page: 'history-query' as const } + { label: '导出', ariaLabel: '顶部数据导出', page: 'history-query' as const }, + { label: '告警', ariaLabel: '顶部告警事件', page: 'alert-events' as const } ]; return ( @@ -149,7 +150,7 @@ export function AppShell({ 车辆服务中台 - 车辆地图 / 里程统计 / 数据交付 + 地图监控 / 轨迹回放 / 告警通知
@@ -197,7 +198,7 @@ export function AppShell({ 一致性:{currentVehicleConsistency.title || `${currentVehicleConsistency.onlineSourceCount}/${currentVehicleConsistency.sourceCount} 来源`} ) : null} - {amapConfigured ? '地图就绪' : '地图待配置'} + {amapConfigured ? '高德地图就绪' : '高德地图待配置'}
{quickActions.map((item) => (