fix: 统一报销付款状态与进度(09-04-reimbursement-state-gap-finance-view)
这个提交包含在:
@@ -10,6 +10,7 @@ type Props = {
|
||||
testId: string;
|
||||
mobile?: boolean;
|
||||
targetLinkLabel?: string;
|
||||
suppressedTargetHref?: string | null;
|
||||
};
|
||||
|
||||
const STATE_TEXT = {
|
||||
@@ -26,6 +27,7 @@ export function ProcessingProgress({
|
||||
testId,
|
||||
mobile = false,
|
||||
targetLinkLabel = "查看详情",
|
||||
suppressedTargetHref,
|
||||
}: Props) {
|
||||
return (
|
||||
<ol className="space-y-0" data-testid={testId} aria-label={ariaLabel}>
|
||||
@@ -61,7 +63,7 @@ export function ProcessingProgress({
|
||||
>
|
||||
<Icon className="size-4" />
|
||||
</span>
|
||||
<div className={cn("min-w-0 flex-1 pb-5", mobile ? "pt-1" : "pt-1.5")}>
|
||||
<div className={cn("min-w-0 flex-1 break-words pb-5", mobile ? "pt-1" : "pt-1.5")}>
|
||||
<div className="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 text-sm">
|
||||
<span className="font-semibold text-zinc-900">{stage.label}</span>
|
||||
{facts.length ? <span className="text-zinc-500">· {facts.join(" · ")}</span> : null}
|
||||
@@ -73,7 +75,7 @@ export function ProcessingProgress({
|
||||
{stage.comment}
|
||||
</blockquote>
|
||||
) : null}
|
||||
{stage.targetHref ? (
|
||||
{stage.targetHref && stage.targetHref !== suppressedTargetHref ? (
|
||||
<Link
|
||||
className="mt-2 inline-flex min-h-11 items-center gap-1 text-sm font-medium text-primary hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600 focus-visible:ring-offset-2"
|
||||
to={stage.targetHref}
|
||||
|
||||
在新工单中引用
屏蔽一个用户