Commit 2abf89f91bced19215b6733b7530461f0f5198a4
1 parent
a78f6672
未分配学生调班,使用分析
Showing
2 changed files
with
3 additions
and
3 deletions
src/views/standard/analysis/index.vue
... | ... | @@ -328,7 +328,7 @@ export default { |
328 | 328 | query.params = this.query.secGraClaSub.map((item) => { |
329 | 329 | let jsons = {}; |
330 | 330 | jsons.section = item[0]; |
331 | - item.length > 1 ? (jsons.clazz = item[1]) : ""; | |
331 | + item.length > 1 ? (jsons.grade = item[1]) : ""; | |
332 | 332 | item.length > 2 ? (jsons.classId = item[2]) : ""; |
333 | 333 | item.length == 4 ? (jsons.subjectName = item[3]) : ""; |
334 | 334 | return jsons; | ... | ... |
src/views/standard/setUp/student.vue
... | ... | @@ -521,11 +521,11 @@ export default { |
521 | 521 | this.formStuCla.classId = ""; |
522 | 522 | this.formStuCla.studentId = obj.id; |
523 | 523 | this.formStuCla.className = |
524 | - obj.classList[0] && obj.classList[0]?.className; | |
524 | + obj.classList && obj.classList[0]?.className; | |
525 | 525 | this.formStuCla.studentName = obj.studentName; |
526 | 526 | this.formStuCla.studentCode = obj.studentCode; |
527 | 527 | this.formStuCla.oldClassId = |
528 | - obj.classList[0] && obj.classList[0]?.id; | |
528 | + obj.classList && obj.classList[0]?.id; | |
529 | 529 | this.diaChangeClass = true; |
530 | 530 | }, |
531 | 531 | //学生调班 | ... | ... |