You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
839 B
JavaScript
23 lines
839 B
JavaScript
3 years ago
|
layui.define(['table', 'teacherOpenCourseMergeStudentApi'], function(exports) {
|
||
|
var teacherOpenCourseMergeStudentApi = layui.teacherOpenCourseMergeStudentApi;
|
||
|
var table=layui.table;
|
||
|
var view = {
|
||
|
init:function(){
|
||
|
},
|
||
|
delBatch:function(){
|
||
|
var data = Common.getMoreDataFromTable(table,"teacherOpenCourseMergeStudentTable");
|
||
|
if(data==null){
|
||
|
return ;
|
||
|
}
|
||
|
Common.openConfirm("确认要删除这些开课关联学生?",function(){
|
||
|
var ids =Common.concatBatchId(data,"teacherOpenCourseSchoolClassMergeStudentId");
|
||
|
teacherOpenCourseMergeStudentApi.del(ids,function(){
|
||
|
Common.info("删除成功");
|
||
|
dataReload();
|
||
|
})
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
exports('del',view);
|
||
|
|
||
|
});
|