资料中心-左侧树状结构关联右侧数据

This commit is contained in:
zyn
2022-12-29 11:52:54 +08:00
parent 46231403fd
commit 7bc7169bd1
@@ -603,9 +603,10 @@ export default {
this.treeList = list1
}
},
treeClick(treeNode) {
treeClick(treeNode,a,b) {
this.selectSarMenu = treeNode
this.dataCenterSearch.treeId = treeNode.id === '1' ? '' : treeNode.id
this.dataCenterSearch.dataType = treeNode.name
this.attributeEO.treeId = treeNode.id === '1' ? '' : treeNode.id
this.attributeEO.treeName = treeNode.name
this.searchInfo()
@@ -884,9 +885,9 @@ export default {
this.loading = false
return
}
if(this.dataCenterSearch.treeId){
delete this.dataCenterSearch.treeId
}
// if(this.dataCenterSearch.treeId){
// delete this.dataCenterSearch.treeId
// }
this.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, {
_this: this
}, res => {