|
|
@ -92,6 +92,7 @@ class Listofworks extends Component {
|
|
|
|
unlimitedtwo: 1,
|
|
|
|
unlimitedtwo: 1,
|
|
|
|
code_review: false,
|
|
|
|
code_review: false,
|
|
|
|
boolgalist:true,
|
|
|
|
boolgalist:true,
|
|
|
|
|
|
|
|
challenges_count:0,
|
|
|
|
columns: [
|
|
|
|
columns: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '序号',
|
|
|
|
title: '序号',
|
|
|
@ -179,7 +180,13 @@ class Listofworks extends Component {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.completion}</a>
|
|
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>已通过{record.completion}关,共{this.state.challenges_count}关</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count}</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -210,6 +217,31 @@ class Listofworks extends Component {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.efficiencyscore&& record.efficiencyscore=== "--"?(
|
|
|
|
|
|
|
|
record.submitstate==="按时提交"?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>作业截止时,系统根据学生在课堂成员中的效率表现自动评分</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{color:"#9A9A9A"}}>
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
record.submitstate==="延时提交"?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>补交结束时,系统根据学生在课堂成员中的效率表现自动评分</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{color:"#9A9A9A"}}>
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={{color:"#9A9A9A"}}>
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
:
|
|
|
|
<a style={parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
<a style={parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
"color": '#747A7F',
|
|
|
|
"color": '#747A7F',
|
|
|
|
"text-align": "center"
|
|
|
|
"text-align": "center"
|
|
|
@ -220,6 +252,8 @@ class Listofworks extends Component {
|
|
|
|
"color": '#DD1717',
|
|
|
|
"color": '#DD1717',
|
|
|
|
"text-align": "center"
|
|
|
|
"text-align": "center"
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}</a>
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -230,6 +264,20 @@ class Listofworks extends Component {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.ultimate_score=== true?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终调整成绩:0分</span> :<span>最终调整成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
"color": '#747A7F',
|
|
|
|
"color": '#747A7F',
|
|
|
|
"text-align": "center"
|
|
|
|
"text-align": "center"
|
|
|
@ -240,6 +288,38 @@ class Listofworks extends Component {
|
|
|
|
"color": '#747A7F',
|
|
|
|
"color": '#747A7F',
|
|
|
|
"text-align": "center"
|
|
|
|
"text-align": "center"
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.levelscore === "--"?<span>关卡得分:0分</span> :<span>关卡得分:{record.levelscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.efficiencyscore === "--"?<span>效率评分:0分</span> :<span>效率评分:{record.efficiencyscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.late_penalty === "--"?<span>迟交扣分:0分</span> :<span>迟交扣分:{record.late_penalty}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终成绩:0分</span> :<span>最终成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -251,10 +331,15 @@ class Listofworks extends Component {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width:'93px',
|
|
|
|
width:'93px',
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
record.submitstate === "未提交" ? "--" :
|
|
|
|
record.submitstate === "未提交" ? <span style={{ color: '#9A9A9A'}}>--</span> :
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>直接调整最终成绩的分数</div>
|
|
|
|
|
|
|
|
<div>其它评分全部作废</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
<a style={this.props.isNotMember() === true ? this.state.mystyles : this.state.mystyle}
|
|
|
|
<a style={this.props.isNotMember() === true ? this.state.mystyles : this.state.mystyle}
|
|
|
|
onClick={() => this.Viewstudenttraininginformations(record)}>调分</a>
|
|
|
|
onClick={() => this.Viewstudenttraininginformations(record)}>调分</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
onClick={() => this.Viewstudenttraininginformation(record)}>{record.operating}</a>
|
|
|
|
onClick={() => this.Viewstudenttraininginformation(record)}>{record.operating}</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -320,7 +405,8 @@ class Listofworks extends Component {
|
|
|
|
publish_immediately: result.data.publish_immediately,
|
|
|
|
publish_immediately: result.data.publish_immediately,
|
|
|
|
work_efficiency: result.data.work_efficiency,
|
|
|
|
work_efficiency: result.data.work_efficiency,
|
|
|
|
end_immediately: result.data.end_immediately,
|
|
|
|
end_immediately: result.data.end_immediately,
|
|
|
|
code_review: result.data.code_review
|
|
|
|
code_review: result.data.code_review,
|
|
|
|
|
|
|
|
challenges_count:result.data.challenges_count,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata();
|
|
|
|
this.seacthdata();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -371,6 +457,7 @@ class Listofworks extends Component {
|
|
|
|
task_status: result.data.task_status,
|
|
|
|
task_status: result.data.task_status,
|
|
|
|
course_group_info: result.data.course_group_info,
|
|
|
|
course_group_info: result.data.course_group_info,
|
|
|
|
loadingstate: false,
|
|
|
|
loadingstate: false,
|
|
|
|
|
|
|
|
challenges_count:result.data.challenges_count,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
this.seacthdata();
|
|
|
|
this.seacthdata();
|
|
|
@ -420,11 +507,15 @@ class Listofworks extends Component {
|
|
|
|
// updatetime:this.state.teacherdata.student_works[i].update_time,
|
|
|
|
// updatetime:this.state.teacherdata.student_works[i].update_time,
|
|
|
|
// updatetime:"",
|
|
|
|
// updatetime:"",
|
|
|
|
updatetime: timedata === "Invalid date" ? "--" : timedata,
|
|
|
|
updatetime: timedata === "Invalid date" ? "--" : timedata,
|
|
|
|
completion: this.state.teacherdata.student_works[i].complete_count === 4 ? "4/4" : this.state.teacherdata.student_works[i].complete_count === 3 ? "3/4" : this.state.teacherdata.student_works[i].complete_count === 2 ? "2/4" : this.state.teacherdata.student_works[i].complete_count === 1 ? "1/4" : this.state.teacherdata.student_works[i].complete_count === 0 ? "0/0" :this.state.teacherdata.student_works[i].complete_count == null ? "0/0" :this.state.teacherdata.student_works[i].complete_count == undefined ? "0/0": 0,
|
|
|
|
completion: this.state.teacherdata.student_works[i].complete_count === null ? "0" :this.state.teacherdata.student_works[i].complete_count === undefined ? "0": this.state.teacherdata.student_works[i].complete_count,
|
|
|
|
levelscore: this.state.teacherdata.student_works[i].final_score,
|
|
|
|
levelscore: this.state.teacherdata.student_works[i].final_score,
|
|
|
|
efficiencyscore: this.state.teacherdata.student_works[i].eff_score,
|
|
|
|
efficiencyscore: this.state.teacherdata.student_works[i].eff_score,
|
|
|
|
finalscore: this.state.teacherdata.student_works[i].work_score,
|
|
|
|
finalscore: this.state.teacherdata.student_works[i].work_score,
|
|
|
|
operating: "查看",
|
|
|
|
operating: "查看",
|
|
|
|
|
|
|
|
late_penalty: this.state.teacherdata.student_works[i].late_penalty=== null?"0":this.state.teacherdata.student_works[i].late_penalty === undefined?"0":this.state.teacherdata.student_works[i].late_penalty,
|
|
|
|
|
|
|
|
ultimate_score:this.state.teacherdata.student_works[i].ultimate_score,
|
|
|
|
|
|
|
|
user_name: this.state.teacherdata.student_works[i].user_name,
|
|
|
|
|
|
|
|
user_login: this.state.teacherdata.student_works[i].user_login,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -435,6 +526,185 @@ class Listofworks extends Component {
|
|
|
|
current: this.state.page,
|
|
|
|
current: this.state.page,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (this.state.work_efficiency === false) {
|
|
|
|
if (this.state.work_efficiency === false) {
|
|
|
|
|
|
|
|
if(JSON.stringify(this.state.course_group_info) === "[]" ? "" : this.state.course_group_info === undefined ? "" :this.state.course_group_info === null){
|
|
|
|
|
|
|
|
columns = [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '序号',
|
|
|
|
|
|
|
|
dataIndex: 'number',
|
|
|
|
|
|
|
|
key: 'number',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width:'96px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.number}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '姓名',
|
|
|
|
|
|
|
|
dataIndex: 'name',
|
|
|
|
|
|
|
|
key: 'name',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width:'147px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.name}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '学号',
|
|
|
|
|
|
|
|
dataIndex: 'stduynumber',
|
|
|
|
|
|
|
|
key: 'stduynumber',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width:'200px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.stduynumber === undefined ? "--" : record.stduynumber === null ? "--" : record.stduynumber === "" ? "--" : record.stduynumber}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '提交状态',
|
|
|
|
|
|
|
|
dataIndex: 'submitstate',
|
|
|
|
|
|
|
|
key: 'submitstate',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={record.submitstate === "延时提交" ? {
|
|
|
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : record.submitstate === "按时提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.submitstate}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '更新时间',
|
|
|
|
|
|
|
|
dataIndex: 'updatetime',
|
|
|
|
|
|
|
|
key: 'updatetime',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{"color": '#9A9A9A', "text-align": "center"}}>{record.updatetime}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '完成情况',
|
|
|
|
|
|
|
|
dataIndex: 'completion',
|
|
|
|
|
|
|
|
key: 'completion',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>已通过{record.completion}关,共{this.state.challenges_count}关</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count}</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '最终成绩',
|
|
|
|
|
|
|
|
dataIndex: 'finalscore',
|
|
|
|
|
|
|
|
key: 'finalscore',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.ultimate_score=== true?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终调整成绩:0分</span> :<span>最终调整成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.levelscore === "--"?<span>关卡得分:0分</span> :<span>关卡得分:{record.levelscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.efficiencyscore === "--"?<span>效率评分:0分</span> :<span>效率评分:{record.efficiencyscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.late_penalty === "--"?<span>迟交扣分:0分</span> :<span>迟交扣分:{record.late_penalty}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终成绩:0分</span> :<span>最终成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '操作',
|
|
|
|
|
|
|
|
dataIndex: 'operating',
|
|
|
|
|
|
|
|
key: 'operating',
|
|
|
|
|
|
|
|
display: 'block',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width:'96px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
record.submitstate === "未提交" ? <span style={{color:'#9A9A9A'}}>--</span>:
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>直接调整最终成绩的分数</div>
|
|
|
|
|
|
|
|
<div>其它评分全部作废</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={this.props.isNotMember() === true ? this.state.mystyles : this.state.mystyle}
|
|
|
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformations(record)}>调分</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
<a style={{"display": "block", "text-align": "center"}} className="color-blue"
|
|
|
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformation(record)}>{record.operating}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
columns = [
|
|
|
|
columns = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '序号',
|
|
|
|
title: '序号',
|
|
|
@ -482,7 +752,12 @@ class Listofworks extends Component {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</a>
|
|
|
|
{
|
|
|
|
|
|
|
|
record.classroom&&record.classroom==="--"?
|
|
|
|
|
|
|
|
<a style={{"color": '#9A9A9A', "text-align": "center"}}></a>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}></a>
|
|
|
|
|
|
|
|
}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -523,7 +798,13 @@ class Listofworks extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.completion}</a>
|
|
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>已通过{record.completion}关,共{this.state.challenges_count}关</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count}</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -534,6 +815,20 @@ class Listofworks extends Component {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.ultimate_score=== true?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终调整成绩:0分</span> :<span>最终调整成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
"color": '#747A7F',
|
|
|
|
"color": '#747A7F',
|
|
|
|
"text-align": "center"
|
|
|
|
"text-align": "center"
|
|
|
@ -544,7 +839,38 @@ class Listofworks extends Component {
|
|
|
|
"color": '#747A7F',
|
|
|
|
"color": '#747A7F',
|
|
|
|
"text-align": "center"
|
|
|
|
"text-align": "center"
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.levelscore === "--"?<span>关卡得分:0分</span> :<span>关卡得分:{record.levelscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.efficiencyscore === "--"?<span>效率评分:0分</span> :<span>效率评分:{record.efficiencyscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.late_penalty === "--"?<span>迟交扣分:0分</span> :<span>迟交扣分:{record.late_penalty}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终成绩:0分</span> :<span>最终成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -558,14 +884,267 @@ class Listofworks extends Component {
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
record.submitstate === "未提交" ? <span style={{color:'#9A9A9A'}}>--</span>:
|
|
|
|
record.submitstate === "未提交" ? <span style={{color:'#9A9A9A'}}>--</span>:
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>直接调整最终成绩的分数</div>
|
|
|
|
|
|
|
|
<div>其它评分全部作废</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
<a style={this.props.isNotMember() === true ? this.state.mystyles : this.state.mystyle}
|
|
|
|
<a style={this.props.isNotMember() === true ? this.state.mystyles : this.state.mystyle}
|
|
|
|
onClick={() => this.Viewstudenttraininginformations(record)}>调分</a>
|
|
|
|
onClick={() => this.Viewstudenttraininginformations(record)}>调分</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
<a style={{"display": "block", "text-align": "center"}} className="color-blue"
|
|
|
|
<a style={{"display": "block", "text-align": "center"}} className="color-blue"
|
|
|
|
onClick={() => this.Viewstudenttraininginformation(record)}>{record.operating}</a>
|
|
|
|
onClick={() => this.Viewstudenttraininginformation(record)}>{record.operating}</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
if(JSON.stringify(this.state.course_group_info) === "[]" ? "" : this.state.course_group_info === undefined ? "" : this.state.course_group_info === null){
|
|
|
|
|
|
|
|
columns=[
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '序号',
|
|
|
|
|
|
|
|
dataIndex: 'number',
|
|
|
|
|
|
|
|
key: 'number',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width:'96px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.number}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '姓名',
|
|
|
|
|
|
|
|
dataIndex: 'name',
|
|
|
|
|
|
|
|
key: 'name',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
Width:'147px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.name}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '学号',
|
|
|
|
|
|
|
|
dataIndex: 'stduynumber',
|
|
|
|
|
|
|
|
key: 'stduynumber',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width:'200px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.stduynumber === undefined ? "--" : record.stduynumber === null ? "--" : record.stduynumber === "" ? "--" : record.stduynumber}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '提交状态',
|
|
|
|
|
|
|
|
dataIndex: 'submitstate',
|
|
|
|
|
|
|
|
key: 'submitstate',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={record.submitstate === "延时提交" ? {
|
|
|
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : record.submitstate === "按时提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.submitstate}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '更新时间',
|
|
|
|
|
|
|
|
dataIndex: 'updatetime',
|
|
|
|
|
|
|
|
key: 'updatetime',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={{"color": '#9A9A9A', "text-align": "center"}}>{record.updatetime}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '完成情况',
|
|
|
|
|
|
|
|
dataIndex: 'completion',
|
|
|
|
|
|
|
|
key: 'completion',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>已通过{record.completion}关,共{this.state.challenges_count}关</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count}</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '关卡得分',
|
|
|
|
|
|
|
|
dataIndex: 'levelscore',
|
|
|
|
|
|
|
|
key: 'levelscore',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<a style={parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.levelscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.levelscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.levelscore}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '效率分',
|
|
|
|
|
|
|
|
dataIndex: 'efficiencyscore',
|
|
|
|
|
|
|
|
key: 'efficiencyscore',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.efficiencyscore&& record.efficiencyscore=== "--"?(
|
|
|
|
|
|
|
|
record.submitstate==="按时提交"?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>作业截止时,系统根据学生在课堂成员中的效率表现自动评分</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{color:"#9A9A9A"}}>
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
record.submitstate==="延时提交"?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>补交结束时,系统根据学生在课堂成员中的效率表现自动评分</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={{color:"#9A9A9A"}}>
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={{color:"#9A9A9A"}}>
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.efficiencyscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.efficiencyscore) >= 90 ? {
|
|
|
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '最终成绩',
|
|
|
|
|
|
|
|
dataIndex: 'finalscore',
|
|
|
|
|
|
|
|
key: 'finalscore',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.ultimate_score=== true?
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终调整成绩:0分</span> :<span>最终调整成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>{record.user_name}{record.user_login}</div>
|
|
|
|
|
|
|
|
<div>{record.levelscore === "--"?<span>关卡得分:0分</span> :<span>关卡得分:{record.levelscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.efficiencyscore === "--"?<span>效率评分:0分</span> :<span>效率评分:{record.efficiencyscore}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.late_penalty === "--"?<span>迟交扣分:0分</span> :<span>迟交扣分:{record.late_penalty}分</span>}</div>
|
|
|
|
|
|
|
|
<div>{record.finalscore === "--"?<span>最终成绩:0分</span> :<span>最终成绩:{record.finalscore}分</span>}</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
|
|
|
<a style=
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<a style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
|
|
|
}}>{record.finalscore}</a>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '操作',
|
|
|
|
|
|
|
|
dataIndex: 'operating',
|
|
|
|
|
|
|
|
key: 'operating',
|
|
|
|
|
|
|
|
display: 'block',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width:'93px',
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
|
|
|
record.submitstate === "未提交" ? <span style={{ color: '#9A9A9A'}}>--</span> :
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
|
|
|
<div>直接调整最终成绩的分数</div>
|
|
|
|
|
|
|
|
<div>其它评分全部作废</div>
|
|
|
|
|
|
|
|
</div>}>
|
|
|
|
|
|
|
|
<a style={this.props.isNotMember() === true ? this.state.mystyles : this.state.mystyle}
|
|
|
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformations(record)}>调分</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformation(record)}>{record.operating}</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|