feat(platform): add realtime time window task board

This commit is contained in:
lingniu
2026-07-05 22:38:35 +08:00
parent 3e834d2eb2
commit b516a532b7
3 changed files with 182 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ test('renders vehicle platform shell', () => {
expect(screen.getByText('内部')).toBeInTheDocument();
expect(screen.getByText('客户主流程外查看链路质量')).toBeInTheDocument();
expect(screen.getAllByText('运营总览').length).toBeGreaterThanOrEqual(1);
expect(getComputedStyle(document.body).minWidth).not.toBe('1280px');
});
test('topbar frames customer work as a vehicle service delivery strip', () => {
@@ -10420,6 +10421,13 @@ test('frames realtime page as one vehicle service with source evidence', async (
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('地图能力:高德地图未配置,使用坐标预览'));
expect(screen.getByText('自定义时间窗复盘')).toBeInTheDocument();
expect(screen.getByText('按车辆和时间窗复盘发生了什么')).toBeInTheDocument();
expect(screen.getByText('时间窗监控任务台')).toBeInTheDocument();
expect(screen.getByText('把同一辆车、同一时间窗贯穿到轨迹、里程、历史导出和告警说明,避免客户跨页面重复筛选。')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '时间窗监控任务台 1 锁定车辆 粤ART002 已锁定' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '时间窗监控任务台 2 轨迹复盘 1 天窗口 轨迹回放' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '时间窗监控任务台 3 里程核对 119925 km 统计查询' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '时间窗监控任务台 4 历史导出 GB32960 导出证据' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '时间窗监控任务台 5 告警闭环 服务正常 告警复盘' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '时间窗复盘 轨迹回放 打开轨迹' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '时间窗复盘 历史数据 查询历史' })).toBeInTheDocument();
fireEvent.click(screen.getByRole('button', { name: /复制时间窗包/ }));