mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-21 00:36:44 +08:00
fix: 更新AUDIENCE_LIST API路径并调整AudienceModal中的成员ID参数
This commit is contained in:
@@ -5,7 +5,7 @@ export const USER_LIST_PAGE = "/manageApi/admin/thirdApi/user/list";
|
||||
export const ORG_LIST = "/manageApi/admin/thirdApi/org/list";
|
||||
export const ORG_CHILD_LIST = "/manageApi/admin/thirdApi/org/info";
|
||||
// 查询受众中的用户列表
|
||||
export const AUDIENCE_LIST = "/userbasic/audience/memberList";
|
||||
export const AUDIENCE_LIST = "/systemapi/xboe/school/study/signup/audience/memberList";
|
||||
|
||||
export const USER_AUDIENCES = "/manageApi/admin/thirdApi/audience/userAudiences";
|
||||
export const fetchUserAudiences = (params) =>
|
||||
|
||||
@@ -125,13 +125,14 @@ export default {
|
||||
this.loading = true;
|
||||
fetchAudienceList({
|
||||
// memberList 为多选成员 ID 列表
|
||||
memberList: this.memberSelected || [],
|
||||
memberIdList: this.memberSelected || [],
|
||||
courseId: this.courseDetail?.id || '',
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
audienceIdList: this.audienceIds || [],
|
||||
})
|
||||
.then((res) => {
|
||||
const data = res.data || res.result || res || {};
|
||||
const data = res.result || res || {};
|
||||
this.tableData = data.list || [];
|
||||
this.total = data.total || 0;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user