|
|
@ -23,7 +23,7 @@ class OfficialAcademicTranscript extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
editgame_scores=(score,id)=>{
|
|
|
|
editgame_scores=(score,id)=>{
|
|
|
|
if(score!=null&&score!=undefined){
|
|
|
|
if(score!=null&&score!=undefined&&score!=""){
|
|
|
|
let work_id=this.props.data.work_id;
|
|
|
|
let work_id=this.props.data.work_id;
|
|
|
|
let url=`/student_works/${work_id}/adjust_review_score.json`
|
|
|
|
let url=`/student_works/${work_id}/adjust_review_score.json`
|
|
|
|
axios.post(url,{
|
|
|
|
axios.post(url,{
|
|
|
@ -158,7 +158,7 @@ class OfficialAcademicTranscript extends Component {
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<a><InputNumber size="small" defaultValue={record.game_scores.game_score}
|
|
|
|
<a><InputNumber size="small" defaultValue={record.game_scores.game_score}
|
|
|
|
onChange={(e) => this.editgame_scores(e,record.challenge_id.id)}
|
|
|
|
onBlur={(e) => this.editgame_scores(e,record.challenge_id.id)}
|
|
|
|
min={0} max={record.game_scores.game_score_full}
|
|
|
|
min={0} max={record.game_scores.game_score_full}
|
|
|
|
/></a>
|
|
|
|
/></a>
|
|
|
|
{/*<a style={{textAlign: "center"}} className="color-blue font-14 mr20">查看</a>*/}
|
|
|
|
{/*<a style={{textAlign: "center"}} className="color-blue font-14 mr20">查看</a>*/}
|
|
|
|