diff --git a/src/views/standard/setUp/student.vue b/src/views/standard/setUp/student.vue index b2ae759..f38f97d 100644 --- a/src/views/standard/setUp/student.vue +++ b/src/views/standard/setUp/student.vue @@ -55,6 +55,7 @@ @change="_QueryData(4)" placeholder="学生状态" > + @@ -418,7 +419,7 @@ export default { }); //导入成功 this.diaUp = false; - this._QueryData(3); + this._QueryData(5); }, //添加学生 addStu() { @@ -549,34 +550,34 @@ export default { return; } this.query.classId = ""; - query.status = this.query.status; - query.studentName = this.query.studentName; + this.query.status = ""; this.query.studentCode = ""; this.query.grade = ""; + query.studentName = this.query.studentName; } else if (type == 2) { if (!this.query.studentCode) { this.$message.warning("输入学生学号~"); return; } this.query.classId = ""; - query.status = this.query.status; - query.studentCode = this.query.studentCode; + this.query.status = ""; this.query.studentName = ""; this.query.grade = ""; + query.studentCode = this.query.studentCode; } else if (type == 3) { this.query.studentName = ""; this.query.studentCode = ""; - this.query.status = 0; + this.query.status = ""; query.grade = this.query.grade; query.classId = this.query.classId; } else if (type == 4) { this.clazzDetail.stationSn = ""; + this.query.studentName = ""; + this.query.studentCode = ""; if (this.query.status) { this.query.grade = ""; this.query.classId = ""; } else { - this.query.studentName = ""; - this.query.studentCode = ""; this.query.grade = this.gradeList[0]?.value; this.query.classId = this.classList[0]?.id; query.grade = this.query.grade;