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:
@@ -606,32 +606,32 @@ export default {
|
|||||||
}),
|
}),
|
||||||
loadUserGroup(){
|
loadUserGroup(){
|
||||||
let $this=this;
|
let $this=this;
|
||||||
apiUserGroup.findByName('').then(rs=>{
|
// apiUserGroup.findByName('').then(rs=>{
|
||||||
if(rs.status==200){
|
// if(rs.status==200){
|
||||||
let crowdList=[];
|
// let crowdList=[];
|
||||||
rs.result.forEach(item=>{
|
// rs.result.forEach(item=>{
|
||||||
crowdList.push({
|
// crowdList.push({
|
||||||
id:item.key,
|
// id:item.key,
|
||||||
name:item.value,
|
// name:item.value,
|
||||||
disabled:false
|
|
||||||
})
|
|
||||||
})
|
|
||||||
this.userGroupList=crowdList;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
// apiUserBasic.getUserCrowds().then(rs=>{
|
|
||||||
// if(rs.status==200){
|
|
||||||
// let crowdList=[];
|
|
||||||
// rs.result.forEach(item=>{
|
|
||||||
// crowdList.push({
|
|
||||||
// id:item.kid,
|
|
||||||
// name:item.audienceName,
|
|
||||||
// disabled:false
|
// disabled:false
|
||||||
// })
|
// })
|
||||||
// });
|
// })
|
||||||
// this.userGroupList=crowdList;
|
// this.userGroupList=crowdList;
|
||||||
// }
|
// }
|
||||||
// })
|
// });
|
||||||
|
apiUserBasic.getUserCrowds().then(rs=>{
|
||||||
|
if(rs.status==200){
|
||||||
|
let crowdList=[];
|
||||||
|
rs.result.forEach(item=>{
|
||||||
|
crowdList.push({
|
||||||
|
id:item.kid,
|
||||||
|
name:item.audienceName,
|
||||||
|
disabled:false
|
||||||
|
})
|
||||||
|
});
|
||||||
|
this.userGroupList=crowdList;
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
resOwnerName(code) {
|
resOwnerName(code) {
|
||||||
if (code == '') {
|
if (code == '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user