diff --git a/web/src/main/java/com/ibeetl/jlw/entity/TeacherOpenCourseScheduleSession.java b/web/src/main/java/com/ibeetl/jlw/entity/TeacherOpenCourseScheduleSession.java index beef4ed3..8076b1ba 100644 --- a/web/src/main/java/com/ibeetl/jlw/entity/TeacherOpenCourseScheduleSession.java +++ b/web/src/main/java/com/ibeetl/jlw/entity/TeacherOpenCourseScheduleSession.java @@ -42,7 +42,7 @@ public class TeacherOpenCourseScheduleSession extends BaseEntity{ private Date teacherOpenCourseScheduleSessionAddTime ; //状态(1正常 2删除) - @Dict(type="global_status") + @Dict(type="global_open_status") private Integer teacherOpenCourseScheduleSessionStatus ; 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 806c8b10..9eba0878 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/index.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/index.js @@ -70,9 +70,9 @@ layui.define([ 'form', 'laydate', 'table' ,'laytpl'], function(exports) { align: "center", hideField: false, hide: $.isEmpty(sx_['teacherOpenCourseScheduleSessionWeekNum']) ? false : sx_['teacherOpenCourseScheduleSessionWeekNum'], - templet:function (d) { - return d.teacherOpenCourseScheduleSessionWeekNum + "周" - } + // templet:function (d) { + // return d.teacherOpenCourseScheduleSessionWeekNum + "周" + // } }, { field: 'sessionClassListText', @@ -97,8 +97,7 @@ layui.define([ 'form', 'laydate', 'table' ,'laytpl'], function(exports) { hide: $.isEmpty(sx_['teacherOpenCourseScheduleSessionStatusText']) ? false : sx_['teacherOpenCourseScheduleSessionStatusText'], templet:function (d) { var css = d.teacherOpenCourseScheduleSessionStatus == 2 ? "textType2" : 'textType'; - var text = d.teacherOpenCourseScheduleSessionStatus == 2 ? '禁用':'已启用' - return '' +text + '' + return '' +d.teacherOpenCourseScheduleSessionStatusText + '' } }, {