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
882 B
JavaScript
23 lines
882 B
JavaScript
layui.define(['table', 'teacherOpenCourseMergeScheduleSessionApi'], function(exports) {
|
|
var teacherOpenCourseMergeScheduleSessionApi = layui.teacherOpenCourseMergeScheduleSessionApi;
|
|
var table=layui.table;
|
|
var view = {
|
|
init:function(){
|
|
},
|
|
delBatch:function(){
|
|
var data = Common.getMoreDataFromTable(table,"teacherOpenCourseMergeScheduleSessionTable");
|
|
if(data==null){
|
|
return ;
|
|
}
|
|
Common.openConfirm("确认要删除这些开课关联排课配置?",function(){
|
|
var ids =Common.concatBatchId(data,"teacherOpenCourseMergeScheduleSessionId");
|
|
teacherOpenCourseMergeScheduleSessionApi.del(ids,function(){
|
|
Common.info("删除成功");
|
|
dataReload();
|
|
})
|
|
})
|
|
}
|
|
}
|
|
exports('del',view);
|
|
|
|
}); |