|
|
|
@ -697,6 +697,26 @@ class studentsList extends Component{
|
|
|
|
|
const isStudentPage = pageType == TYPE_STUDENTS
|
|
|
|
|
this.isStudentPage = isStudentPage
|
|
|
|
|
const isGroupChildPage = pageType == TYPE_COURSE_GOURP_CHILD
|
|
|
|
|
let studentlist=buildColumns(this,isParent);
|
|
|
|
|
if(this.props.isexcellent===true){
|
|
|
|
|
studentlist.some((item,key)=> {
|
|
|
|
|
if (item.title === "手机号") {
|
|
|
|
|
studentlist.splice(key, 1)
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(this.props.isexcellent===true){
|
|
|
|
|
studentlist.some((item,key)=> {
|
|
|
|
|
if (item.title === "邮箱") {
|
|
|
|
|
studentlist.splice(key, 1)
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment >
|
|
|
|
@ -866,7 +886,7 @@ class studentsList extends Component{
|
|
|
|
|
<Spin size="large" spinning={this.state.isSpin}>
|
|
|
|
|
<div className="clearfix stu_table">
|
|
|
|
|
{students && !!students.length && <Checkbox.Group style={{ width: '100%' }} onChange={this.onCheckBoxChange} value={checkBoxValues}>
|
|
|
|
|
<Table columns={buildColumns(this,isParent)} dataSource={students} onChange={this.onTableChange} pagination={false}></Table>
|
|
|
|
|
<Table columns={studentlist} dataSource={students} onChange={this.onTableChange} pagination={false}></Table>
|
|
|
|
|
</Checkbox.Group> }
|
|
|
|
|
</div>
|
|
|
|
|
</Spin>
|
|
|
|
|