dev_home
杨树林 5 years ago
parent 438ecc08dc
commit ba7acd3615

@ -574,7 +574,7 @@ class Studentshavecompletedthelist extends Component {
className: "edu-txt-center tabletd font-14 columnstwoachievement",
width:"199px",
render: (text, record) => (
<span>
<span style={{width:"199px"}}>
{
record.efficiencyscore === "--"?
<Tooltip placement="bottom" title={<div>
@ -583,21 +583,26 @@ class Studentshavecompletedthelist extends Component {
<a style={{
color: '#DD1717',
textAlign: "center",
width:"199px"
}}>--</a>
</Tooltip>
:
<span style={parseInt(record.efficiencyscore) > 90 ? {
color: '#DD1717',
textAlign: "center",
width:"199px"
} : parseInt(record.efficiencyscore) <= 90 ? {
color: '#FF6800',
textAlign: "center",
width:"199px"
} : parseInt(record.efficiencyscore) <= 60 ? {
color: '#747A7F',
textAlign: "center",
width:"199px"
} : {
color: '#747A7F',
textAlign: "center",
width:"199px"
}}>{record.efficiencyscore}</span>
}
@ -612,19 +617,19 @@ class Studentshavecompletedthelist extends Component {
className: "edu-txt-center tabletd font-14",
width:"98px",
render: (text, record) => (
<span>
<span style={{width:"98px"}}>
{
record.submitstate === "未提交"||record.commit_method===5?
<span style={{textAlign: "center", color: '#999999'}}>--</span>
<span style={{textAlign: "center", color: '#999999',width:"98px"}}>--</span>
:record.submitstate === "已提交"?
record.score_open===null||record.score_open===undefined?"":
record.score_open===true?
<a style={{textAlign: "center"}} className="color-blue"
<a style={{textAlign: "center",width:"98px"}} className="color-blue"
target="_blank"
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>查看</a>
:""
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
<span style={{textAlign: "center", color: '#999999',width:"98px"}}>--</span>
}
</span>
)

@ -56,7 +56,7 @@
cursor: default;
}
.columnstwoachievement{
width: 216px;
width: 199px;
text-align: right !important;
padding-right: 60px !important;
}
}

Loading…
Cancel
Save