解决用户修改保存所属机构内容丢失的问题

This commit is contained in:
zhouyuejun
2019-04-17 10:32:36 +08:00
parent 7cddbc3c2e
commit 4d63578b73
3 changed files with 42 additions and 39 deletions
@@ -33,7 +33,9 @@ export class UserManagementComponent implements OnInit {
orgId:'',
}
visible = false;
userDetail:any={}; //用户详情
userDetail:any={}; //用户详情
currentUserInfo = JSON.parse(sessionStorage.getItem('userInfo'));
constructor(
@@ -43,6 +45,8 @@ export class UserManagementComponent implements OnInit {
) { }
ngOnInit() {
// this.currentUserInfo = JSON.parse(sessionStorage.getItem('userInfo'));
// console.log(sessionStorage.getItem('userInfo'));
// 页面监听 动态改变表单高度
$('#tree-box').css('height',(document.documentElement.clientHeight-106+'px'));
$('#main-box-user').css('height',(document.documentElement.clientHeight-106+'px'));