根据要求修改

master
秦子超 2025-07-11 09:16:29 +08:00
parent eae55d8b5a
commit 129326f804
12 changed files with 205 additions and 9 deletions

BIN
public/assets/jcgj.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -46,6 +46,14 @@
"y": 0,
"pixelRatio": 1,
"visible": true
},
"实时雨量1": {
"width": 32,
"height": 32,
"x": 220,
"y": 190,
"pixelRatio": 1,
"visible": true
},
"水库": {
"width": 32,
@ -54,6 +62,22 @@
"y": 0,
"pixelRatio": 1,
"visible": true
},
"水库1": {
"width": 32,
"height": 32,
"x": 32,
"y": 0,
"pixelRatio": 1,
"visible": true
},
"巡查": {
"width": 32,
"height": 32,
"x": 128,
"y": 32,
"pixelRatio": 1,
"visible": true
},
"水库-离线": {
"width": 32,
@ -247,6 +271,14 @@
"pixelRatio": 1,
"visible": true
},
"流量站": {
"width": 32,
"height": 32,
"x": 160,
"y": 32,
"pixelRatio": 1,
"visible": true
},
"泵站": {
"width": 32,
"height": 32,
@ -286,5 +318,117 @@
"y": 256,
"pixelRatio": 1,
"visible": true
},
"变形监测": {
"width": 26,
"height": 26,
"x": 0,
"y": 288,
"pixelRatio": 0.8,
"visible": true
},
"渗压监测": {
"width": 26,
"height": 26,
"x": 28,
"y": 290,
"pixelRatio": 0.6,
"visible": true
},
"渗流监测": {
"width": 22,
"height": 22,
"x": 52,
"y": 290,
"pixelRatio": 0.5,
"visible": true
},
"白蚁监测": {
"width": 20,
"height": 30,
"x": 74,
"y": 286,
"pixelRatio": 0.5,
"visible": true
},
"水闸2": {
"width": 24,
"height": 32,
"x": 94,
"y": 290,
"pixelRatio": 0.5,
"visible": true
},
"泵站2": {
"width": 15,
"height": 32,
"x": 118,
"y": 290,
"pixelRatio": 0.5,
"visible": true
},
"水表": {
"width": 20,
"height": 32,
"x": 133,
"y": 290,
"pixelRatio": 0.5,
"visible": true
},
"渠道": {
"width": 14,
"height": 32,
"x": 153,
"y": 290,
"pixelRatio": 0.6,
"visible": true
},
"水质": {
"width": 16,
"height": 32,
"x": 167,
"y": 290,
"pixelRatio": 0.5,
"visible": true
},
"土壤墒情": {
"width": 24,
"height": 32,
"x": 183,
"y": 290,
"pixelRatio": 0.5,
"visible": true
},
"水厂": {
"width": 32,
"height": 32,
"x": -3,
"y": 315,
"pixelRatio": 0.6,
"visible": true
},
"水厂q": {
"width": 32,
"height": 32,
"x": 28,
"y": 315,
"pixelRatio": 0.6,
"visible": true
},
"水源地": {
"width": 32,
"height": 32,
"x": 256,
"y": 0,
"pixelRatio": 0.6,
"visible": true
} ,
"水源地q": {
"width": 32,
"height": 32,
"x": 59,
"y": 315,
"pixelRatio": 0.6,
"visible": true
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -10,6 +10,7 @@ const config = {
address,
title: '麻城市智慧水利一张图',
title2: '麻城市防汛一张图',
title3: '麻城市水库一张图',
ADCD,
ADCD6,
ADCD12,

View File

@ -29,7 +29,8 @@ function HDStDlg({ record, onClose,open }) {
<DpCloseButton onClick={onClose} />
</DpAppBar>
<div style={{padding:0}}>
<img src={`${process.env.PUBLIC_URL}/assets/jrx.png`} style={{width:'100%'}}></img>
{/* <img src={`${process.env.PUBLIC_URL}/assets/jrx.png`} style={{width:'100%'}}></img> */}
<img src={`${process.env.PUBLIC_URL}/assets/浸润线修改2.png`} style={{width:'100%'}}></img>
</div>
</DialogContent>
<div className="boxfoot"></div>

View File

@ -60,7 +60,7 @@ function HDStDlg({ record, onClose }) {
<DpTableCell align="center">GN1</DpTableCell>
<DpTableCell align="center">红色</DpTableCell>
<DpTableCell align="center">-120mm</DpTableCell>
<DpTableCell align="center">100mm</DpTableCell>
<DpTableCell align="center">±100mm</DpTableCell>
<DpTableCell align="center"></DpTableCell>
</DpTableRow>

View File

@ -126,7 +126,8 @@ export default function ActionDock({ }) {
<div className="dock-item" onClick={() => {
if (o.children) {
if(o.id===400){
window.open("https://axhub.im/ax9/eec435b86544bac8/#id=arlcql&p=%E7%81%8C%E5%8C%BA%E6%80%BB%E8%A7%88&sc=1&c=1")
// window.open("https://axhub.im/ax9/eec435b86544bac8/#id=arlcql&p=%E7%81%8C%E5%8C%BA%E6%80%BB%E8%A7%88&sc=1&c=1")
window.open("https://workspace.easyv.cloud/shareScreen/eyJzY3JlZW5JZCI6MzUwOTQ0MywiZXhwaXJlZEF0IjoiMjAyNS0wNy0xMFQwODo1Nzo1NS40MjBaIn0=")
return
}
//一级菜单

View File

@ -80,9 +80,12 @@ export default function Title() {
const getTitle = (view)=>{
if(view===1||view===3||view===4||view===5||view===6||view===8){
return `${ config.title2 }`
}else{
return `${ config.title }`
}
if(view===203||view===205||view===206||view===207){
return `${ config.title3 }`
}
return `${ config.title }`
}
return (

View File

@ -439,7 +439,7 @@ function DrpReal({ style }) {
"eng_scal": "小1型",
"danger_stat": "非病险水库",
"label": "2023高标准",
"value": 43.95,
"value": 50.5,
"diff_value": -0.0246,
"trend": -1,
"is_has_data": "y",
@ -558,7 +558,7 @@ function DrpReal({ style }) {
"eng_scal": "小1型",
"danger_stat": "非病险水库",
"label": "2023高标准",
"value": 43.95,
"value": 50.5,
"diff_value": -0.0142,
"trend": -1,
"is_has_data": "y",

View File

@ -58,7 +58,53 @@ function HDReal({ style }) {
</div>
}
>
<div style={{ display: 'flex', padding: '10px 5px', marginLeft: 30, justifyContent: 'space-between', flexWrap: 'wrap' }}>
<div style={{border:'1px solid #408ecb',width:"100%",borderRadius:'5px',display:'flex',cursor:'pointer',marginBottom:'1rem'}} onClick={handleBxDlg}>
<div style={{width:"20%",fontSize:'1.2rem',color:'#408ecb',padding:'1rem',textAlign:'center'}}>变形监测</div>
<div style={{width:"80%",display:'flex',flexDirection:'column',justifyContent:'center'}}>
<div style={{width:'100%',display:'flex',justifyContent:'start',color:'#ffffff',fontSize:'0.8rem',padding:"0.2rem 0"}}>
<div style={{width:'4rem',textAlign:'right'}}>水库名称</div>
<div style={{width:'5rem',textAlign:'left'}}>浮桥河水库</div>
<div style={{width:'4rem',textAlign:'right'}}>预警级别</div>
<div style={{width:'5rem',textAlign:'left',color:'red'}}>红色</div>
</div>
<div style={{width:'100%',display:'flex',justifyContent:'start',color:'#ffffff',fontSize:'0.8rem',padding:"0.2rem 0"}}>
<div style={{width:'4rem',textAlign:'right'}}>测点编号</div>
<div style={{width:'5rem',textAlign:'left'}}>GN1</div>
<div style={{width:'4rem',textAlign:'right'}}>监测值</div>
<div style={{width:'5rem',textAlign:'left'}}>-120mm</div>
</div>
<div style={{width:'100%',display:'flex',justifyContent:'start',color:'#ffffff',fontSize:'0.8rem',padding:"0.2rem 0"}}>
<div style={{width:'4rem',textAlign:'right'}}>阈值</div>
<div style={{width:'5rem',textAlign:'left'}}>±100mm</div>
<div style={{width:'4rem',textAlign:'right'}}>告警时间</div>
<div style={{width:'8rem',textAlign:'left'}}>2025-07-03 07:00:01</div>
</div>
</div>
</div>
<div style={{border:'1px solid #408ecb',width:"100%",borderRadius:'5px',display:'flex',cursor:'pointer',marginBottom:'1rem',position:'relative'}}>
<div style={{width:"20%",fontSize:'1.2rem',color:'#408ecb',padding:'1rem',textAlign:'center',display:'flex',alignItems:'center'}}>视频AI</div>
<div style={{width:"80%",display:'flex',flexDirection:'column',justifyContent:'center'}}>
<div style={{width:'100%',display:'flex',justifyContent:'start',color:'#ffffff',fontSize:'0.8rem',padding:"0.2rem 0"}}>
<div style={{width:'4rem',textAlign:'right'}}>水库名称</div>
<div style={{width:'5rem',textAlign:'left'}}>浮桥河水库</div>
</div>
<div style={{width:'100%',display:'flex',justifyContent:'start',color:'#ffffff',fontSize:'0.8rem',padding:"0.2rem 0"}}>
<div style={{width:'4rem',textAlign:'right'}}>告警类型</div>
<div style={{width:'5rem',textAlign:'left',color:"red"}}>漂浮物</div>
</div>
<div style={{width:'100%',display:'flex',justifyContent:'start',color:'#ffffff',fontSize:'0.8rem',padding:"0.2rem 0"}}>
<div style={{width:'4rem',textAlign:'right'}}>告警点位</div>
<div style={{width:'5rem',textAlign:'left'}}>大坝坝中</div>
</div>
<div style={{width:'100%',display:'flex',justifyContent:'start',color:'#ffffff',fontSize:'0.8rem',padding:"0.2rem 0"}}>
<div style={{width:'4rem',textAlign:'right'}}>告警时间</div>
<div style={{width:'8rem',textAlign:'left'}}>2025-07-03 07:00:01</div>
</div>
<img src={`${process.env.PUBLIC_URL}/assets/jcgj.jpg`} alt="" style={{ position:'absolute',top:"0",right:'0',width:'35%',height:'100%',padding:'0.5rem' }} onClick={handleBxDlg}/>
</div>
</div>
{/* <div style={{ display: 'flex', padding: '10px 5px', marginLeft: 30, justifyContent: 'space-between', flexWrap: 'wrap' }}>
<div>
<img src={`${process.env.PUBLIC_URL}/assets/s3.png`} alt="" style={{ width: 180, cursor: 'pointer' }} onClick={handleBxDlg} />
<img src={`${process.env.PUBLIC_URL}/assets/s4.png`} alt="" style={{ width: 180 }} />
@ -78,7 +124,7 @@ function HDReal({ style }) {
<img src={`${process.env.PUBLIC_URL}/assets/s7.png`} alt="" style={{ width: 180, marginTop: 5 }} />
</div>
</div> */}
{
setting && <Setting onClose={() => showSetting(false)} />
}