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