|
@@ -239,14 +239,15 @@
|
|
|
this.employee = response.data.employee;
|
|
|
this.scheduleSheet = response.data.scheduleSheet;
|
|
|
this.studentList = response.data.studentList;
|
|
|
+ this.rollCallList = this.studentList;
|
|
|
this.stopStudentList = response.data.stopStudentList;
|
|
|
- for (var n = 0; n < this.stopStudentList.length; m++) {
|
|
|
- if(this.stopStudentList[m].rollCallResult == null) {
|
|
|
- this.stopStudentList[m].rollCallResult = '5';
|
|
|
+
|
|
|
+ for (var n = 0; n < this.stopStudentList.length; n++) {
|
|
|
+ if(this.stopStudentList[n].rollCallResult == null) {
|
|
|
+ this.stopStudentList[n].rollCallResult = '5';
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- this.rollCallList = this.studentList;
|
|
|
this.list[0].name = '正常' + this.studentList.length;
|
|
|
this.list[1].name = '停课' + this.stopStudentList.length;
|
|
|
|