修改选择人员窗口关闭后选项消失问题
This commit is contained in:
parent
6777bf2a01
commit
b3c1b2bf65
@ -52,7 +52,6 @@
|
||||
var selectDepartmentUserArray = [];
|
||||
|
||||
function closeBox() {
|
||||
top.dialog.dialogData.selectedDepartmentUsers = selectDepartmentUserArray;
|
||||
top.dialog.dialogData.selectedUsers = null;
|
||||
top.dialog.closeBox();
|
||||
}
|
||||
@ -74,7 +73,6 @@
|
||||
var initTimeout = null;
|
||||
var isInited = false;
|
||||
function initCheckData(zTree) {
|
||||
top.dialog.dialogData.selectedDepartmentUsers = [];
|
||||
if(isInited) {
|
||||
return;
|
||||
}
|
||||
@ -172,6 +170,7 @@
|
||||
$('#selectUsers').append('<span id="selected_user_'+ item.id +'" class="layui-btn layui-btn-xs">'+ item.title +' </span>');
|
||||
}
|
||||
}
|
||||
top.dialog.dialogData.selectedDepartmentUsers = selectDepartmentUserArray;
|
||||
}
|
||||
$('.confirm').on('click', function() {
|
||||
closeBox();
|
||||
|
Loading…
Reference in New Issue
Block a user