|
|
|
@ -105,7 +105,8 @@ function buildColumns(that) {
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
});
|
|
|
|
|
if (that.hasGraduationModule()) {
|
|
|
|
|
const hasGraduationModule = that.hasGraduationModule()
|
|
|
|
|
if (hasGraduationModule {
|
|
|
|
|
columns.push({
|
|
|
|
|
title: '答辩组',
|
|
|
|
|
key: 'graduation_group',
|
|
|
|
@ -145,7 +146,7 @@ function buildColumns(that) {
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if(isAdmin) {
|
|
|
|
|
if(isAdmin && hasGraduationModule) {
|
|
|
|
|
columns.unshift({
|
|
|
|
|
title: '',
|
|
|
|
|
dataIndex: 'course_member_id',
|
|
|
|
@ -498,6 +499,7 @@ class studentsList extends Component{
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const isAdminOrTeacher = this.props.isAdminOrTeacher()
|
|
|
|
|
const hasGraduationModule = this.hasGraduationModule()
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment>
|
|
|
|
@ -543,9 +545,9 @@ class studentsList extends Component{
|
|
|
|
|
`}</style>
|
|
|
|
|
<div className="mt20 edu-back-white padding20 teacherList">
|
|
|
|
|
<div className="clearfix stu_head" style={{paddingLeft: '15px'}}>
|
|
|
|
|
{ isAdmin && <Checkbox className="fl" onChange={this.onCheckAll} checked={checkAllValue} >已选 {checkBoxValues.length} 个</Checkbox> }
|
|
|
|
|
{ isAdmin && hasGraduationModule && <Checkbox className="fl" onChange={this.onCheckAll} checked={checkAllValue} >已选 {checkBoxValues.length} 个</Checkbox> }
|
|
|
|
|
{ <div className="studentList_operation_ul">
|
|
|
|
|
{ this.hasGraduationModule() && isAdminOrTeacher && <li className="li_line drop_down">
|
|
|
|
|
{ hasGraduationModule && isAdminOrTeacher && <li className="li_line drop_down">
|
|
|
|
|
加入答辩组<i className="iconfont icon-xiajiantou font-12 ml2"></i>
|
|
|
|
|
<ul className="drop_down_menu" style={{"right":"0px","left":"unset", minWidth: '222px'}}>
|
|
|
|
|
|
|
|
|
|