fix(consult): mark rectification opened only after the case opens (BUG-1306)

This commit is contained in:
jesse-ux
2026-10-12 15:36:36 +08:00
committed by Jesse_Chen
parent 798e15effe
commit 805932addd
14 changed files with 228 additions and 27 deletions
@@ -26,6 +26,8 @@ export function RectificationOfferCard({
onStart,
}: Readonly<{ offer: RectificationOfferRecord; disabled: boolean; onStart: () => void }>) {
if (offer.status === "returned") return null;
// 「已经开始」 / 继续核对 only after the case is bound. autoOpen still shows
// the ordinary offer and 「开始核对出生时间」 until status is opened.
const opened = offer.status === "opened";
return (
<div className="rectification-offer-card" role="group" aria-label="核对出生时间">