feat(platform): add mileage delivery console

This commit is contained in:
lingniu
2026-07-05 17:48:18 +08:00
parent 67fe8567ef
commit 493834b834
3 changed files with 179 additions and 0 deletions

View File

@@ -8035,6 +8035,13 @@ test('shows mileage statistics workspace with trend source and definition', asyn
render(<App />);
expect(await screen.findByText('区间趋势')).toBeInTheDocument();
expect(screen.getByText('客户里程交付台')).toBeInTheDocument();
expect(screen.getByText('按自定义时间范围交付里程、闭合校验、异常复核和导出证据。')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户里程交付台 交付状态 复核后交付 复制交付' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户里程交付台 区间里程 140 km 复制摘要' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户里程交付台 闭合校验 闭合通过 发布审计' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户里程交付台 异常复核 1 条 轨迹复核' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户里程交付台 数据导出 4 条明细 导出明细' })).toBeInTheDocument();
expect(screen.getAllByText('来源贡献').length).toBeGreaterThanOrEqual(1);
expect(screen.getAllByText('2026-07-01').length).toBeGreaterThanOrEqual(1);
expect(screen.getAllByText('2026-07-02').length).toBeGreaterThanOrEqual(1);