报表表格修改间距

This commit is contained in:
何美荣 2024-07-30 14:33:11 +08:00
parent dea3fea512
commit 936d3c81a3

View File

@ -652,7 +652,7 @@ endChange=(value)=>{
return <div> return <div>
{/* className='route-home' ,boxShadow:'inset 0 0 10px #ccc' */} {/* className='route-home' ,boxShadow:'inset 0 0 10px #ccc' */}
<div style={{backgroundColor:'white',width:'1200px',top:'0',bottom:'0',left:'0',right:'0',margin:'auto',borderStyle:'solid',borderColor:'#ccc',borderWidth:'1px',}}> <div style={{backgroundColor:'white',width:'1200px',top:'0',bottom:'0',left:'0',right:'0',margin:'auto',borderStyle:'solid',borderColor:'#ccc',borderWidth:'1px',}}>
<h1 style={{ textAlign: "center",marginTop:'30px',fontWeight:'bold'}}>{this.props?.login?.currActivatedMenu?.MENU_FORM_PARAMS}安全生产标准化运行情况</h1> <h1 style={{ textAlign: "center",marginTop:'30px',fontWeight:'bold'}}>{this.props?.login?.currActivatedMenu?.MENU_FORM_PARAMS}安全生产表单任务运行统计</h1>
<Row style={{ textAlign: 'center',fontSize:'15px'}}> <span>({startTime}-{endTime})</span></Row> <Row style={{ textAlign: 'center',fontSize:'15px'}}> <span>({startTime}-{endTime})</span></Row>
<br></br> <br></br>
<Row> <Row>
@ -731,7 +731,7 @@ endChange=(value)=>{
<Button style={{width:"100px",height:"60px",borderRadius: '8px',border:'2px green solid'}}>及时完成率<br></br><span style={{fontWeight:"bold",fontSize:"20px",color:'orange'}}>{finishRate}</span></Button></Col> <Button style={{width:"100px",height:"60px",borderRadius: '8px',border:'2px green solid'}}>及时完成率<br></br><span style={{fontWeight:"bold",fontSize:"20px",color:'orange'}}>{finishRate}</span></Button></Col>
</Row> */} </Row> */}
</Col> </Col>
<Col span={4} style={{marginLeft:"10px"}}> {/* <Col span={4} style={{marginLeft:"10px"}}>
{ {
this.state.retData && this.state.retData.map((item,i)=>{ this.state.retData && this.state.retData.map((item,i)=>{
if(i>8) if(i>8)
@ -745,10 +745,10 @@ endChange=(value)=>{
}) })
} }
</Col> </Col> */}
<Col span={12} style={{marginLeft:"30px"}}> <Col span={18} style={{marginLeft:"30px"}}>
<h2 style={{textAlign:'left',fontWeight:'bold',marginLeft:"30px"}}><Icon type="appstore"/> 模块统计分析</h2> <h2 style={{textAlign:'left',fontWeight:'bold',marginLeft:"30px"}}><Icon type="appstore"/> 模块统计分析</h2>
<Table style={{width:'700px',marginLeft:"30px",marginRight:"30px",textAlign:'center'}} <Table style={{width:'850px',marginLeft:"30px",marginRight:"30px",textAlign:'center'}}
// scroll={{ y: 400 }} // scroll={{ y: 400 }}
dataSource={this.state.retData} dataSource={this.state.retData}
columns={this.state.columns} columns={this.state.columns}