feat(platform): add single vehicle action desk

This commit is contained in:
lingniu
2026-07-05 18:13:57 +08:00
parent 098e927ada
commit 91b60ed63a
3 changed files with 169 additions and 0 deletions

View File

@@ -12029,6 +12029,13 @@ test('copies vehicle service diagnostic summary', async () => {
expect(await screen.findByText('车辆服务结论')).toBeInTheDocument();
expect(screen.getByText('单车 Live View')).toBeInTheDocument();
expect(screen.getByText('客户打开一辆车时先看当前位置、最后上报、速度、SOC、总里程和告警再进入轨迹回放、统计查询、数据导出和告警闭环。')).toBeInTheDocument();
expect(screen.getByText('客户单车操作台')).toBeInTheDocument();
expect(screen.getByText('围绕这辆车直接完成看车、回放、统计、导出和告警通知。')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户单车操作台 看当前位置 113.2, 23.1 实时地图' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户单车操作台 回放轨迹 12 条 轨迹回放' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户单车操作台 核对里程 3 条 统计查询' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户单车操作台 导出证据 34 条 历史导出' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户单车操作台 告警通知 1 项 告警闭环' })).toBeInTheDocument();
expect(screen.getByText('当前位置')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '单车实时视图 实时位置 查看实时' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '单车实时视图 数据导出 历史导出' })).toBeInTheDocument();