mo пре 3 година
родитељ
комит
3acc253914

+ 3 - 3
src/views/teamBuild/teamSeting/components/setImprovement.vue

@@ -96,11 +96,11 @@
                           :ref="scope.$index">
                 <p>确定删除该学生?</p>
                 <div style="text-align: right; margin-top: 20px">
-                  <el-button 
+                  <el-button
                              type="text"
                              @click="scope._self.$refs[scope.$index].doClose()">取消</el-button>
                   <el-button type="primary"
-                             
+
                              @click="removeStudent(scope)">确定</el-button>
                 </div>
                 <el-button type="text"
@@ -245,7 +245,7 @@ export default {
     addstudentBtn (row) {
       this.activeClass = row.id;
       let type = row.type;
-      getMusicGroupStuNoClassType({ musicGroupId: this.teamid, type }).then(res => {
+      getMusicGroupStuNoClassType({ musicGroupId: this.teamid, type, classGroupId:row.id}).then(res => {
         if (res.code == 200) {
           this.studentList = res.data;
           this.addStudentVisible = true;

+ 1 - 1
src/views/teamDetail/components/resetClass.vue

@@ -1305,7 +1305,7 @@ export default {
         }
       });
       this.activeSoundList = this.soundList;
-      this.getNoClassStudent(row.type); // 基础技能班能获取所有
+      this.getNoClassStudent(row.type,'',row.id); // 基础技能班能获取所有
       // if (this.activeType == "HIGH" || this.activeType == "HIGH_ONLINE") {
       //   this.getNoClassStudent(row.type, row.memo);
       //   let arr = row.memo.split(",");