瀏覽代碼

直播课只搜索进行中的乐团

1
mo 2 年之前
父節點
當前提交
3381c54803

+ 6 - 4
src/views/liveClassManager/liveClassTwo/components/addShareStudentList.vue

@@ -438,11 +438,13 @@ export default {
             }
           });
 
-          await getTeamList({ organId, page: 1, rows: 9999 }).then((res) => {
-            if (res.code == 200) {
-              this.teamList = res.data.rows;
+          await getTeamList({ organId, page: 1, rows: 9999, status: "PROGRESS" }).then(
+            (res) => {
+              if (res.code == 200) {
+                this.teamList = res.data.rows;
+              }
             }
-          });
+          );
         } catch (e) {
           console.log(e);
         }

+ 7 - 4
src/views/liveClassManager/modals/addShareStudentModel.vue

@@ -346,6 +346,7 @@ export default {
     async onBranchChange(val) {
       // this.searchForm.cooperationOrganId = [];
       this.$set(this.searchForm, "cooperationOrganId", []);
+      this.$set(this.searchForm, "musicGroupId", []);
       if (val && val.length > 0) {
         let organId = val.join(",");
         try {
@@ -355,11 +356,13 @@ export default {
             }
           });
 
-          await getTeamList({ organId, page: 1, rows: 9999 }).then((res) => {
-            if (res.code == 200) {
-              this.teamList = res.data.rows;
+          await getTeamList({ organId, page: 1, rows: 9999, status: "PROGRESS" }).then(
+            (res) => {
+              if (res.code == 200) {
+                this.teamList = res.data.rows;
+              }
             }
-          });
+          );
         } catch (e) {
           console.log(e);
         }