| | |
| | | <template> |
| | | <avue-tree ref="tree" v-loading="treeLoading" :data="treeData" :option="treeOption" @node-click="nodeClick"> |
| | | </avue-tree> |
| | | <div style="height: 720px"> |
| | | <avue-tree ref="tree" v-loading="treeLoading" :data="treeData" :option="treeOption" @node-click="nodeClick"> |
| | | </avue-tree> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | // console.log(this.sourceData); |
| | | console.log(this.dataStore); |
| | | // console.log(this.paramVOS); |
| | | console.log('create'); |
| | | }, |
| | | methods: {} |
| | | methods: { |
| | | nodeClick(row){ |
| | | console.log(row); |
| | | this.$emit("setDataStore", { |
| | | area: 'westAreaInDialog', |
| | | type: 'tree', |
| | | btmType:'workcontext', |
| | | dataStore:row |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |