订阅领域管理

This commit is contained in:
caoyang
2022-03-03 13:52:31 +08:00
parent 27bb674df1
commit f57164dbe3
2 changed files with 11 additions and 3 deletions
@@ -106,14 +106,22 @@
if(res.success){
let data=res.result
this.treeData=this.addAttr(data)
console.log('treeData',this.treeData)
}
})
},
//获取用户的订阅
getSubscribtion(){
getAction(`domain/domainUserRel/queryList`,{}).then(res=> {
postAction(`domain/domainUserRel/queryList`,{}).then(res=> {
if(res.success){
let ids=[]
let data=res.result
data.forEach(res=>{
ids.push(res.domainId)
})
this.checkedKeys=[...ids]
// this.selectedKeys=this.checkedKeys
console.log('checkKeys',this.checkedKeys)
}
})
},