|
|
|
@ -3,7 +3,6 @@ import { PageContainer } from '@ant-design/pro-layout';
|
|
|
|
|
import Constants from '@/constants';
|
|
|
|
|
import { Image } from 'antd';
|
|
|
|
|
import { ActionType, ProColumns, ProTable } from '@ant-design/pro-components';
|
|
|
|
|
import { handlePageQuery } from '@/utils/utils';
|
|
|
|
|
import { getPurchaseAgentPageForAdminUsingPost } from '@/services/pop-b2b2c/pbcPurchaseAgentInfoController';
|
|
|
|
|
import { Link } from '@umijs/max';
|
|
|
|
|
|
|
|
|
@ -112,8 +111,7 @@ const TableList: React.FC<{}> = () => {
|
|
|
|
|
columns={columns}
|
|
|
|
|
actionRef={actionRef}
|
|
|
|
|
request={(param: any) => {
|
|
|
|
|
const queryParam = handlePageQuery(param);
|
|
|
|
|
return fetchData(queryParam);
|
|
|
|
|
return fetchData(param);
|
|
|
|
|
}}
|
|
|
|
|
rowKey="pbcId"
|
|
|
|
|
size="small"
|
|
|
|
@ -122,7 +120,7 @@ const TableList: React.FC<{}> = () => {
|
|
|
|
|
labelWidth: 'auto',
|
|
|
|
|
span: 6
|
|
|
|
|
}}
|
|
|
|
|
params={{ pbcPurchaseAgentStatus: tabActiveKey }}
|
|
|
|
|
params={{ pbcReviewStatus: tabActiveKey }}
|
|
|
|
|
pagination={{
|
|
|
|
|
defaultPageSize: 20,
|
|
|
|
|
showSizeChanger: true,
|
|
|
|
|