xiangpei
2024-06-11 6c7e308453d1955506db6f24dd9b1e65caadfdaf
src/views/Manage/ClassManagement/ClassStaff.vue
@@ -168,7 +168,7 @@
      total: 0,
      studentList: [],
      searchForm: {
        realName: "",
        examName: "",
        pageSize: 10,
        pageNum: 1,
        classesId: null
@@ -255,7 +255,7 @@
        classesId: classesId
      }
      UserApi.getClassesCurrentUserList(param).then(res => {
        this.classes.studentList = res.data
        this.classes.studentList = res.data.map(item => item.id)
      })
    },
    getStudentList() {
@@ -280,6 +280,9 @@
      this.open = false
    },
    filterMethod(query, item) {
      if (! item.realName) {
        return null
      }
      return item.realName.indexOf(query) > -1;
    },
    // 返回上一个页面