样式优化整合
This commit is contained in:
@ -3,6 +3,7 @@ import { history } from 'umi';
|
||||
import {Input, Button, Modal, Form, Select, message, DatePicker} from 'antd';
|
||||
import { SearchOutlined , UndoOutlined} from '@ant-design/icons';
|
||||
import ProTable, {ActionType, ProColumns} from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import {saveDateTimeFormatter} from "@/utils/DateUtils";
|
||||
import { fetchContracts, deleteContract,updateContract, getContract } from "@/pages/Contract/ContractService";
|
||||
import moment from "moment";
|
||||
@ -360,11 +361,7 @@ const ContractList: React.FC = () => {
|
||||
columns={columns}
|
||||
request={request}
|
||||
rowKey="contractCode"
|
||||
pagination={{
|
||||
pageSize: 10,
|
||||
showSizeChanger: true,
|
||||
pageSizeOptions: ['10', '20', '50', '100'],
|
||||
}}
|
||||
{...tableProps}
|
||||
// 移除操作按钮
|
||||
options={false}
|
||||
search={false}
|
||||
|
Reference in New Issue
Block a user