@ -16,15 +16,15 @@
background: #FAFCFF;
}
// .global-pagination {
// .ant-pagination-item {
// border-color: #fff;
// }
// .ant-pagination-item-active {
// border-color: #EAF2FF;
// background: #EAF2FF;
// .ant-pagination-item-link {
// border-color: #fff !important;
.global-pagination {
.ant-pagination-item {
border-color: #fff;
.ant-pagination-item-active {
border-color: #EAF2FF;
background: #EAF2FF;
.ant-pagination-item-link {
border-color: #fff !important;
@ -228,6 +228,7 @@ const PatrolRecord = (props) => {
pagination={{
showSizeChanger: true,
pageSizeOptions: [10, 20, 50],
className: 'global-pagination',
}}
rowClassName={(record, index) => {
let className = 'global-light-row';
@ -307,6 +307,7 @@ const UserManage = (props) => {
if (index % 2 === 1) className = 'global-dark-row';
return className;
pagination={{ size: 'default', className: 'global-pagination' }}
/>
</div>
{
@ -100,7 +100,7 @@ function CheckItems(props) {
options={false}
dataSource={dataSource || []}
rowKey='id'
pagination={{ pageSize: 10 }}
pagination={{ pageSize: 10, size: 'default', className: 'global-pagination' }}
request={async (params = {}) => {
const res = await dispatch(getCheckItems({
limit: params.pageSize,
@ -131,7 +131,7 @@ function PatrolPlan(props) {
search={{
defaultCollapsed: false,
labelWidth: 'auto',
@ -173,6 +173,7 @@ const PatrolRecord = (props) => {
columns={columns}
dataSource={tableList}
current: query.page + 1,
total: limits,
@ -88,7 +88,7 @@ function patrolReport(props) {
const res = await dispatch(getPatrolReport({
limit: params?.pageSize,
@ -83,7 +83,7 @@ function PatrolTemplate(props) {
optionRender: (searchConfig, formProps, dom) => [