|
|
@ -435,7 +435,10 @@ layui.define(['form', 'laydate', 'table', 'xmSelect', 'teacherOpenCourseSchedule
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
layer.load(0, {
|
|
|
|
|
|
|
|
shadeClose: false,
|
|
|
|
|
|
|
|
shade: [0.5]
|
|
|
|
|
|
|
|
});
|
|
|
|
var param = {
|
|
|
|
var param = {
|
|
|
|
teacherOpenCourseScheduleSessionId: teacherOpenCourseScheduleSessionId,
|
|
|
|
teacherOpenCourseScheduleSessionId: teacherOpenCourseScheduleSessionId,
|
|
|
|
teacherOpenCourseId: teacherOpenCourseId,
|
|
|
|
teacherOpenCourseId: teacherOpenCourseId,
|
|
|
@ -452,11 +455,14 @@ layui.define(['form', 'laydate', 'table', 'xmSelect', 'teacherOpenCourseSchedule
|
|
|
|
if(!$.isEmpty(teacherOpenCourseScheduleSessionId)){
|
|
|
|
if(!$.isEmpty(teacherOpenCourseScheduleSessionId)){
|
|
|
|
url = "/jlw/teacherOpenCourseScheduleSession/editSession.json";
|
|
|
|
url = "/jlw/teacherOpenCourseScheduleSession/editSession.json";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var ret = Common.postJSON(url,JSON.stringify(param));
|
|
|
|
setTimeout(function(){
|
|
|
|
if (ret.code == 0) {
|
|
|
|
var ret = Common.postJSON(url,JSON.stringify(param));
|
|
|
|
parent.Lib.tableRefresh();
|
|
|
|
if (ret.code == 0) {
|
|
|
|
Lib.closeFrame();
|
|
|
|
parent.window.dataReload();
|
|
|
|
}
|
|
|
|
parent.Lib.tableRefresh();
|
|
|
|
|
|
|
|
Lib.closeFrame();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},100);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#addButton-cancel").click(function(){
|
|
|
|
$("#addButton-cancel").click(function(){
|
|
|
|