lsf-dev
parent
d6967ec90c
commit
4bd649f314
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 269 KiB |
|
|
@ -25,7 +25,7 @@ const Page = () => {
|
|||
return [
|
||||
{ title: '监测点', key: 'stationCode', dataIndex: 'stationCode',align: "center", ellipsis: true },
|
||||
{ title: '监测时间', key: 'tm', dataIndex: 'tm',align: "center",width: 150, ellipsis: true, render:(v,row)=><div style={{color:row.flag===1?'red':'#3B4859'}}>{v?.slice(5,16)}</div> },
|
||||
{ title: '渗流量(L/s)', key: 'q', dataIndex: 'q',align: "center", ellipsis: true, render:(v,row)=><div style={{color:row.status===1?'red':'#3B4859'}}>{v}</div> },
|
||||
{ title: '渗流量(L/s)', key: 'value', dataIndex: 'value',align: "center", ellipsis: true, render:(v,row)=><div style={{color:row.status===1?'red':'#3B4859'}}>{v}</div> },
|
||||
]
|
||||
}else{
|
||||
return [
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ const Page = () => {
|
|||
if(code!==200){
|
||||
return
|
||||
}
|
||||
const list = data.filter(o=>o.adcd.indexOf('421181113')===0)
|
||||
setTableData(list)
|
||||
// const list = data.filter(o=>o.adcd.indexOf('421181113')===0)
|
||||
setTableData(data)
|
||||
})()
|
||||
},[])
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ export default function Page({isHome}) {
|
|||
console.log(1111)
|
||||
// 大于0:滚轮向上滚动 小于0:滚轮向下滚动
|
||||
if (e.wheelDelta > 0) {
|
||||
scale += 0.02;
|
||||
scale += 0.05;
|
||||
img.style.transform = `scale(${scale})`;
|
||||
} else {
|
||||
if (scale == 1) {
|
||||
|
|
@ -66,7 +66,7 @@ export default function Page({isHome}) {
|
|||
}
|
||||
// 缩放值大于1时,可以缩小,反之亦然
|
||||
if (scale > 1) {
|
||||
scale -= 0.02;
|
||||
scale -= 0.05;
|
||||
img.style.transform = `scale(${scale})`;
|
||||
}
|
||||
}
|
||||
|
|
@ -74,7 +74,7 @@ export default function Page({isHome}) {
|
|||
img.addEventListener("wheel",fun)
|
||||
|
||||
getSyData()
|
||||
getSlData()
|
||||
// getSlData()
|
||||
getWyData()
|
||||
getDmData()
|
||||
return ()=>{
|
||||
|
|
@ -130,7 +130,7 @@ export default function Page({isHome}) {
|
|||
>
|
||||
<div id='img' style={{width:'72%',height:'98%',position:'absolute',display:'flex'}}>
|
||||
<div style={{position:'relative'}}>
|
||||
<img width={1100} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/bzt4.svg`} alt="" id="img" draggable="false" />
|
||||
<img width={1100} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/bzt5.svg`} alt="" id="img" draggable="false" />
|
||||
{
|
||||
syList.map((item)=>
|
||||
<div className={'gcaqjc_bzt_sy_'+item.stationCode} onClick={()=>{
|
||||
|
|
@ -138,7 +138,7 @@ export default function Page({isHome}) {
|
|||
setModalData(item)
|
||||
}}>
|
||||
{item.stationCode}
|
||||
<img width={20} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${item.status===1?'sy2.png':'sy.png'}`} alt="" id="img" draggable="false" />
|
||||
<img width={20} style={{marginTop:'-4px'}} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${item.status===1?'sy2.png':'sy.png'}`} alt="" id="img" draggable="false" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
@ -149,7 +149,7 @@ export default function Page({isHome}) {
|
|||
setModalData(item)
|
||||
}}>
|
||||
{item.stationCode}
|
||||
<img width={20} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${item.status===1?'sl2.png':'sl.png'}`} alt="" id="img" draggable="false" />
|
||||
<img width={20} style={{marginTop:'-4px'}} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${item.status===1?'sl2.png':'sl.png'}`} alt="" id="img" draggable="false" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
@ -160,23 +160,23 @@ export default function Page({isHome}) {
|
|||
setModalData(item)
|
||||
}}>
|
||||
{item.stationCode}
|
||||
<img width={20} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${(item.xstatus===1||item.ystatus===1||item.hstatus===1)?'wy2.png':'wy.png'}`} alt="" id="img" draggable="false" />
|
||||
<img width={20} style={{marginTop:'-4px'}} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${(item.xstatus===1||item.ystatus===1||item.hstatus===1)?'wy2.png':'wy.png'}`} alt="" id="img" draggable="false" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
{
|
||||
{/* {
|
||||
dmList.map((item)=>
|
||||
<div className={'gcaqjc_bzt_dm_'+item.profileCode} onClick={()=>{
|
||||
setOpenDm(true)
|
||||
setModalData(item)
|
||||
}}>
|
||||
<Tooltip title={item.profileName}>
|
||||
<img width={25} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/dm.png`} alt="" id="img" draggable="false" />
|
||||
<img width={25} style={{marginTop:'-4px'}} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/dm.png`} alt="" id="img" draggable="false" />
|
||||
</Tooltip>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
} */}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -114,113 +114,270 @@
|
|||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY09{
|
||||
left: 544px;
|
||||
top: 157px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY10{
|
||||
left: 544px;
|
||||
top: 242px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY13{
|
||||
left: 444px;
|
||||
top: 157px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY14{
|
||||
left: 444px;
|
||||
top: 242px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY05{
|
||||
left: 644px;
|
||||
top: 157px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY06{
|
||||
left: 644px;
|
||||
top: 242px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY15{
|
||||
left: 444px;
|
||||
top: 429px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY16{
|
||||
left: 444px;
|
||||
top: 542px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY11{
|
||||
left: 544px;
|
||||
top: 429px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY12{
|
||||
left: 544px;
|
||||
top: 542px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY07{
|
||||
left: 644px;
|
||||
top: 430px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY08{
|
||||
left: 644px;
|
||||
top: 542px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_sy_SY01{
|
||||
left: 29px;
|
||||
top: 242px;
|
||||
left: 336px;
|
||||
top: 388px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY02{
|
||||
left: 29px;
|
||||
top: 314px;
|
||||
}
|
||||
left: 604px;
|
||||
top: 407px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY03{
|
||||
left: 990px;
|
||||
top: 242px;
|
||||
}
|
||||
left: 843px;
|
||||
top: 384px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY04{
|
||||
left: 990px;
|
||||
top: 314px;
|
||||
left: 336px;
|
||||
top: 418px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY05{
|
||||
left: 604px;
|
||||
top: 436px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY06{
|
||||
left: 843px;
|
||||
top: 419px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY07{
|
||||
left: 336px;
|
||||
top: 478px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY08{
|
||||
left: 604px;
|
||||
top: 494px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY09{
|
||||
left: 843px;
|
||||
top: 487px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY10{
|
||||
left: 370px;
|
||||
top: 421px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY11{
|
||||
left: 638px;
|
||||
top: 434px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY12{
|
||||
left: 875px;
|
||||
top: 417px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY13{
|
||||
left: 370px;
|
||||
top: 480px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY14{
|
||||
left: 639px;
|
||||
top: 491px;
|
||||
}
|
||||
.gcaqjc_bzt_sy_SY15{
|
||||
left: 878px;
|
||||
top: 484px;
|
||||
}
|
||||
|
||||
|
||||
.gcaqjc_bzt_sl_SL01{
|
||||
left: 479px;
|
||||
top: 594px;
|
||||
.gcaqjc_bzt_wy_WY-01{
|
||||
left: 192px;
|
||||
top: 378px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-02{
|
||||
left: 293px;
|
||||
top: 385px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-03{
|
||||
left: 451px;
|
||||
top: 396px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-04{
|
||||
left: 561px;
|
||||
top: 404px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-05{
|
||||
left: 699px;
|
||||
top: 400px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-07{
|
||||
left: 943px;
|
||||
top: 410px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-08{
|
||||
left: 192px;
|
||||
top: 408px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-09{
|
||||
left: 293px;
|
||||
top: 415px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-10{
|
||||
left: 451px;
|
||||
top: 426px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-11{
|
||||
left: 561px;
|
||||
top: 434px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-12{
|
||||
left: 699px;
|
||||
top: 433px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-14{
|
||||
left: 943px;
|
||||
top: 438px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-15{
|
||||
left: 192px;
|
||||
top: 438px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-16{
|
||||
left: 293px;
|
||||
top: 445px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-17{
|
||||
left: 451px;
|
||||
top: 456px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-18{
|
||||
left: 561px;
|
||||
top: 464px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-19{
|
||||
left: 699px;
|
||||
top: 460px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-21{
|
||||
left: 943px;
|
||||
top: 474px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-22{
|
||||
left: 192px;
|
||||
top: 538px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-23{
|
||||
left: 345px;
|
||||
top: 551px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-24{
|
||||
left: 449px;
|
||||
top: 563px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-25{
|
||||
left: 565px;
|
||||
top: 574px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-26{
|
||||
left: 710px;
|
||||
top: 560px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-27{
|
||||
left: 839px;
|
||||
top: 555px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_sl_SL02{
|
||||
left: 679px;
|
||||
top: 594px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_wy_WY-G100{
|
||||
left: 394px;
|
||||
top: 376px;
|
||||
}
|
||||
.gcaqjc_bzt_wy_WY-G101{
|
||||
left: 594px;
|
||||
top: 376px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_dm_DM0234205820000010{
|
||||
left: 655px;
|
||||
top: 379px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_dm_DM0234205820000011{
|
||||
left: 555px;
|
||||
top: 379px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_dm_DM0234205820000012{
|
||||
left: 455px;
|
||||
top: 379px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_dm_DM0234205820000013{
|
||||
left: 1003px;
|
||||
top: 379px;
|
||||
}
|
||||
|
||||
.gcaqjc_bzt_dm_DM0234205820000014{
|
||||
left: 42px;
|
||||
top: 379px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// .gcaqjc_bzt_sl_SL01{
|
||||
// left: 479px;
|
||||
// top: 594px;
|
||||
// }
|
||||
|
||||
// .gcaqjc_bzt_sl_SL02{
|
||||
// left: 679px;
|
||||
// top: 594px;
|
||||
// }
|
||||
|
||||
// .gcaqjc_bzt_wy_WY-G100{
|
||||
// left: 394px;
|
||||
// top: 376px;
|
||||
// }
|
||||
// .gcaqjc_bzt_wy_WY-G101{
|
||||
// left: 594px;
|
||||
// top: 376px;
|
||||
// }
|
||||
|
||||
// .gcaqjc_bzt_dm_DM0234205820000010{
|
||||
// left: 655px;
|
||||
// top: 379px;
|
||||
// }
|
||||
|
||||
// .gcaqjc_bzt_dm_DM0234205820000011{
|
||||
// left: 555px;
|
||||
// top: 379px;
|
||||
// }
|
||||
|
||||
// .gcaqjc_bzt_dm_DM0234205820000012{
|
||||
// left: 455px;
|
||||
// top: 379px;
|
||||
// }
|
||||
|
||||
// .gcaqjc_bzt_dm_DM0234205820000013{
|
||||
// left: 1003px;
|
||||
// top: 379px;
|
||||
// }
|
||||
|
||||
// .gcaqjc_bzt_dm_DM0234205820000014{
|
||||
// left: 42px;
|
||||
// top: 379px;
|
||||
// }
|
||||
}
|
||||
Loading…
Reference in New Issue