feat(platform): align customer mileage service wording

This commit is contained in:
lingniu
2026-07-06 06:19:40 +08:00
parent e847e1c7e8
commit 536d37ca9b
9 changed files with 316 additions and 316 deletions

View File

@@ -48,12 +48,12 @@ const navGroups = [
]
},
{
title: '轨迹统计',
title: '轨迹里程',
audience: '客户',
description: '回放轨迹、统计查询、导出数据',
description: '回放轨迹、里程统计、导出数据',
items: [
{ itemKey: 'history', text: '轨迹回放', icon: <IconMapPin /> },
{ itemKey: 'mileage', text: '统计查询', icon: <IconBarChartHStroked /> },
{ itemKey: 'mileage', text: '里程统计', icon: <IconBarChartHStroked /> },
{ itemKey: 'time-monitor', text: '时间窗监控', icon: <IconPulse /> },
{ itemKey: 'history-query', text: '数据导出', icon: <IconHistogram /> }
]
@@ -82,7 +82,7 @@ const internalNavGroups = navGroups.filter((group) => group.audience === '内部
const customerPrimaryPath = [
{ label: '车辆地图', page: 'map' as const },
{ label: '轨迹回放', page: 'history' as const },
{ label: '统计查询', page: 'mileage' as const },
{ label: '里程统计', page: 'mileage' as const },
{ label: '时间窗监控', page: 'time-monitor' as const },
{ label: '数据导出', page: 'history-query' as const },
{ label: '告警通知', page: 'alert-events' as const }
@@ -91,7 +91,7 @@ const customerPrimaryPath = [
const customerTaskPath = [
{ label: '地图看车', question: '车辆在哪里', page: 'map' as const },
{ label: '轨迹回放', question: '这段时间怎么跑', page: 'history' as const },
{ label: '统计查询', question: '里程怎么算', page: 'mileage' as const },
{ label: '里程统计', question: '里程怎么算', page: 'mileage' as const },
{ label: '时间窗监控', question: '这段时间发生什么', page: 'time-monitor' as const },
{ label: '数据导出', question: '证据怎么给客户', page: 'history-query' as const },
{ label: '告警通知', question: '异常谁处理', page: 'alert-events' as const }
@@ -218,7 +218,7 @@ export function AppShell({
{ label: '地图', ariaLabel: '顶部地图态势', page: 'map' as const },
{ label: '监控', ariaLabel: '顶部实时监控', page: 'realtime' as const },
{ label: '轨迹', ariaLabel: '顶部轨迹回放', page: 'history' as const },
{ label: '统计', ariaLabel: '顶部统计查询', page: 'mileage' as const },
{ label: '里程', ariaLabel: '顶部里程统计', page: 'mileage' as const },
{ label: '时间窗', ariaLabel: '顶部时间窗监控', page: 'time-monitor' as const },
{ label: '导出', ariaLabel: '顶部数据导出', page: 'history-query' as const },
{ label: '告警', ariaLabel: '顶部告警事件', page: 'alert-events' as const }
@@ -233,7 +233,7 @@ export function AppShell({
<span className="vp-brand-mark" />
<span className="vp-brand-copy">
<span></span>
<span> / / </span>
<span> / / </span>
</span>
</div>
<div className="vp-customer-primary-path" aria-label="客户主线">
@@ -257,7 +257,7 @@ export function AppShell({
<div className="vp-customer-task-dispatch" aria-label="客户任务分发台">
<div className="vp-customer-task-dispatch-head">
<strong></strong>
<span> VIN / / </span>
<span> VIN / / </span>
</div>
<div className="vp-customer-task-dispatch-actions">
{customerTaskPath.map((item) => (
@@ -395,7 +395,7 @@ export function AppShell({
<div className="vp-topbar-time-window" aria-label="客户时间窗">
<div className="vp-topbar-time-window-copy">
<strong></strong>
<span></span>
<span></span>
</div>
<label htmlFor="vp-customer-time-window-start">
<span></span>