|
|
|
@ -164,16 +164,16 @@ function buildColumns(that) {
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// if(isAdminOrTeacher && hasGraduationModule) {
|
|
|
|
|
// columns.unshift({
|
|
|
|
|
// title: '',
|
|
|
|
|
// dataIndex: 'course_member_id',
|
|
|
|
|
// key: 'course_member_id',
|
|
|
|
|
// render: (content, item, index) => {
|
|
|
|
|
// return content ? <Checkbox value={content}></Checkbox> : ''
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
if(isAdminOrTeacher && hasGraduationModule) {
|
|
|
|
|
columns.unshift({
|
|
|
|
|
title: '',
|
|
|
|
|
dataIndex: 'course_member_id',
|
|
|
|
|
key: 'course_member_id',
|
|
|
|
|
render: (content, item, index) => {
|
|
|
|
|
return content ? <Checkbox value={content}></Checkbox> : ''
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
return columns
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -688,6 +688,10 @@ class studentsList extends Component{
|
|
|
|
|
line-height:30px!important;
|
|
|
|
|
flex: 0 0 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.teacher_table .ant-table-thead > tr > th, .ant-table-tbody > tr > td {
|
|
|
|
|
padding: 16px 10px;
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<div className="mt20 edu-back-white padding20 teacherList">
|
|
|
|
|
|
|
|
|
@ -741,7 +745,7 @@ class studentsList extends Component{
|
|
|
|
|
</div> }
|
|
|
|
|
</div>}
|
|
|
|
|
<Spin size="large" spinning={this.state.isSpin}>
|
|
|
|
|
<div className="clearfix stu_table">
|
|
|
|
|
<div className="clearfix stu_table teacher_table">
|
|
|
|
|
{combineArray.length ?
|
|
|
|
|
<Checkbox.Group style={{ width: '100%' }} onChange={this.onCheckBoxChange} value={checkBoxValues}>
|
|
|
|
|
{/* pagination={{ current: page, total: total_count, pageSize:20, onChange: this.onPageChange }} */}
|
|
|
|
|