From af9d68d0a6f362c3ded22ca6ad04a321176b61e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 4 Jul 2019 23:25:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/courses/shixunHomework/Listofworksstudentone.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index ce3af71ef..ed87ecc0d 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -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) });