|
|
@ -48,7 +48,10 @@ const RightTop = (props) => { |
|
|
|
useEffect(() => { |
|
|
|
dispatch(getRoadmaintain()).then((res) => { |
|
|
|
setRoadmaintainList(res.payload.data.reportList.filter((item, index) => { |
|
|
|
return item.projectType == "road" || item.projectType == "countyRoad" || item.projectType == "villageRoad" || item.projectType == "rusticRoad" |
|
|
|
return item.projectType == "road" |
|
|
|
|| item.projectType == "countyRoad" |
|
|
|
|| item.projectType == "villageRoad" |
|
|
|
|| item.projectType == "rusticRoad" |
|
|
|
})) |
|
|
|
}) |
|
|
|
}, []) |
|
|
|