diff --git a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js index 90927be6a..e6d24976b 100644 --- a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js +++ b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js @@ -303,13 +303,13 @@ class Videostatisticscomtwo extends Component { data = { id: CourseId, page: this.state.page, + group_id: this.state.groupsid, order: mysorder, } } else { data = { id: CourseId, page: this.state.page, - group_id: this.state.groupsid, order: mysorder, } } @@ -339,16 +339,17 @@ class Videostatisticscomtwo extends Component { //老师 const CourseId = this.props.match.params.coursesId; if (this.state.groupsid) { + data = { id: CourseId, page: this.state.page, + group_id: this.state.groupsid, order: mysorder, } } else { data = { id: CourseId, page: this.state.page, - group_id: this.state.groupsid, order: mysorder, } }