fix(log-center): ES 时间戳双字段兼容 + AI助手按钮去重清理

This commit is contained in:
attacker committed 2026-06-27 16:31:06 +08:00
1 parent 36bd0a6155
commit 084a3be2cf
4 files changed
+74 -207

No files matched your search

@@ -117,6 +117,16 @@ export function renderStepProgress(instance: JsonData) {
{isRejected && <XCircle className="h-3 w-3" />}
{isCurrent && !isRejected && <Loader2 className="h-3 w-3 animate-spin" />}
<span>{step.name || step.approver_name || `步骤 ${index + 1}`}</span>
{step.step_type && step.step_type !== 'submit' && (
<span className={cn(
'text-[10px] px-1 py-0 rounded',
step.step_type === 'execute'
? 'bg-green-500/15 text-green-400'
: 'bg-purple-500/15 text-purple-400'
)}>
{step.step_type === 'execute' ? '执行' : '审核'}
</span>
)}
</div>
{index < steps.length - 1 && (
<div className={cn('w-4 h-px', isCompleted ? 'bg-emerald-500/30' : 'bg-[var(--dg-border)]')} />