|
|
|
@ -15,31 +15,7 @@ class OfficialAcademicTranscript extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
let {data}=this.props;
|
|
|
|
|
|
|
|
|
|
let datas=[];
|
|
|
|
|
if(data!=undefined){
|
|
|
|
|
data.stage_list===undefined?"":data.stage_list.forEach((item,key)=>{
|
|
|
|
|
datas.push({
|
|
|
|
|
customs: key+1,
|
|
|
|
|
taskname:{name:item.name,complete_status:item.complete_status},
|
|
|
|
|
openingtime:item.open_time,
|
|
|
|
|
evaluating: item.evaluate_count,
|
|
|
|
|
finishtime:item.finished_time,
|
|
|
|
|
elapsedtime:item.time_consuming,
|
|
|
|
|
empvalue:{myself:item.myself_experience,experience:item.experience},
|
|
|
|
|
game_scores:{game_score:item.game_score,game_score_full:item.game_score_full},
|
|
|
|
|
challenge_id:{id:item.challenge_id},
|
|
|
|
|
challenge_comment: item.challenge_comment,
|
|
|
|
|
challenge_comment_hidden: item.challenge_comment_hidden,
|
|
|
|
|
// adjustmentminute:asdasd
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
datas:datas
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
myjumptopic=(e)=>{
|
|
|
|
|
console.log("获取到值");
|
|
|
|
@ -98,7 +74,28 @@ class OfficialAcademicTranscript extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let {datas,customsids}=this.state;
|
|
|
|
|
let {customsids}=this.state;
|
|
|
|
|
let {data}=this.props;
|
|
|
|
|
|
|
|
|
|
let datas=[];
|
|
|
|
|
if(data!=undefined){
|
|
|
|
|
data.stage_list===undefined?"":data.stage_list.forEach((item,key)=>{
|
|
|
|
|
datas.push({
|
|
|
|
|
customs: key+1,
|
|
|
|
|
taskname:{name:item.name,complete_status:item.complete_status},
|
|
|
|
|
openingtime:item.open_time,
|
|
|
|
|
evaluating: item.evaluate_count,
|
|
|
|
|
finishtime:item.finished_time,
|
|
|
|
|
elapsedtime:item.time_consuming,
|
|
|
|
|
empvalue:{myself:item.myself_experience,experience:item.experience},
|
|
|
|
|
game_scores:{game_score:item.game_score,game_score_full:item.game_score_full},
|
|
|
|
|
challenge_id:{id:item.challenge_id},
|
|
|
|
|
challenge_comment: item.challenge_comment,
|
|
|
|
|
challenge_comment_hidden: item.challenge_comment_hidden,
|
|
|
|
|
// adjustmentminute:asdasd
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let columns=[{
|
|
|
|
|
title: '关卡',
|
|
|
|
|