|
|
@@ -526,10 +526,7 @@ export function CustomerWorkspacePage() {
|
|
|
return labelText === "生效中";
|
|
|
});
|
|
|
return <section className="ops-page ops-record-page customer-workspace record-detail">
|
|
|
- <div className="customer-record-navigation">
|
|
|
- <Link to={back.to} state={back.state} className="ops-back-link"><ArrowLeft size={16} />{back.label}</Link>
|
|
|
- <Button variant="ghost" size="sm" onClick={detail.reload}><RefreshCcw size={15} />刷新</Button>
|
|
|
- </div>
|
|
|
+ <Link to={back.to} state={back.state} className="ops-back-link"><ArrowLeft size={16} />{back.label}</Link>
|
|
|
<header className="customer-record-masthead">
|
|
|
<div className="customer-hero-symbol" aria-hidden="true"><Building2 size={26} /></div>
|
|
|
<div className="customer-hero-copy">
|
|
|
@@ -541,19 +538,16 @@ export function CustomerWorkspacePage() {
|
|
|
<span className="customer-record-region"><MapPin size={14} aria-hidden="true" /><TextCell value={mountedRegionPath} note="未取到该客户的区域挂载信息" /></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- {writable && <div className="ops-hero-actions customer-record-actions">
|
|
|
+ <div className="ops-hero-actions customer-record-actions">
|
|
|
{/* D-11:手册「客户/订阅详情页」均可发起服务停用;停用挂具体订阅(工单§3.2.1)。 */}
|
|
|
- {heroStopSub ? <CustomerServiceStopAction
|
|
|
+ {writable && heroStopSub ? <CustomerServiceStopAction
|
|
|
customerId={no || ""}
|
|
|
customerName={displayName}
|
|
|
orderId={heroStopSub.subscription_id}
|
|
|
orderLabel={heroStopSub.status_display?.label ?? orderView(heroStopSub).statusLabel}
|
|
|
/> : null}
|
|
|
- <Button variant="outline" size="sm" disabled={!form || busy} onClick={() => {
|
|
|
- setTab("profile");
|
|
|
- startField("name");
|
|
|
- }}>编辑档案</Button>
|
|
|
- </div>}
|
|
|
+ <Button variant="outline" onClick={detail.reload}><RefreshCcw size={15} />刷新</Button>
|
|
|
+ </div>
|
|
|
</header>
|
|
|
|
|
|
<dl className="customer-record-metrics" aria-label="客户业务摘要">
|