diff --git a/src/components/workTree/index.vue b/src/components/workTree/index.vue index 49f16915d..dc1cc9c4d 100644 --- a/src/components/workTree/index.vue +++ b/src/components/workTree/index.vue @@ -16,14 +16,15 @@ - + - + 查询 - + { - this.treeData1 = res.data + this.treeData1 = res + this.treeData1.forEach(item => { + this.defaultKey.push(item.id) + }) this.treeLoading = false }) + + + + + // this.$http.get('SarInstitution/institution/institutionAndUser', { + // userName: this.filterText + // }, {}, res => { + // this.treeData1 = res.data + // this.treeData1.forEach(item => { + // this.defaultKey.push(item.id) + // }) + // console.log(1); + // this.getChildren() + // this.treeLoading = false + // }) } else { this.open1 = true } - }), + }, checkChange2 (row, type, c) { if (this.checkBox) { } else {