|
|
|
@ -93,13 +93,14 @@ class AddStudentModal extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onSendOk = () => {
|
|
|
|
|
this.setState({
|
|
|
|
|
isSpin:true
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
if(!this.state.checkBoxValues || this.state.checkBoxValues.length == 0) {
|
|
|
|
|
this.props.showNotification('请从列表中先选择用户。')
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.setState({
|
|
|
|
|
isSpin:true
|
|
|
|
|
})
|
|
|
|
|
const courseId = this.props.match.params.coursesId
|
|
|
|
|
const url = `/courses/${courseId}/add_students_by_search.json`
|
|
|
|
|
const params = {
|
|
|
|
|