|
|
|
@ -101,11 +101,20 @@ class Signedinlist extends Component {
|
|
|
|
|
handleChangegroup_ids=(value)=>{
|
|
|
|
|
let neval
|
|
|
|
|
if(!value){
|
|
|
|
|
neval=[]
|
|
|
|
|
this.setState({
|
|
|
|
|
group_ids: [],
|
|
|
|
|
page:1
|
|
|
|
|
})
|
|
|
|
|
if(value===0){
|
|
|
|
|
neval=[0]
|
|
|
|
|
this.setState({
|
|
|
|
|
group_ids: [0],
|
|
|
|
|
page:1
|
|
|
|
|
})
|
|
|
|
|
}else{
|
|
|
|
|
neval=[]
|
|
|
|
|
this.setState({
|
|
|
|
|
group_ids: [],
|
|
|
|
|
page:1
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
neval=[value]
|
|
|
|
|
this.setState({
|
|
|
|
@ -327,11 +336,11 @@ class Signedinlist extends Component {
|
|
|
|
|
|
|
|
|
|
<Row type="flex" justify="end">
|
|
|
|
|
|
|
|
|
|
{this.props.defaultActiveKey==="2"?<Col className={"Signedintextright "}>
|
|
|
|
|
{this.props.defaultActiveKey==="2"?<Col className={"Signedintextright mr5"}>
|
|
|
|
|
<span className={"color26C7C9 mr20"}>正常签到:{data&&data.normal_count}</span>
|
|
|
|
|
<span className={"colorEAAE4E mr20"}>请假:{data&&data.leave_count}</span>
|
|
|
|
|
<span className={"colorFF835C"}>旷课:{data&&data.absence_count}</span>
|
|
|
|
|
</Col>:<Col className={"Signedintextright "}>
|
|
|
|
|
</Col>:<Col className={"Signedintextright mr5"}>
|
|
|
|
|
<span className={"mr20"}>已签到:<span className={"color1890FF"}>{this.state.course_members_count}</span></span>
|
|
|
|
|
<span>应签到:<span className={"color1890FF"}>{this.state.attendance_count}</span></span>
|
|
|
|
|
</Col>}
|
|
|
|
|