| | |
| | | |
| | | </div> |
| | | <div class="dividing-line"></div> |
| | | <div style="padding: 10px;"> |
| | | <div style="padding: 10px;height: 70vh;margin-top: 10px; overflow: auto;"> |
| | | <el-form |
| | | :model="formInline" |
| | | class="demo-form-inline" |
| | |
| | | orderNum = this.getMaxOrderNum(pchildNodes); |
| | | lever = this.formInline.level; |
| | | } else { |
| | | id = 0; |
| | | orderNum = 1; |
| | | lever = 1; |
| | | let pchildNodes = this.$refs.tree.getNode(this.newNode.id).parent.childNodes |
| | | orderNum = this.getMaxOrderNum(pchildNodes); |
| | | lever = this.formInline.level; |
| | | id = this.formInline.pid; |
| | | } |
| | | } else if (res == 2) { |
| | | //新增子级 |