|
|
|
@ -214,24 +214,6 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '完成情况',
|
|
|
|
|
dataIndex: 'completion',
|
|
|
|
|
key: 'completion',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>已通过{record.completion}关,共{this.state.challenges_count}关</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count} </span>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '关卡得分',
|
|
|
|
|
dataIndex: 'levelscore',
|
|
|
|
@ -327,6 +309,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
work_efficiency:true,
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
@ -460,7 +443,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
seacthdatas = (teacherdata,student_works) => {
|
|
|
|
|
let {page, limit} = this.state;
|
|
|
|
|
let {page, limit,work_efficiency} = this.state;
|
|
|
|
|
let datalist = [];
|
|
|
|
|
let datalists = [];
|
|
|
|
|
var styletable = {"display": "none"}
|
|
|
|
@ -586,7 +569,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columns.length;i++){
|
|
|
|
|
var item = this.state.columns[i];
|
|
|
|
|
if (work_efficiency === false) {
|
|
|
|
|
if (this.state.work_efficiency === false) {
|
|
|
|
|
if (item.title === "关卡得分") {
|
|
|
|
|
|
|
|
|
|
} else if (item.title === "效率分") {
|
|
|
|
|