feat(platform): add customer question shortcuts

This commit is contained in:
lingniu
2026-07-05 15:46:32 +08:00
parent 416bf51746
commit e27d5513ed
3 changed files with 107 additions and 0 deletions

View File

@@ -811,6 +811,12 @@ test('dashboard exposes vehicle data center capability matrix', async () => {
expect(screen.getByRole('button', { name: '客户车辆工作流 统计查询 统计查询' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户车辆工作流 数据交付 历史导出' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户车辆工作流 告警通知 告警事件' })).toBeInTheDocument();
expect(screen.getByText('客户常问')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户常问 这辆车现在在哪里? 打开地图' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户常问 这段时间跑了多少公里? 查里程' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户常问 能不能回放轨迹? 轨迹回放' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户常问 数据能导出给客户吗? 查询导出' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户常问 哪些车需要马上处理? 告警事件' })).toBeInTheDocument();
expect(screen.getByText('来源只作为可信度证据,不作为客户主导航。')).toBeInTheDocument();
expect(screen.getByText('同一时间窗会同步用于轨迹回放、统计查询、历史查询和告警复盘。')).toBeInTheDocument();
expect(screen.getByText('车辆服务指挥台')).toBeInTheDocument();