Compare commits

..

No commits in common. "54045586ce4dc43c6dd83ecc65dc373e91ace3c1" and "febcef901fcacc438b069a233eafa0173b8aca2c" have entirely different histories.

7 changed files with 115 additions and 3365 deletions

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 269 KiB

View File

@ -25,7 +25,7 @@ const Page = () => {
return [ return [
{ title: '监测点', key: 'stationCode', dataIndex: 'stationCode',align: "center", ellipsis: true }, { 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: '监测时间', 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: 'value', dataIndex: 'value',align: "center", ellipsis: true, render:(v,row)=><div style={{color:row.status===1?'red':'#3B4859'}}>{v}</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> },
] ]
}else{ }else{
return [ return [

View File

@ -31,8 +31,8 @@ const Page = () => {
if(code!==200){ if(code!==200){
return return
} }
// const list = data.filter(o=>o.adcd.indexOf('421181113')===0) const list = data.filter(o=>o.adcd.indexOf('421181113')===0)
setTableData(data) setTableData(list)
})() })()
},[]) },[])

View File

@ -57,7 +57,7 @@ export default function Page({isHome}) {
console.log(1111) console.log(1111)
// 大于0:滚轮向上滚动 小于0:滚轮向下滚动 // 大于0:滚轮向上滚动 小于0:滚轮向下滚动
if (e.wheelDelta > 0) { if (e.wheelDelta > 0) {
scale += 0.05; scale += 0.02;
img.style.transform = `scale(${scale})`; img.style.transform = `scale(${scale})`;
} else { } else {
if (scale == 1) { if (scale == 1) {
@ -66,7 +66,7 @@ export default function Page({isHome}) {
} }
// 缩放值大于1时,可以缩小,反之亦然 // 缩放值大于1时,可以缩小,反之亦然
if (scale > 1) { if (scale > 1) {
scale -= 0.05; scale -= 0.02;
img.style.transform = `scale(${scale})`; img.style.transform = `scale(${scale})`;
} }
} }
@ -130,7 +130,7 @@ export default function Page({isHome}) {
> >
<div id='img' style={{width:'72%',height:'98%',position:'absolute',display:'flex'}}> <div id='img' style={{width:'72%',height:'98%',position:'absolute',display:'flex'}}>
<div style={{position:'relative'}}> <div style={{position:'relative'}}>
<img width={1100} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/bzt5.svg`} alt="" id="img" draggable="false" /> <img width={1100} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/bzt4.svg`} alt="" id="img" draggable="false" />
{ {
syList.map((item)=> syList.map((item)=>
<div className={'gcaqjc_bzt_sy_'+item.stationCode} onClick={()=>{ <div className={'gcaqjc_bzt_sy_'+item.stationCode} onClick={()=>{
@ -138,21 +138,21 @@ export default function Page({isHome}) {
setModalData(item) setModalData(item)
}}> }}>
{item.stationCode} {item.stationCode}
<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" /> <img width={20} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${item.status===1?'sy2.png':'sy.png'}`} alt="" id="img" draggable="false" />
</div> </div>
) )
} }
{/* { {
slList.map((item)=> slList.map((item)=>
<div className={'gcaqjc_bzt_sl_'+item.stationCode} onClick={()=>{ <div className={'gcaqjc_bzt_sl_'+item.stationCode} onClick={()=>{
setOpenSl(true) setOpenSl(true)
setModalData(item) setModalData(item)
}}> }}>
{item.stationCode} {item.stationCode}
<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" /> <img width={20} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/${item.status===1?'sl2.png':'sl.png'}`} alt="" id="img" draggable="false" />
</div> </div>
) )
} */} }
{ {
wyList.map((item)=> wyList.map((item)=>
<div className={'gcaqjc_bzt_wy_'+item.stationCode} onClick={()=>{ <div className={'gcaqjc_bzt_wy_'+item.stationCode} onClick={()=>{
@ -160,23 +160,23 @@ export default function Page({isHome}) {
setModalData(item) setModalData(item)
}}> }}>
{item.stationCode} {item.stationCode}
<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" /> <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" />
</div> </div>
) )
} }
{/* { {
dmList.map((item)=> dmList.map((item)=>
<div className={'gcaqjc_bzt_dm_'+item.profileCode} onClick={()=>{ <div className={'gcaqjc_bzt_dm_'+item.profileCode} onClick={()=>{
setOpenDm(true) setOpenDm(true)
setModalData(item) setModalData(item)
}}> }}>
<Tooltip title={item.profileName}> <Tooltip title={item.profileName}>
<img width={25} style={{marginTop:'-4px'}} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/dm.png`} alt="" id="img" draggable="false" /> <img width={25} src={`${process.env.PUBLIC_URL}/assets/xyt/fxdd/dm.png`} alt="" id="img" draggable="false" />
</Tooltip> </Tooltip>
</div> </div>
) )
} */} }

View File

@ -114,270 +114,113 @@
left: 0; left: 0;
top: 0; top: 0;
} }
.gcaqjc_bzt_sy_SY01{
left: 336px;
top: 388px;
}
.gcaqjc_bzt_sy_SY02{
left: 604px;
top: 407px;
}
.gcaqjc_bzt_sy_SY03{
left: 843px;
top: 384px;
}
.gcaqjc_bzt_sy_SY04{
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{ .gcaqjc_bzt_sy_SY09{
left: 843px; left: 544px;
top: 487px; top: 157px;
} }
.gcaqjc_bzt_sy_SY10{ .gcaqjc_bzt_sy_SY10{
left: 370px; left: 544px;
top: 421px; top: 242px;
}
.gcaqjc_bzt_sy_SY11{
left: 638px;
top: 434px;
}
.gcaqjc_bzt_sy_SY12{
left: 875px;
top: 417px;
} }
.gcaqjc_bzt_sy_SY13{ .gcaqjc_bzt_sy_SY13{
left: 370px; left: 444px;
top: 480px; top: 157px;
} }
.gcaqjc_bzt_sy_SY14{ .gcaqjc_bzt_sy_SY14{
left: 639px; left: 444px;
top: 491px; top: 242px;
}
.gcaqjc_bzt_sy_SY05{
left: 644px;
top: 157px;
}
.gcaqjc_bzt_sy_SY06{
left: 644px;
top: 242px;
} }
.gcaqjc_bzt_sy_SY15{ .gcaqjc_bzt_sy_SY15{
left: 878px; left: 444px;
top: 484px; 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;
}
.gcaqjc_bzt_sy_SY02{
left: 29px;
top: 314px;
}
.gcaqjc_bzt_sy_SY03{
left: 990px;
top: 242px;
}
.gcaqjc_bzt_sy_SY04{
left: 990px;
top: 314px;
} }
.gcaqjc_bzt_wy_WY-01{ .gcaqjc_bzt_sl_SL01{
left: 192px; left: 479px;
top: 378px; top: 594px;
}
.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;
// }
} }

View File

@ -75,9 +75,7 @@ const onExport = () => {
const params = { const params = {
search: { search: {
...searchVal, ...searchVal,
}
},
pageSize:9999
}; };
search(params) search(params)
}, [searchVal]) }, [searchVal])
@ -86,7 +84,7 @@ const onExport = () => {
return ( return (
<> <>
<div className='content-root clearFloat xybm' style={{paddingRight:"0",paddingBottom:"0"}}> <div className='content-root clearFloat xybm' style={{paddingRight:"0",paddingBottom:"0"}}>
<div className='lf CrudAdcdTreeTableBox' style={{width:"100%",overflow:'hidden'}}> <div className='lf CrudAdcdTreeTableBox' style={{width:"100%",overflowY:"auto"}}>
<Card className='nonebox'> <Card className='nonebox'>
<ToolBar <ToolBar
setSearchVal={setSearchVal} setSearchVal={setSearchVal}
@ -94,9 +92,9 @@ const onExport = () => {
role={role} role={role}
/> />
</Card> </Card>
<div className="ant-card-body" style={{ padding: "20px 0 0 0",overflowY:"auto",height: 'calc(100vh - 68px)'}}> <div className="ant-card-body" style={{ padding: "20px 0 0 0" }}>
<div className='time-line' style={{width:'calc(100% - 140px)'}}> <div className='time-line'>
<Timeline > <Timeline>
{tableProps.dataSource?.map((item, index) => ( {tableProps.dataSource?.map((item, index) => (
<Timeline.Item key={index}> <Timeline.Item key={index}>
<div className='time-line-item'> <div className='time-line-item'>

View File

@ -48,7 +48,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
min-height: 70px; height: 70px;
} }
} }
} }