feat(shipping-notice): 收敛复核状态隔离、STP 重试幂等与 XFA 合成预览标注

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-08-07 02:58:28 +08:00
1 parent 84a881b554
commit 74270adc22
149 files changed
+20111 -3871

No files matched your search

@@ -117,6 +117,24 @@ async function onRefresh() {
busy.value = false;
}
}
/**
* 聚焦裁决区并短暂高亮动作按钮(Footer / Resolver 委托)。
*/
function focusAdjudication() {
const root = document.querySelector('[data-testid="review-duplicate-panel"]');
root?.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
const actions = document.querySelector('[data-testid="review-duplicate-actions"]');
if (!(actions instanceof HTMLElement)) return;
actions.classList.add('ring-2', 'ring-amber-400');
window.setTimeout(() => {
actions.classList.remove('ring-2', 'ring-amber-400');
}, 1600);
}
defineExpose({
focusAdjudication,
});
</script>
<template>
@@ -168,7 +186,11 @@ async function onRefresh() {
</span>
</p>
<div v-if="editable && duplicate?.needs_adjudication" class="mt-3 space-y-2">
<div
v-if="editable && duplicate?.needs_adjudication"
class="mt-3 space-y-2 rounded-lg transition-shadow"
data-testid="review-duplicate-actions"
>
<div class="flex flex-wrap gap-2">
<button
v-if="allowed.has('open_existing')"