|
|
|
@ -498,10 +498,10 @@ class studentsList extends Component{
|
|
|
|
|
showSearchInput={total_count >= 10}
|
|
|
|
|
searchPlaceholder={ '请输入姓名、学号进行搜索' }
|
|
|
|
|
firstRowRight={
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
{ isSuperAdmin && <React.Fragment>
|
|
|
|
|
{/* <CreateGroupByImportModal ref="createGroupByImportModal" {...this.props}></CreateGroupByImportModal> */}
|
|
|
|
|
{/* <WordsBtn style="blue" className="mr30" onClick={()=> this.refs['createGroupByImportModal'].setVisible(true)}>导入创建分班</WordsBtn> */}
|
|
|
|
|
<CreateGroupByImportModal ref="createGroupByImportModal" {...this.props}></CreateGroupByImportModal>
|
|
|
|
|
<WordsBtn style="blue" className="mr30" onClick={()=> this.refs['createGroupByImportModal'].setVisible(true)}>导入创建分班</WordsBtn>
|
|
|
|
|
</React.Fragment> }
|
|
|
|
|
{ isAdmin && isParent && <WordsBtn style="blue" className="mr30" onClick={()=>this.addDir()}>新建分班</WordsBtn> }
|
|
|
|
|
{ isAdmin && !isParent && course_group_id != 0 && <WordsBtn style="blue" className="mr30" onClick={()=>this.deleteDir()}>删除分班</WordsBtn> }
|
|
|
|
|