|
@@ -46,6 +46,7 @@ class LessonService extends CrudService {
|
|
|
batchid: batch.id,
|
|
|
});
|
|
|
// 循环班级
|
|
|
+ const teachids = [];
|
|
|
for (const cla of _classs) {
|
|
|
// 取得课程模板信息
|
|
|
let lessonmode_ = _.find(_lessonmode, { type: cla.type });
|
|
@@ -63,7 +64,6 @@ class LessonService extends CrudService {
|
|
|
const newlesson = [];
|
|
|
for (const day of sedays) {
|
|
|
// 循环课程模板,将模板信息排入班级课程表中
|
|
|
- const teachids = [];
|
|
|
for (const lessm of lessons_) {
|
|
|
// 循环插入模板信息
|
|
|
if (lessm['day' + i] !== '--') {
|