|
@@ -71,7 +71,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
- {{ modalForm.teachClazzName }}
|
|
|
|
|
|
+ {{ modalForm.className }}
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<el-button
|
|
<el-button
|
|
@@ -242,7 +242,7 @@ const initModalForm = {
|
|
totalSubjects: 1,
|
|
totalSubjects: 1,
|
|
printHouseId: "",
|
|
printHouseId: "",
|
|
backupCount: null,
|
|
backupCount: null,
|
|
- teachClazzName: "",
|
|
|
|
|
|
+ className: "",
|
|
};
|
|
};
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -353,7 +353,7 @@ export default {
|
|
this.$message.error("请选择印刷室!");
|
|
this.$message.error("请选择印刷室!");
|
|
return Promise.reject();
|
|
return Promise.reject();
|
|
}
|
|
}
|
|
- if (!this.modalForm.teachClazzName) {
|
|
|
|
|
|
+ if (!this.modalForm.className) {
|
|
this.$message.error("请选择班级!");
|
|
this.$message.error("请选择班级!");
|
|
return Promise.reject();
|
|
return Promise.reject();
|
|
}
|
|
}
|
|
@@ -497,7 +497,7 @@ export default {
|
|
examStudentModified({ selectedStudents, isSelectStudent }) {
|
|
examStudentModified({ selectedStudents, isSelectStudent }) {
|
|
if (this.IS_MODEL2 || this.IS_REBUILD) {
|
|
if (this.IS_MODEL2 || this.IS_REBUILD) {
|
|
this.model2ClassList = selectedStudents.map((item) => item.label);
|
|
this.model2ClassList = selectedStudents.map((item) => item.label);
|
|
- this.modalForm.teachClazzName = this.model2ClassList.join();
|
|
|
|
|
|
+ this.modalForm.className = this.model2ClassList.join();
|
|
this.model2Students = selectedStudents
|
|
this.model2Students = selectedStudents
|
|
.map((item) => item.children)
|
|
.map((item) => item.children)
|
|
.flat()
|
|
.flat()
|