|
|
|
@ -598,7 +598,7 @@ class studentsList extends Component{
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.data.status == 0) {
|
|
|
|
|
this.props.showNotification('删除成功')
|
|
|
|
|
this.props.history.push(`/courses/${coursesId}/course_groups`)
|
|
|
|
|
this.props.history.push(`/courses/${courseId}/course_groups`)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(function (error) {
|
|
|
|
@ -706,7 +706,7 @@ class studentsList extends Component{
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<span>
|
|
|
|
|
<Tooltip title="返回">
|
|
|
|
|
<i className="icon-zuojiantou iconfont font-14" onClick={() => { this.props.history.push(`/courses/${coursesids}/course_groups`)}}
|
|
|
|
|
<i className="icon-zuojiantou iconfont font-14" onClick={() => { this.props.history.push(`/courses/${courseId}/course_groups`)}}
|
|
|
|
|
style={{color: '#212121', verticalAlign: 'initial', marginRight: '14px' }}
|
|
|
|
|
></i>
|
|
|
|
|
</Tooltip>{course_group_name || '未分班'}</span>
|
|
|
|
@ -751,7 +751,7 @@ class studentsList extends Component{
|
|
|
|
|
!isStudentPage && !isCourseEnd && isAdmin && <WordsBtn style="blue" className="mr30" onClick={()=>this.addDir()}>新建分班</WordsBtn> }
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
!isStudentPage && isStudent && !isParent && course_group_id != 0 && <WordsBtn style="blue" className="mr30" onClick={()=>this.addToDir()}>加入分班</WordsBtn> }
|
|
|
|
|
!isStudentPage && isStudent && !isParent && course_group_id != 0 && <WordsBtn style="blue" className="" onClick={()=>this.addToDir()}>加入分班</WordsBtn> }
|
|
|
|
|
<style>{`
|
|
|
|
|
.drop_down_menu li a {
|
|
|
|
|
padding: 0px;
|
|
|
|
|