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