样式优化整合

This commit is contained in:
lix
2025-07-04 10:03:42 +08:00
parent e98ca8d9eb
commit 736f004b6b
194 changed files with 634 additions and 534 deletions

View File

@ -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="修改档案文件"

View File

@ -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) =>