feat(platform): add history customer question flow

This commit is contained in:
lingniu
2026-07-05 16:00:29 +08:00
parent 12aef4461a
commit 0f6b47e97e
3 changed files with 150 additions and 0 deletions

View File

@@ -6552,6 +6552,12 @@ test('shows parsed field history as a flattened evidence table', async () => {
expect(screen.getByText('报表交付模板')).toBeInTheDocument();
expect(screen.getByText('按客户问题选择导出模板')).toBeInTheDocument();
expect(screen.getByText('车队报表不只是下载 CSV先选择用途再生成轨迹报告、明细证据包、字段裁剪包或周期交付计划。')).toBeInTheDocument();
expect(screen.getByText('客户历史问题')).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.getByRole('button', { name: '报表交付模板 明细证据包 导出证据' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '报表交付模板 字段裁剪包 字段配置' })).toBeInTheDocument();