```
<template>
<sohelp-tree
ref='orgTree'
namespace="pb_org.query"
@select ="onSelectOrgTree"
:mappingFields="mappingFields"
/>
<sohelp-tree
ref='orgTree'
url="/org/page"
:mappingFields="mappingFields"
/>
</template>
<script>
import {sohelpTree} from 'sohelp-ele';
export default {
data() {
return {
mappingFields: {
parent\_id: 'parent\_id',
'key': 'id',
'title': 'org\_name',
'value': 'id'
},
}
},
methods:{
onSelectOrgTree(value){
console.log(value)
}
}
}
</script>
```