开课管理-去排课

beetlsql3-dev
姚丹ab 2 years ago
parent 70eb91890d
commit 7360fb5e7e

@ -391,17 +391,6 @@ layui.define(['form', 'laydate', 'table', 'xmSelect', 'teacherOpenCourseSchedule
$("#teacherOpenCourseName").val(data.teacherOpenCourseTitle);
$("#teacherId option[value='" + data.teacherId + "']").attr("selected","selected");
var xmSeValue = data.schoolClassIds;
var xmSeInitValue = [];
if (!$.isEmpty(xmSeValue)) {
if (xmSeValue.toString().indexOf(",") >= 0) {
xmSeValue.split(',').forEach(function (value) {
xmSeInitValue.push(parseInt(value))
});
} else {
xmSeInitValue.push(xmSeValue)
}
}
demo1.setValue(xmSeValue.split(","))//xmselect多选下拉 取值 回显
form.render();

Loading…
Cancel
Save