|
@@ -81,14 +81,13 @@ class ApplyService extends CrudService {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- // 重置教师
|
|
|
|
- l.teaid = null;
|
|
|
|
- l.teaname = null;
|
|
|
|
-
|
|
|
|
if (status && `${status}` === '1') {
|
|
if (status && `${status}` === '1') {
|
|
afterList.push(l);
|
|
afterList.push(l);
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
+ // 重置教师
|
|
|
|
+ l.teaid = null;
|
|
|
|
+ l.teaname = null;
|
|
const subject = subjectList.find(f => ObjectId(subid).equals(f._id));
|
|
const subject = subjectList.find(f => ObjectId(subid).equals(f._id));
|
|
if (subject.need_teacher !== '0') {
|
|
if (subject.need_teacher !== '0') {
|
|
afterList.push(l);
|
|
afterList.push(l);
|