|
|
|
@ -750,7 +750,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
})
|
|
|
|
|
this.Getalistofworkstwo(this.state.order, "", "", "", pageNumber, this.state.limit);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//计算成绩
|
|
|
|
|
setComputeTime=()=>{
|
|
|
|
|
let {teacherdata}=this.state;
|
|
|
|
|
this.setState({
|
|
|
|
@ -761,6 +761,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
axios.get(url).then((response) => {
|
|
|
|
|
this.props.showNotification(`${response.data.message}`);
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
|
this.Getalistofworks(homeworkid);
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error)
|
|
|
|
|
});
|
|
|
|
|