Commit 2abf89f91bced19215b6733b7530461f0f5198a4

Authored by 梁保满
1 parent a78f6672

未分配学生调班,使用分析

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