dev_forum
杨树林 6 years ago
parent a77cdce1b3
commit 5e55d9b1a0

@ -2328,13 +2328,14 @@ class Listofworksstudentone extends Component {
<li className="clearfix ">
<span className="fl mr10 color-grey-6 ">计算成绩时间{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span>
<span>
{teacherdata&&teacherdata.publish_immediately===false&&computeTimetype===true?<div className={"computeTime font-13"} onClick={this.setComputeTimet}>
{teacherdata&&teacherdata.publish_immediately===false&&computeTimetype===true?
(this.props.isNotMember()===false?<div className={"computeTime font-13"} onClick={this.setComputeTimet}>
计算成绩
</div>:
</div>:""):
teacherdata&&teacherdata.homework_status[0]=== "未发布"? "":
<div className={"computeTimes font-13"}>
(this.props.isNotMember()===false?<div className={"computeTimes font-13"}>
计算成绩
</div>
</div>:"")
}
</span>
@ -2614,14 +2615,19 @@ class Listofworksstudentone extends Component {
<span className="fl mr10 color-grey-6 ">计算成绩时间{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span>
{teacherdata&&teacherdata.task_operation[0]==="开启挑战"?"":<span>
{computeTimetype===true?<div className={"computeTime font-13"} onClick={this.setComputeTime}>
{computeTimetype===true?
(this.props.isNotMember()===false?
<div className={"computeTime font-13"} onClick={this.setComputeTime}>
计算成绩
</div>:
teacherdata&&teacherdata.homework_status[0]=== "未发布"? "":
<div className={"computeTimes font-13"}>
计算成绩
</div>
</div>
:"")
:
(teacherdata&&teacherdata.homework_status[0]=== "未发布"? "":
this.props.isNotMember()===false?
<div className={"computeTimes font-13"}>
计算成绩
</div>
:"")
}
</span>}
@ -2777,13 +2783,14 @@ class Listofworksstudentone extends Component {
<span className="fl mr10 color-grey-6 ">计算成绩时间{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span>
{teacherdata&&teacherdata.task_operation&&teacherdata.task_operation[0]==="开启挑战"?"":<span>
{computeTimetype===true?<div className={"computeTime font-13"} onClick={this.setComputeTime}>
{computeTimetype===true?
(this.props.isNotMember()===false?<div className={"computeTime font-13"} onClick={this.setComputeTime}>
计算成绩
</div>:
</div>:""):
teacherdata&&teacherdata.homework_status[0]=== "未发布"? "":
<div className={"computeTimes font-13"}>
(this.props.isNotMember()===false?<div className={"computeTimes font-13"}>
计算成绩
</div>
</div>:"")
}
</span>}

Loading…
Cancel
Save