feat(platform): add customer vehicle service hub

This commit is contained in:
lingniu
2026-07-06 03:01:08 +08:00
parent e69d8ecd10
commit 53a6aff662
2 changed files with 81 additions and 0 deletions

View File

@@ -834,6 +834,14 @@ test('dashboard prioritizes customer vehicle service command over data sources',
expect(screen.getByText('轨迹路径')).toBeInTheDocument();
expect(screen.getByText('区域围栏')).toBeInTheDocument();
expect(screen.getByText('地址解析')).toBeInTheDocument();
expect(await screen.findByText('客户车辆服务中枢')).toBeInTheDocument();
expect(screen.getByText('客户只关心车怎么服务:在哪里、是否在线、这段时间怎么跑、里程是否可信、异常是否已通知、数据能否交付。')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户车辆服务中枢 实时地图 208 在线 看车在哪' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户车辆服务中枢 轨迹回放 4 活跃 回放路线' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户车辆服务中枢 里程统计 1 天窗口 核对里程' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户车辆服务中枢 数据导出 1,286,320 今日数据 交付证据' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户车辆服务中枢 告警通知 7 告警 闭环通知' })).toBeInTheDocument();
expect(screen.getByText('运维接入、队列、存储、协议解析降级为证据层,默认不打断客户主流程。')).toBeInTheDocument();
});
test('dashboard presents a customer dispatch operations home', async () => {