修改部分样式及显示效果

PCqiandao
dinglink 5 years ago
parent 663a25173b
commit 8999114029

@ -1061,14 +1061,14 @@ class Listofworksstudentone extends Component {
}> }>
{record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time === "--" ? "--" : {record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time === "--" ? "--" :
<a style={ <span style={
{ {
color: '#747A7F', color: '#747A7F',
textAlign: "center" textAlign: "center"
} }
} }
>{record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time} >{record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time}
</a> </span>
} }
</span> </span>
// <a style={ // <a style={
@ -1300,7 +1300,7 @@ class Listofworksstudentone extends Component {
// onClick={() => this.Viewstudenttraininginformationt(record)} // onClick={() => this.Viewstudenttraininginformationt(record)}
>{record.has_comment===true?"详情":"评阅 "}</a> : >{record.has_comment===true?"详情":"评阅 "}</a> :
<span> <span>
<a style={{textAlign: "center"}} className="color-blue maxnamewidth120" <a style={{textAlign: "center"}} className="color-blue"
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)} onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
// onClick={() => this.Viewstudenttraininginformationt(record)} // onClick={() => this.Viewstudenttraininginformationt(record)}
>{record.has_comment===true?"详情":"评阅 "}</a> >{record.has_comment===true?"详情":"评阅 "}</a>
@ -1446,14 +1446,14 @@ class Listofworksstudentone extends Component {
} }
}> }>
{record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time === "--" ? "--" : {record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time === "--" ? "--" :
<a style={ <span style={
{ {
color: '#747A7F', color: '#747A7F',
textAlign: "center" textAlign: "center"
} }
} }
>{record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time} >{record.cost_time === null ? "--" : record.cost_time === undefined ? "--" : record.cost_time}
</a> </span>
} }
</span> </span>
) )

@ -307,9 +307,9 @@ class Students_signin extends Component{
<div className="mb30 clearfix educontent mt40 intermediatecenter"> <div className="mb30 clearfix educontent mt40 intermediatecenter">
<Pagination showQuickJumper current={page} onChange={this.paginationonChange} {attendances_count>0?<Pagination showQuickJumper current={page} onChange={this.paginationonChange}
pageSize={limit} pageSize={limit}
total={attendances_count}></Pagination> total={attendances_count}></Pagination>:''}
</div> </div>
</TabPane> </TabPane>
<TabPane tab="历史签到" key="2"> <TabPane tab="历史签到" key="2">
@ -345,10 +345,10 @@ class Students_signin extends Component{
<div className="mb30 clearfix educontent mt40 intermediatecenter"> <div className="mb30 clearfix educontent mt40 intermediatecenter">
<Pagination showQuickJumper current={page} onChange={this.paginationonChange} {attendances_count>0?<Pagination showQuickJumper current={page} onChange={this.paginationonChange}
pageSize={limit} pageSize={limit}
total={attendances_count}></Pagination> total={attendances_count}></Pagination>:''
</div> }</div>
</TabPane> </TabPane>
{ {
isAdmin===true? isAdmin===true?

Loading…
Cancel
Save