|
|
@ -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,{
|
|
|
@ -32,6 +32,7 @@ class OfficialAcademicTranscript extends Component {
|
|
|
|
challenge_id:id
|
|
|
|
challenge_id:id
|
|
|
|
}).then((result)=>{
|
|
|
|
}).then((result)=>{
|
|
|
|
if(result.data.status===0){
|
|
|
|
if(result.data.status===0){
|
|
|
|
|
|
|
|
this.props.getdatalist()
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
@ -81,7 +82,7 @@ class OfficialAcademicTranscript extends Component {
|
|
|
|
className:"TaskForms",
|
|
|
|
className:"TaskForms",
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<span className={"task-hide"} style={{color:"#676767"}}><a className="tasknameName font-14" onClick={()=>this.myjumptopic("id"+record.customs)} title={record.taskname.name} >
|
|
|
|
<span className={"task-hide"} style={{color:"#676767"}}><a className="tasknameName font-14" onClick={()=>this.myjumptopic("id"+record.customs)} title={record.taskname.name.length>56?record.taskname.name:""} >
|
|
|
|
{record.taskname.name}{record.taskname.complete_status===2?<span className={"tasknamebox ml10"}>延时</span>:record.taskname.complete_status===3?<span className={"tasknameboxs ml10"}>延时</span>:""}
|
|
|
|
{record.taskname.name}{record.taskname.complete_status===2?<span className={"tasknamebox ml10"}>延时</span>:record.taskname.complete_status===3?<span className={"tasknameboxs ml10"}>延时</span>:""}
|
|
|
|
</a></span>
|
|
|
|
</a></span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -221,11 +222,11 @@ class OfficialAcademicTranscript extends Component {
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 450px;
|
|
|
|
max-width: 450px;
|
|
|
|
text-align: left !important;
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.TaskForms{
|
|
|
|
.TaskForms{
|
|
|
|
width: 450px;
|
|
|
|
max-width: 450px;
|
|
|
|
text-align: left !important;
|
|
|
|
text-align: left !important;
|
|
|
|
padding: 16px !important;
|
|
|
|
padding: 16px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|