feat(platform): refine customer service navigation

This commit is contained in:
lingniu
2026-07-05 12:43:46 +08:00
parent 9c6973b4ee
commit 9f5a091b87
3 changed files with 45 additions and 38 deletions

View File

@@ -418,10 +418,10 @@ export function Dashboard({
onClick: () => onOpenMileage({})
},
{
title: '数据导出',
title: '历史数据',
value: `${formatCount(summary?.frameToday)} 今日数据`,
detail: '按车辆、时间和字段裁剪查询历史位置与原始记录。',
action: '历史查询/导出',
action: '查询导出',
onClick: () => onOpenHistory({ tab: 'raw', includeFields: 'true' })
}
];
@@ -456,9 +456,9 @@ export function Dashboard({
},
{
step: '05',
title: '导出交付',
title: '查询导出',
detail: '导出历史位置、原始记录、字段明细和告警证据。',
action: '数据导出',
action: '历史数据',
onClick: () => openTimeMonitorRaw()
}
];
@@ -751,7 +751,7 @@ export function Dashboard({
detail: '按车辆回看位置、速度、里程和断点,用于定位异常复盘。',
actions: [
{ label: '打开轨迹回放', onClick: () => onOpenHistory() },
{ label: '查原始记录', onClick: () => onOpenHistory({ tab: 'raw', includeFields: 'true' }) }
{ label: '查历史明细', onClick: () => onOpenHistory({ tab: 'raw', includeFields: 'true' }) }
]
},
{
@@ -759,7 +759,7 @@ export function Dashboard({
value: `${formatCount(summary?.frameToday)} 今日帧`,
meta: '字段裁剪与导出',
color: 'blue' as const,
detail: '查询位置历史、原始记录和字段明细,为车辆服务提供可追溯依据。',
detail: '查询位置历史、历史明细和字段明细,为车辆服务提供可追溯依据。',
actions: [
{ label: '查询历史数据', onClick: () => onOpenHistory({ tab: 'location' }) },
{ label: '查询解析字段', onClick: () => onOpenHistory({ tab: 'raw', includeFields: 'true' }) }
@@ -1281,7 +1281,7 @@ export function Dashboard({
title: '交付数据',
value: `${formatCount(summary?.frameToday)} 今日数据`,
detail: '按车辆、时间、字段裁剪导出位置历史、原始记录和字段明细。',
action: '数据导出',
action: '查询导出',
color: 'blue' as const,
onClick: openTimeMonitorRaw
},
@@ -1314,7 +1314,7 @@ export function Dashboard({
`实时地图:${appURL(buildAppHash({ page: 'map', filters: { online: 'online' } }))}`,
`轨迹回放:${appURL(buildAppHash({ page: 'history', keyword: scope.keyword, protocol: scope.protocol, filters: scope }))}`,
`里程统计:${appURL(buildAppHash({ page: 'mileage', keyword: scope.keyword, protocol: scope.protocol, filters: scope }))}`,
`数据导出${appURL(buildAppHash({ page: 'history-query', keyword: scope.keyword, protocol: scope.protocol, filters: rawFilters }))}`,
`历史数据:${appURL(buildAppHash({ page: 'history-query', keyword: scope.keyword, protocol: scope.protocol, filters: rawFilters }))}`,
`告警事件:${appURL(buildAppHash({ page: 'alert-events', keyword: scope.keyword, protocol: scope.protocol, filters: scope }))}`
];
copyText(lines.join('\n'), '客户服务说明');
@@ -1340,7 +1340,7 @@ export function Dashboard({
<Button theme="solid" type="primary" onClick={() => onOpenMap({ online: 'online' })}></Button>
<Button theme="light" type="primary" onClick={() => onOpenHistory()}></Button>
<Button theme="light" type="primary" onClick={() => onOpenMileage({})}></Button>
<Button theme="light" type="primary" onClick={openTimeMonitorRaw}>/</Button>
<Button theme="light" type="primary" onClick={openTimeMonitorRaw}></Button>
<Button theme="light" onClick={copyCustomerServiceGuide}></Button>
</Space>
</div>