强制用户输入联系方式

This commit is contained in:
zhx 2026-06-29 18:27:34 +08:00
parent c08f9e7a83
commit 9e72ff52c7
5 changed files with 27 additions and 0 deletions

View File

@ -30,6 +30,12 @@ const agencyColumns = [
render: (item) => <AgencyOwner item={item} />,
width: "minmax(220px, 1.2fr)",
},
{
key: "contact",
label: "联系方式",
render: (item) => item.contact || "-",
width: "minmax(150px, 0.85fr)",
},
{
key: "activeHostCount",
label: "子 Host",

View File

@ -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: "工资钱包",

View File

@ -28,6 +28,12 @@ const bdColumns = [
render: (item) => <span className={styles.inlineValue}>{formatCount(item.agencyCount)}</span>,
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",

View File

@ -24,6 +24,12 @@ const hostColumns = [
render: (item) => <HostStatusSwitch item={item} />,
width: "minmax(90px, 0.7fr)",
},
{
key: "contact",
label: "联系方式",
render: (item) => item.contact || "-",
width: "minmax(150px, 0.85fr)",
},
{
key: "diamond",
label: "钻石",

View File

@ -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;