|
|
@ -57,6 +57,7 @@ layui.define(['form', 'laydate', 'table', 'teachingManagementApi', 'table', 'xmS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (var i in schoolClassInfo){
|
|
|
|
for (var i in schoolClassInfo){
|
|
|
|
if ($.isEmpty(tableListMap[schoolClassInfo[i].classId])){
|
|
|
|
if ($.isEmpty(tableListMap[schoolClassInfo[i].classId])){
|
|
|
|
|
|
|
|
schoolClassInfo[i].schoolClassInfo = schoolClassInfo[i].classId;
|
|
|
|
tableListMap[schoolClassInfo[i].classId] = schoolClassInfo[i]; //写入map
|
|
|
|
tableListMap[schoolClassInfo[i].classId] = schoolClassInfo[i]; //写入map
|
|
|
|
delete delMap[schoolClassInfo[i].classId];
|
|
|
|
delete delMap[schoolClassInfo[i].classId];
|
|
|
|
tableList.push({
|
|
|
|
tableList.push({
|
|
|
@ -133,6 +134,7 @@ layui.define(['form', 'laydate', 'table', 'teachingManagementApi', 'table', 'xmS
|
|
|
|
var teacherInfoName = $('#teacherInfo').find('option:selected').text();//获取当前多选选中的值
|
|
|
|
var teacherInfoName = $('#teacherInfo').find('option:selected').text();//获取当前多选选中的值
|
|
|
|
for (var i in schoolClassInfo){
|
|
|
|
for (var i in schoolClassInfo){
|
|
|
|
if ($.isEmpty(tableListMap[schoolClassInfo[i].classId])){
|
|
|
|
if ($.isEmpty(tableListMap[schoolClassInfo[i].classId])){
|
|
|
|
|
|
|
|
schoolClassInfo[i].schoolClassInfo = schoolClassInfo[i].classId;
|
|
|
|
tableListMap[schoolClassInfo[i].classId] = schoolClassInfo[i]; //写入map
|
|
|
|
tableListMap[schoolClassInfo[i].classId] = schoolClassInfo[i]; //写入map
|
|
|
|
tableList.push({
|
|
|
|
tableList.push({
|
|
|
|
teacherName:teacherInfoName,//教师名称
|
|
|
|
teacherName:teacherInfoName,//教师名称
|
|
|
|