Compare commits

..

8 Commits

Author SHA1 Message Date
李神峰 54045586ce Merge branch 'lsf-dev' 2024-10-24 15:17:10 +08:00
xielei 51137cebf8 菜单名称更改 2024-10-24 11:10:21 +08:00
xielei 1e2c89b85e Merge branch 'master' of http://10.0.41.100:3000/lishenfeng/tsg-web 2024-10-24 10:14:09 +08:00
xielei e919069eec 菜单名称更改 2024-10-24 10:14:04 +08:00
秦子超 912c9d09ca 提交2 2024-10-24 09:25:48 +08:00
秦子超 5957c16915 修改bzt 2024-10-24 09:19:23 +08:00
秦子超 4a1b486be4 Merge branch 'qzc-dev' 2024-10-23 16:54:36 +08:00
秦子超 4bd649f314 提交 2024-10-23 16:54:07 +08:00
7 changed files with 3363 additions and 113 deletions

File diff suppressed because it is too large Load Diff

After

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: '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{ }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(list) setTableData(data)
})() })()
},[]) },[])

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.02; scale += 0.05;
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.02; scale -= 0.05;
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/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)=> 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} 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> </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} 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> </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} 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> </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} 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> </Tooltip>
</div> </div>
) )
} } */}

View File

@ -114,113 +114,270 @@
left: 0; left: 0;
top: 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{ .gcaqjc_bzt_sy_SY01{
left: 29px; left: 336px;
top: 242px; top: 388px;
} }
.gcaqjc_bzt_sy_SY02{ .gcaqjc_bzt_sy_SY02{
left: 29px; left: 604px;
top: 314px; top: 407px;
} }
.gcaqjc_bzt_sy_SY03{ .gcaqjc_bzt_sy_SY03{
left: 990px; left: 843px;
top: 242px; top: 384px;
} }
.gcaqjc_bzt_sy_SY04{ .gcaqjc_bzt_sy_SY04{
left: 990px; left: 336px;
top: 314px; 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{ .gcaqjc_bzt_wy_WY-01{
left: 479px; left: 192px;
top: 594px; 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;
// }
} }

View File

@ -75,7 +75,9 @@ const onExport = () => {
const params = { const params = {
search: { search: {
...searchVal, ...searchVal,
}
},
pageSize:9999
}; };
search(params) search(params)
}, [searchVal]) }, [searchVal])
@ -84,7 +86,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%",overflowY:"auto"}}> <div className='lf CrudAdcdTreeTableBox' style={{width:"100%",overflow:'hidden'}}>
<Card className='nonebox'> <Card className='nonebox'>
<ToolBar <ToolBar
setSearchVal={setSearchVal} setSearchVal={setSearchVal}
@ -92,9 +94,9 @@ const onExport = () => {
role={role} role={role}
/> />
</Card> </Card>
<div className="ant-card-body" style={{ padding: "20px 0 0 0" }}> <div className="ant-card-body" style={{ padding: "20px 0 0 0",overflowY:"auto",height: 'calc(100vh - 68px)'}}>
<div className='time-line'> <div className='time-line' style={{width:'calc(100% - 140px)'}}>
<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;
height: 70px; min-height: 70px;
} }
} }
} }