From 2abf89f91bced19215b6733b7530461f0f5198a4 Mon Sep 17 00:00:00 2001 From: 梁保满 Date: Wed, 7 Jun 2023 15:06:34 +0800 Subject: [PATCH] 未分配学生调班,使用分析 --- src/views/standard/analysis/index.vue | 2 +- src/views/standard/setUp/student.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/standard/analysis/index.vue b/src/views/standard/analysis/index.vue index 3ed8e1b..74239c1 100644 --- a/src/views/standard/analysis/index.vue +++ b/src/views/standard/analysis/index.vue @@ -328,7 +328,7 @@ export default { query.params = this.query.secGraClaSub.map((item) => { let jsons = {}; jsons.section = item[0]; - item.length > 1 ? (jsons.clazz = item[1]) : ""; + item.length > 1 ? (jsons.grade = item[1]) : ""; item.length > 2 ? (jsons.classId = item[2]) : ""; item.length == 4 ? (jsons.subjectName = item[3]) : ""; return jsons; diff --git a/src/views/standard/setUp/student.vue b/src/views/standard/setUp/student.vue index 16e4fb8..98a253e 100644 --- a/src/views/standard/setUp/student.vue +++ b/src/views/standard/setUp/student.vue @@ -521,11 +521,11 @@ export default { this.formStuCla.classId = ""; this.formStuCla.studentId = obj.id; this.formStuCla.className = - obj.classList[0] && obj.classList[0]?.className; + obj.classList && obj.classList[0]?.className; this.formStuCla.studentName = obj.studentName; this.formStuCla.studentCode = obj.studentCode; this.formStuCla.oldClassId = - obj.classList[0] && obj.classList[0]?.id; + obj.classList && obj.classList[0]?.id; this.diaChangeClass = true; }, //学生调班 -- libgit2 0.21.4