|
@@ -40,7 +40,7 @@
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import { getTeamStudentList } from '@/api/buildTeam'
|
|
import { getTeamStudentList } from '@/api/buildTeam'
|
|
-import { delStudentRegistration } from '../api'
|
|
|
|
|
|
+import { batchDelStudentRegistration } from '../api'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -98,7 +98,7 @@ export default {
|
|
await this.$confirm('是否确认删除已选择学员?', '提示', {
|
|
await this.$confirm('是否确认删除已选择学员?', '提示', {
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
- await delStudentRegistration(this.passed)
|
|
|
|
|
|
+ await batchDelStudentRegistration(this.passed)
|
|
this.$message.success('删除成功')
|
|
this.$message.success('删除成功')
|
|
this.FetchDetail()
|
|
this.FetchDetail()
|
|
} catch (error) {}
|
|
} catch (error) {}
|