Explorar el Código

学生人数列表学期筛选优化

WINDOWS-7IFQK7E\EDY hace 1 año
padre
commit
bd29a0157b
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 1 0
      src/stores/user.js
  2. 4 1
      src/views/xsxjk/xsrstjlb/index.vue

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 0
src/stores/user.js


+ 4 - 1
src/views/xsxjk/xsrstjlb/index.vue

@@ -312,11 +312,14 @@ export default {
           this.teamList.map((item) => {
             if (item.team_current_option_k == "1") {
               this.team_id = item.team_id;
+              if (this.firstForm.team == "") {
+                this.firstForm.team = this.team_id;
+              }
               let data = {
                 page: this.cur_page,
                 limit: this.limit,
                 keyword: this.keyword,
-                team_id: this.team_id,
+                team_id: this.firstForm.team,
                 grade_id: this.firstForm.grade,
                 num: this.num,
               };