mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
考试受众的推送
This commit is contained in:
@@ -861,34 +861,34 @@ export default {
|
|||||||
this.pushLoading=false;
|
this.pushLoading=false;
|
||||||
},
|
},
|
||||||
getUserGroup(){
|
getUserGroup(){
|
||||||
let params = {
|
// let params = {
|
||||||
status:'1',
|
// status:'1',
|
||||||
name:this.pushData.keyword,
|
// name:this.pushData.keyword,
|
||||||
pageIndex:this.pushData.pageIndex,
|
// pageIndex:this.pushData.pageIndex,
|
||||||
pageSize:this.pushData.pageSize
|
// pageSize:this.pushData.pageSize
|
||||||
}
|
|
||||||
usergroupApi.list(params).then((res) => {
|
|
||||||
if (res.status == 200) {
|
|
||||||
this.pushData.data = res.result.list;
|
|
||||||
this.pushData.count = res.result.count;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
//从接口中获取受众数据,22/11/28
|
|
||||||
// apiUserBasic.getUserCrowds().then(res=>{
|
|
||||||
// if(res.status==200){
|
|
||||||
// let list=[];
|
|
||||||
// res.result.forEach(crowd=>{
|
|
||||||
// list.push({
|
|
||||||
// id:crowd.id,
|
|
||||||
// kid:crowd.kid,
|
|
||||||
// name:crowd.audienceName,
|
|
||||||
// audienceType:crowd.audienceType,
|
|
||||||
// type:crowd.type
|
|
||||||
// })
|
|
||||||
// });
|
|
||||||
// this.pushData.data=list
|
|
||||||
// }
|
// }
|
||||||
// })
|
// usergroupApi.list(params).then((res) => {
|
||||||
|
// if (res.status == 200) {
|
||||||
|
// this.pushData.data = res.result.list;
|
||||||
|
// this.pushData.count = res.result.count;
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
//从接口中获取受众数据,22/11/28
|
||||||
|
apiUserBasic.getUserCrowds().then(res=>{
|
||||||
|
if(res.status==200){
|
||||||
|
let list=[];
|
||||||
|
res.result.forEach(crowd=>{
|
||||||
|
list.push({
|
||||||
|
id:crowd.id,
|
||||||
|
kid:crowd.kid,
|
||||||
|
name:crowd.audienceName,
|
||||||
|
audienceType:crowd.audienceType,
|
||||||
|
type:crowd.type
|
||||||
|
})
|
||||||
|
});
|
||||||
|
this.pushData.data=list
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
getFindPage(){// 考试推送记录
|
getFindPage(){// 考试推送记录
|
||||||
|
|||||||
Reference in New Issue
Block a user