dev_forum
杨树林 6 years ago
parent 7384bccf10
commit 74b45cccbf

@ -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 === "效率分") {

Loading…
Cancel
Save