样式优化整合

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>

View File

@ -2,6 +2,7 @@ import React, { PureComponent } from 'react';
import { Divider, Button, Form, Card, Tabs, Table, Tooltip, Input, Select, Row, Col, message, Modal, Popconfirm, Tag, InputNumber } from 'antd';
import { history } from 'umi';
import ProTable from '@ant-design/pro-table';
import tableProps from '@/utils/tableProps';
import { getDictBidMethodDict, getProMethod, getRoomId, getDefId, getQuotationMethodById } from '@/utils/session';
import { saveLeaderId, getJuryData, checkOpenBidSupplier, getPackageList, createReviewRoom, closingReviewRoom } from './components/service';
import './index.less';
@ -436,9 +437,7 @@ class manager extends PureComponent {
const pagination = {
current: pageNo,
total: managerList && managerList.total,
showSizeChanger: false,
// showQuickJumper: true,
defaultPageSize: 10,
...tableProps.pagination,
// showTotal: (total,range) => `共 ${total} 条记录,第${range.slice(',')[0]}-${range.slice(',')[1]}条`,
onChange: (page, pageSize) => {
this.setState({