From 504a49a13ca65a47a029d5e225b88b97ff1d0e7f Mon Sep 17 00:00:00 2001 From: lingniu Date: Sat, 4 Jul 2026 18:53:52 +0800 Subject: [PATCH] feat(platform): align console with vehicle operations center --- vehicle-data-platform/apps/web/src/App.tsx | 2 +- .../apps/web/src/layout/AppShell.tsx | 17 ++++++++------- .../apps/web/src/pages/Dashboard.tsx | 8 +++---- .../apps/web/src/styles/global.css | 21 ++++++++++++++++++- .../apps/web/src/test/App.test.tsx | 10 ++++----- vehicle-data-platform/docs/deployment.md | 4 ++-- vehicle-data-platform/docs/product-spec.md | 21 +++++++++++++------ .../docs/vehicle-platform-blueprint.md | 13 ++++++++++++ 8 files changed, 70 insertions(+), 26 deletions(-) diff --git a/vehicle-data-platform/apps/web/src/App.tsx b/vehicle-data-platform/apps/web/src/App.tsx index af02d016..60bbc22a 100644 --- a/vehicle-data-platform/apps/web/src/App.tsx +++ b/vehicle-data-platform/apps/web/src/App.tsx @@ -455,7 +455,7 @@ export default function App() { const pages: Record = { dashboard: , vehicles: , - map: , + map: , realtime: , detail: , history: , diff --git a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx index 1e672c21..907bb917 100644 --- a/vehicle-data-platform/apps/web/src/layout/AppShell.tsx +++ b/vehicle-data-platform/apps/web/src/layout/AppShell.tsx @@ -19,14 +19,14 @@ 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: 'dashboard', text: '运营驾驶舱', icon: }, + { itemKey: 'map', text: '实时地图', icon: }, { itemKey: 'vehicles', text: '车辆中心', icon: }, - { itemKey: 'map', text: '地图态势', icon: }, - { itemKey: 'realtime', text: '实时监控', icon: }, + { itemKey: 'realtime', text: '实时数据', icon: }, { itemKey: 'detail', text: '车辆档案', icon: }, { itemKey: 'history', text: '轨迹回放', icon: }, { itemKey: 'history-query', text: '历史查询', icon: }, - { itemKey: 'mileage', text: '统计分析', icon: }, + { itemKey: 'mileage', text: '统计查询', icon: }, { itemKey: 'alert-events', text: '告警事件', icon: }, { itemKey: 'notification-rules', text: '通知规则', icon: }, { itemKey: 'ops-quality', text: '运维质量', icon: } @@ -111,7 +111,10 @@ export function AppShell({