diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/index.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/index.js index 9eba0878..aac6e497 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/index.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/index.js @@ -101,7 +101,7 @@ layui.define([ 'form', 'laydate', 'table' ,'laytpl'], function(exports) { } }, { - field : 'userId',title : '操作',align:"center",width:200, templet: function (d) { + field : 'userId',title : '操作',align:"center",width:200,fixed:'right', templet: function (d) { var htm = '编辑'; htm += '启用'; htm += '禁用'; @@ -185,7 +185,8 @@ layui.define([ 'form', 'laydate', 'table' ,'laytpl'], function(exports) { lookInfoDate(data); } else if (obj.event == "enable") { layer.confirm('是否确定启用该信息?', function (index) { - var ret = Common.postAjax("/jlw/teacherOpenCourseScheduleSession/edit.json", + + var ret = Common.postAjax("/jlw/teacherOpenCourseScheduleSession/editSession.json", {teacherOpenCourseScheduleSessionId: data.teacherOpenCourseScheduleSessionId,teacherOpenCourseScheduleSessionStatus:1}); layer.msg(ret.code == 0 ? "启用成功!" : ret.msg, { offset: ['50%'], @@ -199,7 +200,7 @@ layui.define([ 'form', 'laydate', 'table' ,'laytpl'], function(exports) { }); } else if (obj.event == "disable") { layer.confirm('是否确定禁用该信息?', function (index) { - var ret = Common.postAjax("/jlw/teacherOpenCourseScheduleSession/edit.json", + var ret = Common.postAjax("/jlw/teacherOpenCourseScheduleSession/editSession.json", {teacherOpenCourseScheduleSessionId: data.teacherOpenCourseScheduleSessionId,teacherOpenCourseScheduleSessionStatus:2}); layer.msg(ret.code == 0 ? "禁用成功!" : ret.msg, { offset: ['50%'], diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSessionTag/index.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSessionTag/index.js index 6134aab3..9e7fd711 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSessionTag/index.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSessionTag/index.js @@ -92,8 +92,7 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) { // } { field : 'operation_',title : '操作',align:"center", templet: function (d) { - var htm = ''; - htm += ''; + var htm = ''; return htm; } } diff --git a/web/src/main/resources/templates/jlw/teacherOpenCourseScheduleSession/add.html b/web/src/main/resources/templates/jlw/teacherOpenCourseScheduleSession/add.html index 2e9df4de..1eabf4a9 100644 --- a/web/src/main/resources/templates/jlw/teacherOpenCourseScheduleSession/add.html +++ b/web/src/main/resources/templates/jlw/teacherOpenCourseScheduleSession/add.html @@ -6,6 +6,18 @@ .layui-form-label { width: 100px; } + .layui-table-body, .layui-table-box, .layui-table-cell{ + overflow:visible; + } + + /*td .layui-form-select { + margin-top: -10px; + margin-left: -15px; + margin-right: -15px; + } + .layui-form-select dl { + text-align: left; + }*/
+