feat(platform): add mileage reconciliation conclusion

This commit is contained in:
lingniu
2026-07-05 22:55:15 +08:00
parent c2e1341d99
commit 934691e956
3 changed files with 162 additions and 0 deletions

View File

@@ -8376,6 +8376,12 @@ test('shows vehicle and source scope on mileage hash', async () => {
expect(await screen.findByText('当前车辆VIN-MILEAGE-001')).toBeInTheDocument();
expect(screen.getAllByText('数据通道GB32960').length).toBeGreaterThan(0);
expect(screen.getByText('里程对账结论')).toBeInTheDocument();
expect(screen.getByText('先回答客户这段时间跑了多少、闭合是否通过、异常是否需要复核,再进入轨迹、历史和导出。')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '里程对账结论 区间总里程 12.3 km 复制摘要' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '里程对账结论 闭合状态 分页抽样 发布审计' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '里程对账结论 异常记录 0 条 复制决策' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '里程对账结论 下一步 复核后交付 查看证据' })).toBeInTheDocument();
expect(screen.getByText('客户里程问题')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户里程问题 这段时间总共跑了多少? 复制摘要' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户里程问题 这份里程能给客户或 BI 吗? 发布审计' })).toBeInTheDocument();