订阅领域管理
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)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
title: '英文名称',
|
||||
align: "center",
|
||||
width: 100,
|
||||
dataIndex: 'itemValue',
|
||||
dataIndex: 'enName',
|
||||
},
|
||||
{
|
||||
title: '描述',
|
||||
|
||||
Reference in New Issue
Block a user