diff --git a/src/views/exam/ExamList.vue b/src/views/exam/ExamList.vue index d4c0a35e..5239165b 100644 --- a/src/views/exam/ExamList.vue +++ b/src/views/exam/ExamList.vue @@ -861,34 +861,34 @@ export default { this.pushLoading=false; }, getUserGroup(){ - let params = { - status:'1', - name:this.pushData.keyword, - pageIndex:this.pushData.pageIndex, - 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; - } - }); + // let params = { + // status:'1', + // name:this.pushData.keyword, + // pageIndex:this.pushData.pageIndex, + // 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 - // } - // }) + 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(){// 考试推送记录