|
|
@ -553,6 +553,9 @@ class ExerciseReviewAndAnswer extends Component{
|
|
|
|
height:16px;
|
|
|
|
height:16px;
|
|
|
|
margin-top:2px;
|
|
|
|
margin-top:2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.standardAnswer.editormd-html-preview,.answerStyle.editormd-html-preview{
|
|
|
|
|
|
|
|
width:100%!important
|
|
|
|
|
|
|
|
}
|
|
|
|
`}</style>
|
|
|
|
`}</style>
|
|
|
|
{/*<p style={{height:"60px"}}></p>*/}
|
|
|
|
{/*<p style={{height:"60px"}}></p>*/}
|
|
|
|
<Modals
|
|
|
|
<Modals
|
|
|
@ -724,11 +727,17 @@ class ExerciseReviewAndAnswer extends Component{
|
|
|
|
isAdmin && parseInt(item.answer_status) == 0 && item.question_type == 4 ?
|
|
|
|
isAdmin && parseInt(item.answer_status) == 0 && item.question_type == 4 ?
|
|
|
|
<span className="color-red fl mr20">未批</span>:""
|
|
|
|
<span className="color-red fl mr20">未批</span>:""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// 客观题:老师||学生(试卷已截止且答案公开)显示正确答案
|
|
|
|
|
|
|
|
item.question_type < 3 && item.standard_answer_show ?
|
|
|
|
|
|
|
|
<span className="font-16 ml20">
|
|
|
|
|
|
|
|
正确答案:{ item.standard_answer_show }
|
|
|
|
|
|
|
|
</span>:""
|
|
|
|
|
|
|
|
}
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//(老师身份且除实训题外) || (学生身份且试卷已经截止)就显示用户当前题目所得分数
|
|
|
|
//(老师身份且除实训题外) || (学生身份且试卷已经截止)就显示用户当前题目所得分数
|
|
|
|
( isAdmin || (isStudent && exercise.exercise_status == 3)) && item.question_type != 5 && item.user_score ?
|
|
|
|
( isAdmin || (isStudent && exercise.exercise_status == 3)) && item.question_type != 5 && item.user_score ?
|
|
|
|
<span className="font-16 ml20">
|
|
|
|
<span className="font-16 ml20">
|
|
|
|
<i className={parseInt(item.answer_status) ==0 ? "iconfont icon-htmal5icon19 color-red font-20 fl":parseInt(item.answer_status) ==1 ? "fl iconfont icon-wancheng font-20 color-green" :"iconfont icon-htmal5icon19 color-orange-tip font-20 fl"}></i>
|
|
|
|
|
|
|
|
<span><span className={parseInt(item.answer_status) == 0 ?"color-red":parseInt(item.answer_status) == 1 ?"color-green":"color-orange-tip"}>{item.user_score}</span> 分</span>
|
|
|
|
<span><span className={parseInt(item.answer_status) == 0 ?"color-red":parseInt(item.answer_status) == 1 ?"color-green":"color-orange-tip"}>{item.user_score}</span> 分</span>
|
|
|
|
</span> : ""
|
|
|
|
</span> : ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|