|
|
@ -29,7 +29,7 @@ function homePage (props) { |
|
|
|
const [fireDevice, setFireDevice] = useState([]) |
|
|
|
const [fireTrend, setFireTrend] = useState([]) |
|
|
|
|
|
|
|
|
|
|
|
const { data: emergencyList = {} } = useFsRequest({ url: 'water/emergency' }); |
|
|
|
useEffect(() => { |
|
|
|
getFireData(); |
|
|
|
}, []) |
|
|
@ -87,6 +87,7 @@ function homePage (props) { |
|
|
|
<div className='homepage-center'> |
|
|
|
<Gis |
|
|
|
emergencyList={emergencyList} |
|
|
|
setLongitudeLatitude={setLongitudeLatitude} |
|
|
|
dispatch={dispatch} |
|
|
|
actions={actions} |
|
|
|
propTab={tab} |
|
|
@ -102,11 +103,11 @@ function homePage (props) { |
|
|
|
<div className='homepage-left homepage-left-right'> |
|
|
|
{tab == 'overview' ? <div className="list"> |
|
|
|
{/* <div className='child-right' style={childStyle}> |
|
|
|
<RightTop /> |
|
|
|
</div> |
|
|
|
<div className='child-right' style={childStyle}> |
|
|
|
<RightMiddle cardContentHeight={cardContentHeight} /> |
|
|
|
</div> */} |
|
|
|
<RightTop /> |
|
|
|
</div> |
|
|
|
<div className='child-right' style={childStyle}> |
|
|
|
<RightMiddle cardContentHeight={cardContentHeight} /> |
|
|
|
</div> */} |
|
|
|
<div className='child-right' style={{ height: 'calc(64% + 17px)', color: '#fff', marginBottom: 17 }}> |
|
|
|
<RightTop2 longitudeLatitude={longitudeLatitude} /> |
|
|
|
</div> |
|
|
|