dev_forum
hjm 6 years ago
parent 4e8bd3fb74
commit 07b9197e15

@ -185,7 +185,7 @@ class studentsList extends Component{
searchValue:e.target.value
})
}
// approval 2 - 拒绝
onAgree = (record, approval = 1) => {
const courseId = this.props.match.params.coursesId
@ -198,7 +198,7 @@ class studentsList extends Component{
})
.then((response) => {
if (response.data.status == 0) {
this.props.showNotification(`${approval ? '同意' : '拒绝'}`)
this.props.showNotification(`${approval == 1? '同意' : '拒绝'}`)
this.fetchAll(1)
}
})

Loading…
Cancel
Save