nili 9 months ago
parent
commit
5395af9fa5
  1. 25
      src/pages/AdvRecordList.tsx

25
src/pages/AdvRecordList.tsx

@ -112,7 +112,7 @@ const AdvRecordList: React.FC = () => {
return ( return (
<PageContainer> <PageContainer>
<ProTable<API.MatrixAdvRecordBo, API.PageParamAdvRecordQuery> <ProTable<API.MatrixAdvRecordBo, API.AdvRecordQuery>
headerTitle={intl.formatMessage({ headerTitle={intl.formatMessage({
id: 'pages.searchTable.title', id: 'pages.searchTable.title',
defaultMessage: 'Enquiry form', defaultMessage: 'Enquiry form',
@ -132,29 +132,6 @@ const AdvRecordList: React.FC = () => {
}} }}
columns={columns} 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> </PageContainer>
); );
}; };

Loading…
Cancel
Save