|
@@ -161,7 +161,6 @@ export function CustomerAccountsPage() {
|
|
|
const rows = state.data?.items ?? [];
|
|
const rows = state.data?.items ?? [];
|
|
|
const total = state.data?.total ?? 0;
|
|
const total = state.data?.total ?? 0;
|
|
|
const safePage = clampPage(page, total, pageSize);
|
|
const safePage = clampPage(page, total, pageSize);
|
|
|
- const ownerName = customer?.customer.customer_name;
|
|
|
|
|
const regions = customer?.region_mounts.map((mount) => mount.path_name || mount.parent_node_id).join("、");
|
|
const regions = customer?.region_mounts.map((mount) => mount.path_name || mount.parent_node_id).join("、");
|
|
|
const missingDetail = detail.loading ? "读取中…" : detail.error ? "暂未获取" : "未配置";
|
|
const missingDetail = detail.loading ? "读取中…" : detail.error ? "暂未获取" : "未配置";
|
|
|
const [editing, setEditing] = useState<SubAccountRow | null>(null);
|
|
const [editing, setEditing] = useState<SubAccountRow | null>(null);
|
|
@@ -196,7 +195,7 @@ export function CustomerAccountsPage() {
|
|
|
<header className="order-heading">
|
|
<header className="order-heading">
|
|
|
<div>
|
|
<div>
|
|
|
<h1>下属分账号</h1>
|
|
<h1>下属分账号</h1>
|
|
|
- <PageIntro>{ownerName ? `查看${ownerName}的分账号,维护使用人姓名。` : "查看本公司的分账号,维护使用人姓名。"}</PageIntro>
|
|
|
|
|
|
|
+ <PageIntro>查询分账号的开通状态,更新使用人姓名。</PageIntro>
|
|
|
</div>
|
|
</div>
|
|
|
</header>
|
|
</header>
|
|
|
|
|
|