|
|
|
@ -169,27 +169,30 @@ const TableList: React.FC = () => {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '商户名称',
|
|
|
|
title: '商户名称',
|
|
|
|
dataIndex: 'pbcBusinessName'
|
|
|
|
dataIndex: 'pbcBusinessName',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '联系人',
|
|
|
|
title: '联系人',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'pbcBusinessContact'
|
|
|
|
dataIndex: 'pbcBusinessContact',
|
|
|
|
|
|
|
|
search: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '商户手机号',
|
|
|
|
title: '商户手机号',
|
|
|
|
width: 110,
|
|
|
|
width: 110,
|
|
|
|
dataIndex: 'pbcBusinessContactMobile'
|
|
|
|
dataIndex: 'pbcBusinessContactMobile',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '主营品类',
|
|
|
|
title: '主营品类',
|
|
|
|
dataIndex: 'pbcBusinessMainCategory',
|
|
|
|
dataIndex: 'pbcBusinessMainCategory',
|
|
|
|
ellipsis: true
|
|
|
|
ellipsis: true,
|
|
|
|
|
|
|
|
search: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '商户等级',
|
|
|
|
title: '商户等级',
|
|
|
|
width: 80,
|
|
|
|
width: 80,
|
|
|
|
dataIndex: 'pbcBusinessLevel'
|
|
|
|
dataIndex: 'pbcBusinessLevel',
|
|
|
|
|
|
|
|
search: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
@ -269,10 +272,19 @@ const TableList: React.FC = () => {
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<ProTable<API.PbcRecommendBusiness_>
|
|
|
|
<ProTable<API.PbcRecommendBusiness_>
|
|
|
|
columns={addColumns}
|
|
|
|
columns={addColumns}
|
|
|
|
request={async () => {
|
|
|
|
request={async (params) => {
|
|
|
|
const res = await getUnRecommendBusinessListUsingGet();
|
|
|
|
const res = await getUnRecommendBusinessListUsingGet();
|
|
|
|
|
|
|
|
let data = res.data || [];
|
|
|
|
|
|
|
|
if (params.pbcBusinessName) {
|
|
|
|
|
|
|
|
data = data.filter((item) => item.pbcBusinessName?.includes(params.pbcBusinessName!));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (params.pbcBusinessContactMobile) {
|
|
|
|
|
|
|
|
data = data.filter((item) =>
|
|
|
|
|
|
|
|
item.pbcBusinessContactMobile?.includes(params.pbcBusinessContactMobile!),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
data: res.data || [],
|
|
|
|
data,
|
|
|
|
success: !!res.retcode,
|
|
|
|
success: !!res.retcode,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
@ -280,7 +292,6 @@ const TableList: React.FC = () => {
|
|
|
|
rowKey="pbcId"
|
|
|
|
rowKey="pbcId"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
bordered
|
|
|
|
bordered
|
|
|
|
search={false}
|
|
|
|
|
|
|
|
options={false}
|
|
|
|
options={false}
|
|
|
|
pagination={false}
|
|
|
|
pagination={false}
|
|
|
|
rowSelection={{
|
|
|
|
rowSelection={{
|
|
|
|
|