|
|
@ -112,7 +112,7 @@ const AdvRecordList: React.FC = () => { |
|
|
|
|
|
|
|
return ( |
|
|
|
<PageContainer> |
|
|
|
<ProTable<API.MatrixAdvRecordBo, API.PageParamAdvRecordQuery> |
|
|
|
<ProTable<API.MatrixAdvRecordBo, API.AdvRecordQuery> |
|
|
|
headerTitle={intl.formatMessage({ |
|
|
|
id: 'pages.searchTable.title', |
|
|
|
defaultMessage: 'Enquiry form', |
|
|
@ -132,29 +132,6 @@ const AdvRecordList: React.FC = () => { |
|
|
|
}} |
|
|
|
columns={columns} |
|
|
|
/> |
|
|
|
{/* <Drawer |
|
|
|
width={600} |
|
|
|
open={showDetail} |
|
|
|
onClose={() => { |
|
|
|
setCurrentRow(undefined); |
|
|
|
setShowDetail(false); |
|
|
|
}} |
|
|
|
closable={false} |
|
|
|
> |
|
|
|
{currentRow?.name && ( |
|
|
|
<ProDescriptions<API.RuleListItem> |
|
|
|
column={2} |
|
|
|
title={currentRow?.name} |
|
|
|
request={async () => ({ |
|
|
|
data: currentRow || {}, |
|
|
|
})} |
|
|
|
params={{ |
|
|
|
id: currentRow?.name, |
|
|
|
}} |
|
|
|
columns={columns as ProDescriptionsItemProps<API.RuleListItem>[]} |
|
|
|
/> |
|
|
|
)} |
|
|
|
</Drawer> */} |
|
|
|
</PageContainer> |
|
|
|
); |
|
|
|
}; |
|
|
|