luohairen
2024-10-30 e0840398a505c912bd35c92cb1d0d6c40c35620c
src/views/class-management/ClassStaff.vue
@@ -5,7 +5,7 @@
      <div style="padding-bottom:20px">
        <span class="item">{{ this.$route.query.className }}</span>
        <el-button class="item" @click="handlerAddStudent" type="primary" size="small">新增学员</el-button>
        <el-button class="item" @click="open = true" type="primary" size="small">学员调整</el-button>
        <el-button class="item" @click="openManage" type="primary" size="small">学员调整</el-button>
      </div>
      <div>
        <el-form :inline="true" :model="searchForm" class="demo-form-inline">
@@ -220,6 +220,10 @@
    this.getStudentList()
  },
  methods: {
    openManage () {
      this.getClassesCurrentUserList(this.classes.id)
      this.open = true
    },
    handlerEditStudent (row) {
      this.studentForm = row
      this.studentTitle = '编辑学员'
@@ -238,7 +242,6 @@
            editClassesUser(this.studentForm).then(res => {
              this.addOpen = false
              this.$message.success(res.data.message)
              this.submitForm()
              this.page()
              this.resetStudentForm()
            })