diff --git a/src/views/course/CourseManage.vue b/src/views/course/CourseManage.vue
index 15044d7a..ef7ff436 100644
--- a/src/views/course/CourseManage.vue
+++ b/src/views/course/CourseManage.vue
@@ -722,14 +722,18 @@ export default {
this.getSignupList();
},
handleDeleteSignup(row) {
- this.$confirm(`确认删除${row.name || ''}的报名记录吗?`, '删除确认', {
+ this.$confirm(`确定删除${row.name || ''}的报名记录吗?`, '删除确认', {
confirmButtonText: '确定',
cancelButtonText: '取消',
dangerouslyUseHTMLString: true,
type: 'warning',
customClass: 'custom-confirm-dialog'
}).then(() => {
- apicourseStudy.deleteSignUp(row.id, this.courseDetail.id)
+ apicourseStudy.deleteNewSignUp({
+ id: row.id,
+ courseId: this.courseDetail.id,
+ studentId: row.aid
+ })
.then((res) => {
if (res && res.status === 200) {
this.$showMessage("删除成功", 'success');