Commit a0f751c7084b42cbc31b4050d960874ed4a6f2b8

Authored by 梁保满
1 parent 799818f7

学生查询条件

src/views/standard/setUp/student.vue
... ... @@ -55,6 +55,7 @@
55 55 @change="_QueryData(4)"
56 56 placeholder="学生状态"
57 57 >
  58 + <el-option disabled label="请选择" value=""></el-option>
58 59 <el-option label="正常" :value="0"></el-option>
59 60 <el-option label="未分配" :value="-1"></el-option>
60 61 <el-option label="已毕业" :value="2"></el-option>
... ... @@ -418,7 +419,7 @@ export default {
418 419 });
419 420 //导入成功
420 421 this.diaUp = false;
421   - this._QueryData(3);
  422 + this._QueryData(5);
422 423 },
423 424 //添加学生
424 425 addStu() {
... ... @@ -549,34 +550,34 @@ export default {
549 550 return;
550 551 }
551 552 this.query.classId = "";
552   - query.status = this.query.status;
553   - query.studentName = this.query.studentName;
  553 + this.query.status = "";
554 554 this.query.studentCode = "";
555 555 this.query.grade = "";
  556 + query.studentName = this.query.studentName;
556 557 } else if (type == 2) {
557 558 if (!this.query.studentCode) {
558 559 this.$message.warning("输入学生学号~");
559 560 return;
560 561 }
561 562 this.query.classId = "";
562   - query.status = this.query.status;
563   - query.studentCode = this.query.studentCode;
  563 + this.query.status = "";
564 564 this.query.studentName = "";
565 565 this.query.grade = "";
  566 + query.studentCode = this.query.studentCode;
566 567 } else if (type == 3) {
567 568 this.query.studentName = "";
568 569 this.query.studentCode = "";
569   - this.query.status = 0;
  570 + this.query.status = "";
570 571 query.grade = this.query.grade;
571 572 query.classId = this.query.classId;
572 573 } else if (type == 4) {
573 574 this.clazzDetail.stationSn = "";
  575 + this.query.studentName = "";
  576 + this.query.studentCode = "";
574 577 if (this.query.status) {
575 578 this.query.grade = "";
576 579 this.query.classId = "";
577 580 } else {
578   - this.query.studentName = "";
579   - this.query.studentCode = "";
580 581 this.query.grade = this.gradeList[0]?.value;
581 582 this.query.classId = this.classList[0]?.id;
582 583 query.grade = this.query.grade;
... ...