Browse Source

养护详情 projectType='' 也展示

dev
巴林闲侠 1 year ago
parent
commit
e4cc1ece4b
  1. 9
      web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js

9
web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js

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

Loading…
Cancel
Save