|
@@ -112,7 +112,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-form>
|
|
|
- <auth auths="imLiveRoomPurview/addByCondition">
|
|
|
+ <auth auths="courseShare/saveCourseShareByOne">
|
|
|
<el-button @click="addAllStudent" type="primary" style="margin-bottom: 10px"
|
|
|
>一键添加</el-button
|
|
|
>
|
|
@@ -159,7 +159,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { addShareStudent, getWaitShareStudent, addByCondition } from "../api";
|
|
|
+import { addShareStudent, getWaitShareStudent, addShareStudentQuite } from "../api";
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
import { getGroupList } from "@/views/groupChatManager/api";
|
|
|
import { queryByOrganId } from "@/api/systemManage";
|
|
@@ -388,13 +388,13 @@ export default {
|
|
|
type: "warning",
|
|
|
});
|
|
|
|
|
|
- const res = await addByCondition({
|
|
|
+ const res = await addShareStudentQuite({
|
|
|
organIds: organIdList.join(","),
|
|
|
schoolIds: cooperationOrganId.join(","),
|
|
|
teamIds: musicGroupId.join(","),
|
|
|
groupIds: groupList.join(","),
|
|
|
...rest,
|
|
|
- roomUid: this.activeRow.roomUid,
|
|
|
+ courseId: this.activeRow.courseId,
|
|
|
});
|
|
|
this.$message.success("添加成功");
|
|
|
this.$emit("getList");
|