diff --git a/web/src/main/java/com/ibeetl/jlw/web/TeacherOpenCourseScheduleSessionTagController.java b/web/src/main/java/com/ibeetl/jlw/web/TeacherOpenCourseScheduleSessionTagController.java index 0790afcf..2d565774 100644 --- a/web/src/main/java/com/ibeetl/jlw/web/TeacherOpenCourseScheduleSessionTagController.java +++ b/web/src/main/java/com/ibeetl/jlw/web/TeacherOpenCourseScheduleSessionTagController.java @@ -116,6 +116,15 @@ public class TeacherOpenCourseScheduleSessionTagController{ return view; } + @GetMapping(MODEL + "/initSetCourseScheduleCondition.do") + @Function("teacherOpenCourseScheduleSessionTag.query") + @ResponseBody + public ModelAndView initSetCourseScheduleCondition() { + ModelAndView view = new ModelAndView("/jlw/teacherOpenCourseScheduleSessionTag/initSetCourseScheduleCondition.html") ; + view.addObject("search", TeacherOpenCourseScheduleSessionTagQuery.class.getName()); + return view; + } + /* 后台接口 */ @PostMapping(MODEL + "/list.json") diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js index 7f604ea0..5cedaeb8 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js @@ -435,7 +435,10 @@ layui.define(['form', 'laydate', 'table', 'xmSelect', 'teacherOpenCourseSchedule return; } - + layer.load(0, { + shadeClose: false, + shade: [0.5] + }); var param = { teacherOpenCourseScheduleSessionId: teacherOpenCourseScheduleSessionId, teacherOpenCourseId: teacherOpenCourseId, @@ -452,11 +455,14 @@ layui.define(['form', 'laydate', 'table', 'xmSelect', 'teacherOpenCourseSchedule if(!$.isEmpty(teacherOpenCourseScheduleSessionId)){ url = "/jlw/teacherOpenCourseScheduleSession/editSession.json"; } - var ret = Common.postJSON(url,JSON.stringify(param)); - if (ret.code == 0) { - parent.Lib.tableRefresh(); - Lib.closeFrame(); - } + setTimeout(function(){ + var ret = Common.postJSON(url,JSON.stringify(param)); + if (ret.code == 0) { + parent.window.dataReload(); + parent.Lib.tableRefresh(); + Lib.closeFrame(); + } + },100); }); $("#addButton-cancel").click(function(){ diff --git a/web/src/main/resources/templates/jlw/teacherOpenCourseScheduleSessionTag/initSetCourseScheduleCondition.html b/web/src/main/resources/templates/jlw/teacherOpenCourseScheduleSessionTag/initSetCourseScheduleCondition.html new file mode 100644 index 00000000..566549bd --- /dev/null +++ b/web/src/main/resources/templates/jlw/teacherOpenCourseScheduleSessionTag/initSetCourseScheduleCondition.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Title</title> +</head> +<body> + +</body> +</html> \ No newline at end of file