|
@ -263,7 +263,7 @@ const PatrolNameList = (props) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const MaintenanceTable = (props) => { |
|
|
const MaintenanceTable = (props) => { |
|
|
const { userList, reportList, dispatch, reportListLoading, reportDetail, reportDetailLoading, userLoading } = props; |
|
|
const { userList, reportList, dispatch, reportListLoading, reportDetail, reportDetailLoading, userLoading, exports } = props; |
|
|
const [record, setRecord] = useState(); |
|
|
const [record, setRecord] = useState(); |
|
|
const [dateRange, setDateRange] = useState(); |
|
|
const [dateRange, setDateRange] = useState(); |
|
|
const [detailVisible, setDetailVisible] = useState(false) |
|
|
const [detailVisible, setDetailVisible] = useState(false) |
|
@ -333,7 +333,7 @@ const MaintenanceTable = (props) => { |
|
|
); |
|
|
); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
function mapStateToProps(state) { |
|
|
function mapStateToProps (state) { |
|
|
const { auth, depMessage, userList, reportList, reportDetail } = state; |
|
|
const { auth, depMessage, userList, reportList, reportDetail } = state; |
|
|
const pakData = (dep) => { |
|
|
const pakData = (dep) => { |
|
|
return dep.map((d) => { |
|
|
return dep.map((d) => { |
|
|