资料中心-左侧树状结构关联右侧数据
This commit is contained in:
@@ -603,9 +603,10 @@ export default {
|
|||||||
this.treeList = list1
|
this.treeList = list1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
treeClick(treeNode) {
|
treeClick(treeNode,a,b) {
|
||||||
this.selectSarMenu = treeNode
|
this.selectSarMenu = treeNode
|
||||||
this.dataCenterSearch.treeId = treeNode.id === '1' ? '' : treeNode.id
|
this.dataCenterSearch.treeId = treeNode.id === '1' ? '' : treeNode.id
|
||||||
|
this.dataCenterSearch.dataType = treeNode.name
|
||||||
this.attributeEO.treeId = treeNode.id === '1' ? '' : treeNode.id
|
this.attributeEO.treeId = treeNode.id === '1' ? '' : treeNode.id
|
||||||
this.attributeEO.treeName = treeNode.name
|
this.attributeEO.treeName = treeNode.name
|
||||||
this.searchInfo()
|
this.searchInfo()
|
||||||
@@ -884,9 +885,9 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(this.dataCenterSearch.treeId){
|
// if(this.dataCenterSearch.treeId){
|
||||||
delete this.dataCenterSearch.treeId
|
// delete this.dataCenterSearch.treeId
|
||||||
}
|
// }
|
||||||
this.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, {
|
this.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user