提交文件地址

qzc-dev-demo
秦子超 2025-04-07 17:45:53 +08:00
parent 2a80649ab0
commit 735316079c
4 changed files with 6 additions and 6 deletions

View File

@ -129,7 +129,7 @@ const Page = () => {
border: 0, border: 0,
marginTop: 0, marginTop: 0,
}} }}
src={`${process.env.PUBLIC_URL}/static/pdf/web/viewer.html?file=${encodeURIComponent(`http://local.gunshiiot.com:18083/xyt/data.pdf`)}`} src={`${process.env.PUBLIC_URL}/static/pdf/web/viewer.html?file=${encodeURIComponent(`http://223.75.53.141:83/tsg/data.pdf`)}`}
/> />
</div> </div>
</Modal> </Modal>

View File

@ -38,7 +38,7 @@ export default function drpOption(data,records) {
bottom: '5%', bottom: '5%',
left: '10%', left: '10%',
right: '8%', right: '8%',
width: '82%', width: '81%',
height: '38%' height: '38%'
} }
], ],

View File

@ -89,12 +89,12 @@
flex-direction: row; flex-direction: row;
min-height: 600px; min-height: 600px;
.qth_skyh_sjcx_center_left{ .qth_skyh_sjcx_center_left{
width: 55%; width: 50%;
height: 100%; height: 100%;
margin-bottom: 10px; margin-bottom: 10px;
} }
.qth_skyh_sjcx_center_right{ .qth_skyh_sjcx_center_right{
width: 45%; width: 50%;
height: 100%; height: 100%;
} }
} }

View File

@ -58,13 +58,13 @@ export default function Sjcx({ data }) {
columns={columns} columns={columns}
pagination={false} pagination={false}
dataSource={list} dataSource={list}
scroll={{ y: "650px"}} scroll={{ y: "600px"}}
/> />
</div> </div>
<div className='qth_skyh_sjcx_center_right'> <div className='qth_skyh_sjcx_center_right'>
{ {
list.length>0? list.length>0?
<ReactEcharts option={option} style={{width: "100%", height: '750px'}}/> <ReactEcharts option={option} style={{width: "100%", height: '650px'}}/>
:<div style={{textAlign: "center", margin: "10%"}}><img src={`${process.env.PUBLIC_URL}/assets/noData.png`} alt=""/></div> :<div style={{textAlign: "center", margin: "10%"}}><img src={`${process.env.PUBLIC_URL}/assets/noData.png`} alt=""/></div>
} }
</div> </div>