订阅领域管理
This commit is contained in:
@@ -106,14 +106,22 @@
|
|||||||
if(res.success){
|
if(res.success){
|
||||||
let data=res.result
|
let data=res.result
|
||||||
this.treeData=this.addAttr(data)
|
this.treeData=this.addAttr(data)
|
||||||
|
console.log('treeData',this.treeData)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//获取用户的订阅
|
//获取用户的订阅
|
||||||
getSubscribtion(){
|
getSubscribtion(){
|
||||||
getAction(`domain/domainUserRel/queryList`,{}).then(res=> {
|
postAction(`domain/domainUserRel/queryList`,{}).then(res=> {
|
||||||
if(res.success){
|
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: '英文名称',
|
title: '英文名称',
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
dataIndex: 'itemValue',
|
dataIndex: 'enName',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '描述',
|
title: '描述',
|
||||||
|
|||||||
Reference in New Issue
Block a user