样式优化整合
This commit is contained in:
@ -7,6 +7,7 @@ import { getSecondFileList, selectParam2, updateSecondFile } from '../service';
|
||||
import { handleDelete, handleUpdate } from '../utils';
|
||||
import CreateDocument from './CreateDocument';
|
||||
import Details from './Details';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
|
||||
interface SecondProTableProps {
|
||||
//一级列表数据
|
||||
@ -182,7 +183,7 @@ const SecondProTable: React.FC<SecondProTableProps> = (props) => {
|
||||
};
|
||||
})
|
||||
}
|
||||
pagination={{ defaultPageSize: 10, showSizeChanger: false, hideOnSinglePage: true, }}
|
||||
{...tableProps}
|
||||
/>
|
||||
<CreateDocument
|
||||
title="修改档案文件"
|
||||
|
@ -11,6 +11,7 @@ import { ActionType } from '@ant-design/pro-list/node_modules/@ant-design/pro-ta
|
||||
import SecondProTable from './components/SecondProTable';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import ExceptionArchive from './components/ExceptionArchive';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
const ProjectArchive: React.FC<{}> = () => {
|
||||
//一级标段目录行数据
|
||||
const [firstDataRecord, setFirstDataRecord] = useState<any>();
|
||||
@ -209,13 +210,7 @@ const ProjectArchive: React.FC<{}> = () => {
|
||||
},
|
||||
},
|
||||
}}
|
||||
pagination={{
|
||||
showQuickJumper: true,
|
||||
showSizeChanger: false,
|
||||
defaultPageSize: 10,
|
||||
size: 'small',
|
||||
hideOnSinglePage: true
|
||||
}}
|
||||
{...tableProps}
|
||||
actionRef={firstActionRef}
|
||||
params={{ projectId: getProId() }}
|
||||
request={async (params) =>
|
||||
|
Reference in New Issue
Block a user