| | |
| | | stopUser(params).then(res => { |
| | | this.$message.success(res.data.obj); |
| | | this.getTableList(); |
| | | }).catch(err => { |
| | | this.$message.error(err) |
| | | }) |
| | | }); |
| | | }, |
| | | |
| | | // 选择框 |
| | |
| | | listRoleByUserOid(userOid).then(res => { |
| | | this.rightRoleData = res.data.data.map(item => item.oid); |
| | | }) |
| | | }).catch(err => { |
| | | this.$message.error(err) |
| | | }) |
| | | }); |
| | | this.$refs.transfer.visible = true; |
| | | }, |
| | | |
| | |
| | | saveRights(params).then(res => { |
| | | this.$message.success(res.data.obj); |
| | | this.getTableList(); |
| | | }).catch(err => { |
| | | this.$message.error(err) |
| | | }) |
| | | }); |
| | | }, |
| | | |
| | | // 设置密码策略 |
| | |
| | | saveUserPasswordStrateg(params).then(res => { |
| | | this.pwdVisible = false; |
| | | this.$message.success(res.data.obj) |
| | | }).catch(err => { |
| | | this.$message.error(err) |
| | | }) |
| | | }); |
| | | }, |
| | | |
| | | // 新增 |
| | |
| | | children: this.departData |
| | | }] |
| | | this.option.column[7].defaultExpandedKeys = ['ALLDept']; |
| | | }).catch(err => { |
| | | this.$message.error(err); |
| | | }) |
| | | }); |
| | | }, |
| | | |
| | | // 分配部门数据转换 |