|
@@ -471,7 +471,7 @@ export default {
|
|
|
let ids = [];
|
|
|
this.tableData.forEach(item => {
|
|
|
item.examTaskStudentObjectParamList.forEach(elem => {
|
|
|
- ids.push(elem.studentId);
|
|
|
+ ids.push(elem.id);
|
|
|
});
|
|
|
});
|
|
|
return ids;
|
|
@@ -525,12 +525,15 @@ export default {
|
|
|
item => item.classId !== row.classId
|
|
|
);
|
|
|
this.updatePackageInfos();
|
|
|
+ if (!this.tableData.length) {
|
|
|
+ this.$refs.ModifyExamStudent.clearSelectedExamObjectType();
|
|
|
+ }
|
|
|
},
|
|
|
toViewStudent(row) {
|
|
|
// console.log(row);
|
|
|
this.examStudentList = row.examTaskStudentObjectParamList.map(item => {
|
|
|
return {
|
|
|
- id: item.studentId,
|
|
|
+ id: item.id,
|
|
|
studentName: item.studentName,
|
|
|
studentCode: item.studentCode,
|
|
|
className: item.basicClazzName
|
|
@@ -554,7 +557,8 @@ export default {
|
|
|
elem.studentInfoList.forEach(std => {
|
|
|
examTaskStudentObjectParamList.push({
|
|
|
...std,
|
|
|
- studentClazzType: elem.studentClazzType
|
|
|
+ studentClazzType: elem.studentClazzType,
|
|
|
+ id: `${elem.clazzId}_${std.studentId}`
|
|
|
});
|
|
|
});
|
|
|
});
|