|
|
|
@ -899,9 +899,23 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
console.log("902");
|
|
|
|
|
console.log("902");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
componentDidCatch(error, info){
|
|
|
|
|
console.log("-----------------------------905错误信息");
|
|
|
|
|
console.log(error);
|
|
|
|
|
console.log(info);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
|
|
console.log("+++++++++913");
|
|
|
|
|
console.log("+++++++++915");
|
|
|
|
|
console.log("+++++++++916");
|
|
|
|
|
console.log(nextProps);
|
|
|
|
|
}
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
console.log("componentDidMount");
|
|
|
|
|
if(this.props.isAdmin() === true){
|
|
|
|
@ -2337,7 +2351,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
(this.props.isNotMember()===false?<div className={"computeTime font-13"} onClick={this.setComputeTimet}>
|
|
|
|
|
计算成绩
|
|
|
|
|
</div>:""):
|
|
|
|
|
teacherdata&&teacherdata.homework_status[0]!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
|
|
|
|
|
teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
|
|
|
|
|
(this.props.isNotMember()===false?<div className={"computeTimes font-13"}>
|
|
|
|
|
计算成绩
|
|
|
|
|
</div>:"")
|
|
|
|
@ -2628,7 +2642,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
:"")
|
|
|
|
|
:
|
|
|
|
|
(teacherdata&&teacherdata.homework_status[0]!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
|
|
|
|
|
(teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
|
|
|
|
|
this.props.isNotMember()===false?
|
|
|
|
|
<div className={"computeTimes font-13"}>
|
|
|
|
|
计算成绩
|
|
|
|
@ -2793,7 +2807,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
(this.props.isNotMember()===false?<div className={"computeTime font-13"} onClick={this.setComputeTime}>
|
|
|
|
|
计算成绩
|
|
|
|
|
</div>:""):
|
|
|
|
|
teacherdata&&teacherdata.homework_status[0]!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
|
|
|
|
|
teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":
|
|
|
|
|
(this.props.isNotMember()===false?<div className={"computeTimes font-13"}>
|
|
|
|
|
计算成绩
|
|
|
|
|
</div>:"")
|
|
|
|
|