Merge remote-tracking branch 'origin/master'
| | |
| | | this.addUserPower = addUserPower |
| | | }, |
| | | handleAdd() { |
| | | console.log(`output->this.addOb.fatherId`,this.addOb.fatherId) |
| | | console.log(`output->this.addOb.name`,this.addOb.name) |
| | | if (this.addOb.fatherId||this.addOb.name=='全部') { |
| | | this.addDia0 = true; |
| | | this.addDia = true; |
| | | } else { |
| | | this.$message.error('请选择一个架构层级') |
| | | } |
| | |
| | | return |
| | | } |
| | | this.$message.success('添加成功') |
| | | this.addDia0 = false |
| | | this.addDia = false |
| | | this.selectTreeList() |
| | | this.addLoad = false |
| | | this.addOb.name = '' |
| | | this.addOb.fatherId = '' |
| | | }).catch(e => { |
| | | this.addDia0 = false |
| | | this.addDia = false |
| | | this.addLoad = false |
| | | }) |
| | | }, |