mcfxkh-Web/src/views/Home/panels/Bjfx/index.js

27 lines
729 B
JavaScript
Raw Normal View History

2025-05-27 16:33:56 +08:00
import React, { useMemo, useState } from 'react';
2025-05-29 13:27:37 +08:00
import { useDispatch, useSelector } from 'react-redux';
2025-05-27 16:33:56 +08:00
import PanelBox from '../../components/PanelBox';
import AreaDrpChart from './chart';
function DrpReal({ style }) {
2025-05-29 13:27:37 +08:00
const dispatch = useDispatch();
2025-05-27 16:33:56 +08:00
return (
<PanelBox
style={style}
title="报警分析"
color="green"
2025-05-29 13:27:37 +08:00
extra={
<>
<div style={{cursor:'pointer',color:'#3c88f7'}} onClick={()=>dispatch?.runtime.setInfoDlg({ layerId: 'BjLayer', properties: {} })}>更多</div>
</>
}
2025-05-27 16:33:56 +08:00
>
2025-05-29 13:27:37 +08:00
<img src='/assets/报警分析.jpg' style={{width:'26.5rem', height:'13.5rem',marginLeft:'0rem',marginTop:'1rem'}}/>
2025-05-27 16:33:56 +08:00
</PanelBox>
)
}
export default DrpReal;