修复(履约渠道): 收敛管道事件避免待办自动刷新

This commit is contained in:
yml
2026-11-18 19:54:01 +08:00
parent 86c8417d4b
commit 97a98ac162
5 changed files with 52 additions and 3 deletions
@@ -564,7 +564,6 @@ function applyAdminRealtimeEvent(
event.scopes.includes('admin_fulfillment_pipelines')
) {
void queryClient.invalidateQueries({ queryKey: ['fulfillment-pipelines'] })
void queryClient.invalidateQueries({ queryKey: ['fulfillment-pending'] })
}
if (event.type === 'work_order.changed' && event.scopes.includes('admin_work_orders')) {
@@ -668,7 +668,7 @@ function PendingPanel() {
<PercentTable
rowKey={(row) => rowKey(row)}
size="small"
loading={query.isFetching}
loading={query.isLoading}
dataSource={query.data?.data?.items || []}
columns={columns}
pagination={buildAdminTablePagination({