|
|
|
@ -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 '<span class="' + css + '">' +text + '</span>'
|
|
|
|
|
return '<span class="' + css + '">' +d.teacherOpenCourseScheduleSessionStatusText + '</span>'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|