订阅领域管理
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user