| | |
| | | :option="treeOption" |
| | | @node-click="nodeClick"> |
| | | <span slot-scope="{ node, data }" class="el-tree-node__label"> |
| | | <span style="font-size: 15px"> |
| | | <span> |
| | | <i class="el-icon-s-promotion"></i> |
| | | {{ (node || {}).label }} |
| | | </span> |
| | |
| | | lastIndex: null, |
| | | selectList: [], |
| | | data: [], |
| | | option: { |
| | | option: { |
| | | ...basicOption, |
| | | addBtn: false, |
| | | height: 420, |
| | |
| | | this.dialog.loading = false; |
| | | this.dialog.showDialog = false; |
| | | this.$refs.tree.setCurrentKey(null); |
| | | this.$emit('cancelAction',null); |
| | | }, |
| | | submitDialog() { |
| | | if (this.selectList.length==0) { |
| | |
| | | this.$emit('updataAction', this.selectList[0]); |
| | | } |
| | | |
| | | this.cancelDialog(); |
| | | |
| | | this.dialog.loading = false; |
| | | this.dialog.showDialog = false; |
| | | this.$refs.tree.setCurrentKey(null); |
| | | }, |
| | | // 左侧树请求 |
| | | getTreeList(status) { |