样式优化整合

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

@ -1,6 +1,7 @@
import React, { useRef, useState } from 'react';
import { Button, Card } from 'antd';
import ProTable, { ActionType } from '@ant-design/pro-table';
import tableProps from '@/utils/tableProps';
import { ProColumns } from '@ant-design/pro-table/es';
import { getProjectTypeCode } from '@/utils/CommonUtils';
import { fetchJuryList } from '@/services/bidev';
@ -104,7 +105,7 @@ const JuryList: React.FC<{}> = () => {
};
})
}
pagination={{ defaultPageSize: 10, showSizeChanger: false }}
{...tableProps}
/>
{recordData == undefined ? null : (
<ExpertEnter

View File

@ -1,5 +1,6 @@
import { btnAuthority } from "@/utils/authority";
import ProTable, { ProColumns } from "@ant-design/pro-table";
import tableProps from '@/utils/tableProps';
import { Button, Card, Col, Input, message, Modal, Row, Spin, } from "antd";
import React, { useEffect, useRef, useState } from "react";
import '@/assets/xsy_style.less';
@ -259,9 +260,8 @@ const SimpleUpload: React.FC<{}> = (props) => {
columns={columnsGys}
dataSource={gysData}
pagination={{
defaultPageSize: 10,
...tableProps.pagination,
total: pageData.total,
showSizeChanger: false,
onChange: (page, pageSize) => pageDataSet({ ...pageData, pageNum: page, pageSize: pageSize }),
onShowSizeChange: (current, size) => pageDataSet({ ...pageData, pageNum: current, pageSize: size }),
}}
@ -328,10 +328,7 @@ const SimpleUpload: React.FC<{}> = (props) => {
data: msg.data?.records, success: msg?.success, total: msg?.data.total,
}
}}
pagination={{
defaultPageSize: 10,
showSizeChanger: false,
}}
{...tableProps}
/>
</Spin>
</Modal>