From 6aa1fc29e57608e0587456511f6d2c80e4b9acc5 Mon Sep 17 00:00:00 2001 From: Misaka_Company Date: Mon, 13 Apr 2026 16:09:39 +0800 Subject: [PATCH] feat(cleaner-history): display retry information in order history UI - Add 'Retry' column to order history table - Show retry count badge with refresh icon - Display retry success/failure status with visual indicators - Purple badge for retry count, green/red for success/failure --- .../CleanerOperationHistoryModal.tsx | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/renderer/src/components/CleanerOperationHistoryModal.tsx b/src/renderer/src/components/CleanerOperationHistoryModal.tsx index cc4f0fa..3e5ec77 100644 --- a/src/renderer/src/components/CleanerOperationHistoryModal.tsx +++ b/src/renderer/src/components/CleanerOperationHistoryModal.tsx @@ -630,6 +630,9 @@ export const CleanerOperationHistoryModal: React.FC 状态 + + 重试 + 已删除 @@ -686,6 +689,30 @@ export const CleanerOperationHistoryModal: React.FC + + {order.retryCount > 0 ? ( +
+ + + 重试{order.retryCount}次 + + {order.retrySuccess && ( + + + 成功 + + )} + {!order.retrySuccess && ( + + + 失败 + + )} +
+ ) : ( + - + )} + {order.materialsDeleted}