diff --git a/src/components/OrgTree/Index.vue b/src/components/OrgTree/Index.vue index 496a569..70feb80 100644 --- a/src/components/OrgTree/Index.vue +++ b/src/components/OrgTree/Index.vue @@ -114,8 +114,8 @@ export default { methods: { // 点击组织机构数节点时调用 selectTree(selectedKeys, e) { - this.selectKey = e.node.eventKey; - this.selectTitle = e.node.title; + this.selectKey = e.node.dataRef.key; + this.selectTitle = e.node.dataRef.title; this.$emit('getSelectTreeKey', this.selectKey); }, // 展开/收起节点时触发 diff --git a/src/components/SearchCom/index.vue b/src/components/SearchCom/index.vue index 044bc94..3393d9e 100644 --- a/src/components/SearchCom/index.vue +++ b/src/components/SearchCom/index.vue @@ -2,9 +2,9 @@ - + - + @@ -17,13 +17,7 @@ - + @@ -31,12 +25,20 @@ 查询 重置 + + + + + +