修复人工复核任务卡类型映射

This commit is contained in:
andy
2026-07-09 19:29:09 +08:00
parent c1f9870fce
commit a5a251a3f3
5 changed files with 7 additions and 2 deletions

View File

@@ -394,7 +394,7 @@ describe('ReservationTaskDetailPanel', () => {
.mockResolvedValueOnce(
createTaskDetail({
system_task_type: 'MANUAL_REVIEW',
task_card_type: 'MANUAL_REVIEW',
task_card_type: 'FALLBACK_REVIEW',
}),
)
.mockResolvedValueOnce(
@@ -415,6 +415,7 @@ describe('ReservationTaskDetailPanel', () => {
const wrapper = await mountPanel()
expect(wrapper.text()).toContain('人工转换')
expect(wrapper.text()).not.toContain('未知任务类型')
await wrapper.find('select[name="manual_target_task_type"]').setValue('NEW_BOOKING')
await wrapper.find('textarea[name="manual_conversion_reason"]').setValue('识别为新预订')
@@ -436,7 +437,7 @@ describe('ReservationTaskDetailPanel', () => {
vi.mocked(service.fetchReservationTaskDetail).mockResolvedValue(
createTaskDetail({
system_task_type: 'MANUAL_REVIEW',
task_card_type: 'MANUAL_REVIEW',
task_card_type: 'FALLBACK_REVIEW',
}),
)
vi.mocked(service.fetchReservationOrders).mockResolvedValue(