fix:搜索

This commit is contained in:
zsqtony 2025-07-01 09:35:27 +08:00
parent 3e0e4ed472
commit 0c0e06bfe8
2 changed files with 5 additions and 15 deletions

View File

@ -17,7 +17,6 @@ export default function Index({ title = '机构管理' }) {
<MyPageContainer title={title}>
<ProTable
{...MyProTableProps.props}
search={false}
request={async (params, sort) =>
MyProTableProps.request(params, sort, Apis.Company.Companies.List)
}
@ -32,30 +31,20 @@ export default function Index({ title = '机构管理' }) {
valueEnum: CompaniesMerchantTypeEnum,
}),
{
title: '组织名称',
title: '机构名称',
dataIndex: 'name',
},
{
title: '组织简称',
dataIndex: 'short_name',
search: false,
},
{
title: '营业执照号',
dataIndex: 'business_license_number',
search: false,
},
// {
// title: '联系人',
// dataIndex: 'contact_name',
// },
// {
// title: '手机号',
// dataIndex: 'contact_phone',
// },
// {
// title: '联系人邮箱',
// dataIndex: 'contact_email',
// },
MyColumns.UpdatedAt(),
// MyColumns.CreatedAt(),
MyColumns.Option({

View File

@ -15,7 +15,6 @@ export default function Index({ title = '管理员' }) {
<MyPageContainer title={title}>
<ProTable
{...MyProTableProps.props}
search={false}
request={async (params, sort) =>
MyProTableProps.request(
params,
@ -39,10 +38,12 @@ export default function Index({ title = '管理员' }) {
{
title: '机构',
dataIndex: ['company', 'name'],
search: false,
},
{
title: '组织',
dataIndex: ['organization', 'name'],
search: false,
},
MyColumns.UpdatedAt(),
MyColumns.CreatedAt(),