接入V4任务卡目录查询
This commit is contained in:
@@ -270,6 +270,35 @@ function createOrderDetailResult(displayName = 'GRP-001') {
|
||||
created_at: '2026-07-08T04:00:00Z',
|
||||
},
|
||||
],
|
||||
v4_order_tasks: [
|
||||
{
|
||||
order_task_id: '9001',
|
||||
order_ref: 'order-ref-1',
|
||||
order_task_status: 'OPEN',
|
||||
card_counts: {
|
||||
total_count: 3,
|
||||
readonly_count: 1,
|
||||
pending_confirm_count: 1,
|
||||
review_required_count: 1,
|
||||
confirmed_count: 0,
|
||||
},
|
||||
source_message_summary: {
|
||||
source_message_id: '30003',
|
||||
hotel_id: 'HOTEL-TEST',
|
||||
external_message_id: 'm-v4-1',
|
||||
external_conversation_id: 'thread-v4-1',
|
||||
subject: 'V4 Booking Package',
|
||||
sender_summary: 'v4@example.test',
|
||||
received_at: '2026-07-08T05:00:00Z',
|
||||
source_sent_at: null,
|
||||
conversation_message_count: 1,
|
||||
},
|
||||
source_received_at: '2026-07-08T05:00:00Z',
|
||||
created_at: '2026-07-08T05:00:00Z',
|
||||
updated_at: '2026-07-08T05:10:00Z',
|
||||
latest_activity_at: '2026-07-08T05:10:00Z',
|
||||
},
|
||||
],
|
||||
warnings: [],
|
||||
}
|
||||
}
|
||||
@@ -461,6 +490,9 @@ describe('reservation P0 views', () => {
|
||||
expect(wrapper.text()).toContain('2')
|
||||
expect(wrapper.text()).toContain('前序任务未完成')
|
||||
expect(wrapper.text()).toContain('查看邮件会话')
|
||||
expect(wrapper.text()).toContain(zhCN.order.v4TaskTimeline)
|
||||
expect(wrapper.text()).toContain('order-ref-1')
|
||||
expect(wrapper.text()).toContain('V4 Booking Package')
|
||||
expect(wrapper.text()).not.toContain('PREVIOUS_TASK_NOT_FINISHED')
|
||||
expect(wrapper.text()).not.toContain('来源邮件摘要字段待后端补充')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user