|
@ -126,7 +126,7 @@ const PatrolRecord = (props) => { |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<div id='patrol-record'> |
|
|
<div id='patrol-record' className='global-main'> |
|
|
<div style={{ display: 'flex', justifyContent: 'space-between', padding: '0 10px' }}> |
|
|
<div style={{ display: 'flex', justifyContent: 'space-between', padding: '0 10px' }}> |
|
|
<Form |
|
|
<Form |
|
|
style={{ display: 'flex', }} |
|
|
style={{ display: 'flex', }} |
|
@ -186,6 +186,11 @@ const PatrolRecord = (props) => { |
|
|
record({ limit: pageSize, page: page - 1, ...search, companyId: search?.companyId }) |
|
|
record({ limit: pageSize, page: page - 1, ...search, companyId: search?.companyId }) |
|
|
} |
|
|
} |
|
|
}} |
|
|
}} |
|
|
|
|
|
rowClassName={(record, index) => { |
|
|
|
|
|
let className = 'global-light-row'; |
|
|
|
|
|
if (index % 2 === 1) className = 'global-dark-row'; |
|
|
|
|
|
return className; |
|
|
|
|
|
}} |
|
|
/> |
|
|
/> |
|
|
<Modal |
|
|
<Modal |
|
|
title='巡检记录详情' |
|
|
title='巡检记录详情' |
|
|