From 9e72ff52c72f07fd5d1df519ea014f1449a2f9c4 Mon Sep 17 00:00:00 2001 From: zhx Date: Mon, 29 Jun 2026 18:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=88=B6=E7=94=A8=E6=88=B7=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E8=81=94=E7=B3=BB=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/host-org/pages/HostAgenciesPage.jsx | 6 ++++++ src/features/host-org/pages/HostBdLeadersPage.jsx | 6 ++++++ src/features/host-org/pages/HostBdsPage.jsx | 6 ++++++ src/features/host-org/pages/HostHostsPage.jsx | 6 ++++++ src/shared/api/types.ts | 3 +++ 5 files changed, 27 insertions(+) diff --git a/src/features/host-org/pages/HostAgenciesPage.jsx b/src/features/host-org/pages/HostAgenciesPage.jsx index 89ae274..fc3b267 100644 --- a/src/features/host-org/pages/HostAgenciesPage.jsx +++ b/src/features/host-org/pages/HostAgenciesPage.jsx @@ -30,6 +30,12 @@ const agencyColumns = [ render: (item) => , width: "minmax(220px, 1.2fr)", }, + { + key: "contact", + label: "联系方式", + render: (item) => item.contact || "-", + width: "minmax(150px, 0.85fr)", + }, { key: "activeHostCount", label: "子 Host", diff --git a/src/features/host-org/pages/HostBdLeadersPage.jsx b/src/features/host-org/pages/HostBdLeadersPage.jsx index a282e8d..1e31b1c 100644 --- a/src/features/host-org/pages/HostBdLeadersPage.jsx +++ b/src/features/host-org/pages/HostBdLeadersPage.jsx @@ -33,6 +33,12 @@ const bdLeaderBaseColumns = [ render: (item, _index, context) => regionName(item, context?.regionOptions), width: "minmax(130px, 0.75fr)", }, + { + key: "contact", + label: "联系方式", + render: (item) => item.contact || "-", + width: "minmax(150px, 0.85fr)", + }, { key: "salaryWallet", label: "工资钱包", diff --git a/src/features/host-org/pages/HostBdsPage.jsx b/src/features/host-org/pages/HostBdsPage.jsx index 489c834..d3de3f1 100644 --- a/src/features/host-org/pages/HostBdsPage.jsx +++ b/src/features/host-org/pages/HostBdsPage.jsx @@ -28,6 +28,12 @@ const bdColumns = [ render: (item) => {formatCount(item.agencyCount)}, width: "minmax(110px, 0.65fr)", }, + { + key: "contact", + label: "联系方式", + render: (item) => item.contact || "-", + width: "minmax(150px, 0.85fr)", + }, { key: "role", label: "角色", width: "minmax(100px, 0.65fr)" }, { key: "salaryWallet", diff --git a/src/features/host-org/pages/HostHostsPage.jsx b/src/features/host-org/pages/HostHostsPage.jsx index 17a70ac..3527b85 100644 --- a/src/features/host-org/pages/HostHostsPage.jsx +++ b/src/features/host-org/pages/HostHostsPage.jsx @@ -24,6 +24,12 @@ const hostColumns = [ render: (item) => , width: "minmax(90px, 0.7fr)", }, + { + key: "contact", + label: "联系方式", + render: (item) => item.contact || "-", + width: "minmax(150px, 0.85fr)", + }, { key: "diamond", label: "钻石", diff --git a/src/shared/api/types.ts b/src/shared/api/types.ts index f96bf61..d8b7cdd 100644 --- a/src/shared/api/types.ts +++ b/src/shared/api/types.ts @@ -575,6 +575,7 @@ export interface BDProfileDto { createdByDisplayUserId?: string; createdByUsername?: string; createdByUserId?: number; + contact?: string; displayUserId?: string; prettyDisplayUserId?: string; prettyId?: string; @@ -603,6 +604,7 @@ export interface AgencyDto { maxHosts?: number; name?: string; ownerAvatar?: string; + contact?: string; ownerDisplayUserId?: string; ownerUsername?: string; ownerUserId?: string; @@ -678,6 +680,7 @@ export interface HostProfileDto { currentAgencyOwnerDisplayUserId?: string; currentAgencyOwnerUserId?: string; currentAgencyOwnerUsername?: string; + contact?: string; currentMembershipId?: number; diamond?: number; displayUserId?: string;