| | |
| | | font: '编辑', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | field: ['createUserName', 'updateUserName', 'roleName', '角色=roleId', '密码=password'] |
| | | field: ['roleName', '角色=roleId', '密码=password', |
| | | '姓名EN=nameEn','年龄=age','邮箱=email','单位=company','签名=pictureUrl','本人照=signatureUrl'] |
| | | }], |
| | | tagField: { |
| | | state: { |
| | |
| | | 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 |
| | | }) |
| | | }, |