|
|
|
@ -42,7 +42,7 @@ class Exercisestatisticalresult extends Component {
|
|
|
|
|
limit:limit
|
|
|
|
|
}
|
|
|
|
|
}).then((result) => {
|
|
|
|
|
console.log(result)
|
|
|
|
|
// console.log(result)
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
data:result.data
|
|
|
|
@ -85,6 +85,10 @@ class Exercisestatisticalresult extends Component {
|
|
|
|
|
page:pageNumber
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
debugger
|
|
|
|
|
$('html').animate({
|
|
|
|
|
scrollTop: 10
|
|
|
|
|
}, 1000);
|
|
|
|
|
this.updatefun(sort,exercise_group_id,pageNumber,limit)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -109,10 +113,10 @@ class Exercisestatisticalresult extends Component {
|
|
|
|
|
<ul className="clearfix" style={{padding:'20px'}}>
|
|
|
|
|
<li className="clearfix mt10">
|
|
|
|
|
<span className="fl mr10 color-grey-8">分班情况:</span>
|
|
|
|
|
<span className="fl "><a id="graduation_comment_no_limit"
|
|
|
|
|
className={this.state.exercise_group_id.length===0?"pl10 pr10 mr20 check_on":"pl10 pr10 mr20" }
|
|
|
|
|
>不限</a></span>
|
|
|
|
|
<CheckboxGroup onChange={(e)=>this.funtaskstatustwo(e,data&&data.course_groups)} value={this.state.exercise_group_id} style={{paddingTop: '4px'}}>
|
|
|
|
|
<span className="fl ">
|
|
|
|
|
<a id="graduation_comment_no_limit" className={this.state.exercise_group_id.length===0?"pl10 pr10 mr20 check_on":"pl10 pr10 mr20" }>不限</a>
|
|
|
|
|
</span>
|
|
|
|
|
<CheckboxGroup onChange={(e)=>this.funtaskstatustwo(e,data&&data.course_groups)} value={this.state.exercise_group_id} style={{width:'87%',paddingTop: '4px'}}>
|
|
|
|
|
{ data&&data.course_groups.map((item, key) => {
|
|
|
|
|
return (
|
|
|
|
|
<span key={key}>
|
|
|
|
|