feat(platform): filter vehicle archive gaps
This commit is contained in:
@@ -594,6 +594,8 @@ test('shows vehicle service result summary on vehicle list filters', async () =>
|
||||
multiSourceVehicles: 181,
|
||||
noDataVehicles: 4,
|
||||
unboundVehicles: 9,
|
||||
archiveIncompleteVehicles: 12,
|
||||
archiveMissingFields: [{ field: 'phone', title: '缺手机号', count: 7 }],
|
||||
missingSources: [{ protocol: 'YUTONG_MQTT', count: 181 }]
|
||||
},
|
||||
traceId: 'trace-test',
|
||||
@@ -661,9 +663,12 @@ test('shows vehicle service result summary on vehicle list filters', async () =>
|
||||
expect(screen.getByText('单源车辆')).toBeInTheDocument();
|
||||
expect(screen.getByText('暂无来源车辆')).toBeInTheDocument();
|
||||
expect(screen.getByText('待绑定')).toBeInTheDocument();
|
||||
expect(screen.getByText('档案不完整')).toBeInTheDocument();
|
||||
expect(screen.getByText('缺手机号')).toBeInTheDocument();
|
||||
expect(screen.getByText('处置队列')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '维护身份绑定 9' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '确认平台转发 4' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '补齐缺手机号 7' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '补齐 YUTONG_MQTT 来源 181' })).toBeInTheDocument();
|
||||
expect(screen.getByText('档案完整度')).toBeInTheDocument();
|
||||
expect(screen.getByText('4/4')).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user