|
@@ -100,6 +100,7 @@ class TeaplanService extends CrudService {
|
|
|
}
|
|
|
// 遍历所有批次信息
|
|
|
// 将全年计划中的批次信息取出放在一个数组中
|
|
|
+ const teaListKfp = [];
|
|
|
for (const term of trainplan.termnum) {
|
|
|
for (const batch of term.batchnum) {
|
|
|
let teaListAll = [];
|
|
@@ -142,6 +143,7 @@ class TeaplanService extends CrudService {
|
|
|
if (deptinfo.dcount - index > 1) {
|
|
|
_class.headteacherid = _tea.id;
|
|
|
_.remove(teaListAll_, item => item.id === _tea.id);
|
|
|
+ _.remove(teaListAll, item => item.id === _tea.id);
|
|
|
index = index + 1;
|
|
|
break;
|
|
|
}
|