统计调整

chromesetting
杨树明 5 years ago
parent c52c756b81
commit 5f072638e5

@ -73,27 +73,30 @@ class Statistics extends Component{
}
getDynamiclistdatas=(group_ids)=>{
let courseId=this.props.match.params.coursesId;
let url=`/courses/${courseId}/act_score.json`;
let data={
group_ids:group_ids,
}
axios.get(url,{params:
data
}).then((result) => {
if (result) {
let {activeKey}=this.state;
if(activeKey==='2') {
let courseId = this.props.match.params.coursesId;
let url = `/courses/${courseId}/act_score.json`;
let data = {
group_ids: group_ids,
}
axios.get(url, {
params:
data
}).then((result) => {
if (result) {
this.setState({
course_members: result.data.course_members,
bomisSpin: false
})
}
}).catch((error) => {
console.log(error);
this.setState({
course_members:result.data.course_members,
bomisSpin:false
bomisSpin: false,
})
}
}).catch((error) => {
console.log(error);
this.setState({
bomisSpin:false,
})
})
}
}
getwork_scoredata=(page,group_ids,sort)=>{

Loading…
Cancel
Save