样式优化整合
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import ProTable, { ActionType, ProColumns } from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { Card } from 'antd';
|
||||
import React, { useRef, useState } from 'react';
|
||||
import { getAllList } from '../service';
|
||||
@ -217,8 +218,7 @@ const Index: React.FC<{}> = () => {
|
||||
}}
|
||||
onReset={() => setPage({ pageSize: 10, pageNo: 1 })}
|
||||
pagination={{
|
||||
pageSize: 10,
|
||||
showSizeChanger: false,
|
||||
...tableProps.pagination,
|
||||
onChange: (page, pageSize) => setPage({ pageSize: pageSize, pageNo: page }),
|
||||
onShowSizeChange: (current, pageSize) => setPage({ pageSize: pageSize, pageNo: current }),
|
||||
}}
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React, { useRef, useState } from 'react';
|
||||
import type { ProColumns, ActionType } from '@ant-design/pro-table';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import AlreadyView from './AlreadyView';
|
||||
import { getConfirmedList } from '../service';
|
||||
import { Button } from 'antd';
|
||||
@ -227,8 +228,7 @@ const AlreadyConfirmed: React.FC<{}> = () => {
|
||||
}}
|
||||
onReset={() => setPage({ pageSize: 10, pageNo: 1 })}
|
||||
pagination={{
|
||||
pageSize: 10,
|
||||
showSizeChanger: false,
|
||||
...tableProps.pagination,
|
||||
onChange: (page, pageSize) => setPage({ pageSize: pageSize, pageNo: page }),
|
||||
onShowSizeChange: (current, pageSize) => setPage({ pageSize: pageSize, pageNo: current }),
|
||||
}}
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React, { useRef, useState } from 'react';
|
||||
import type { ProColumns, ActionType } from '@ant-design/pro-table';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import WaitView from './WaitView';
|
||||
import { ConfirmBill, getConfirmedList, ReviewRejected } from '../service';
|
||||
import { Button, message, Modal, Popconfirm, Spin } from 'antd';
|
||||
@ -265,8 +266,7 @@ const WaitConfirmed: React.FC<{}> = () => {
|
||||
}}
|
||||
onReset={() => setPage({ pageSize: 10, pageNo: 1 })}
|
||||
pagination={{
|
||||
pageSize: 10,
|
||||
showSizeChanger: false,
|
||||
...tableProps.pagination,
|
||||
onChange: (page, pageSize) => setPage({ pageSize: pageSize, pageNo: page }),
|
||||
onShowSizeChange: (current, pageSize) => setPage({ pageSize: pageSize, pageNo: current }),
|
||||
}}
|
||||
|
Reference in New Issue
Block a user