diff --git a/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js b/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js index 7e28ef899..75fbaaab4 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js @@ -94,7 +94,7 @@ class CommonWorkAppraise extends Component{ if(id){ url=`/homework_commons/${workId}/get_next_work.json?work_id=${id}`; }else{ - url=`/homework_commons/${workId}/get_next_work.json`; + url=`/homework_commons/${workId}/get_next_work.json?work_id=${this.props.match.params.studentWorkId}`; } axios.get(url).then((result)=> { this.setState({ @@ -114,6 +114,9 @@ class CommonWorkAppraise extends Component{ if(this.props.match.path===`/classrooms/:coursesId/group_homeworks/:workId/:studentWorkId/appraise`){ this.props.history.replace(`/classrooms/${this.props.match.params.coursesId}/common_homeworks/${this.props.match.params.workId}/${id}/appraise`); } + this.setState({ + get_next_worktype:false + }) } onAttachmentRemove = (id) => { @@ -332,7 +335,7 @@ class CommonWorkAppraise extends Component{
已全部评阅完
: -
{get_next_work&&get_next_work?`下一位待评阅人员:${get_next_work&&get_next_work.user_name}`:""}
+
{get_next_work&&get_next_work?`下一位待评阅人员:${get_next_work&&get_next_work.user_name}`:""}
this.get_next_works(get_next_work&&get_next_work.work_id)}>跳过
}