diff --git a/service-department/src/main/resources/templates/department/user/list.html b/service-department/src/main/resources/templates/department/user/list.html index ed63b01e..79106203 100644 --- a/service-department/src/main/resources/templates/department/user/list.html +++ b/service-department/src/main/resources/templates/department/user/list.html @@ -200,30 +200,30 @@ var checkStatus = table.checkStatus('dataTable'); var checkDatas = checkStatus.data; if(layEvent === 'saveEvent') { - // top.dialog.open({ - // url: top.restAjax.path('route/department/user/save-exclude?departmentId={departmentId}', [departmentId]), - // title: '添加部门用户', - // width: '800px', - // height: '500px', - // closeBtn: 1, - // onClose: function() { - // reloadTable(); - // } - // }); - top.dialog.dialogData.selectedUserIdArray = ['e48e9c4a-995e-4061-abcd-a3c260c11333'] top.dialog.open({ - url: top.restAjax.path('route/department/user/select-user-v2?departmentId={departmentId}&selectType=radio', [departmentId]), + url: top.restAjax.path('route/department/user/save-exclude?departmentId={departmentId}', [departmentId]), title: '添加部门用户', - width: '500px', + width: '800px', height: '500px', closeBtn: 1, onClose: function() { - var selectedUserArray = top.dialog.dialogData.selectedUserArray; - if(selectedUserArray) { - - } + reloadTable(); } }); + // top.dialog.dialogData.selectedUserIdArray = ['e48e9c4a-995e-4061-abcd-a3c260c11333'] + // top.dialog.open({ + // url: top.restAjax.path('route/department/user/select-user-v2?departmentId={departmentId}&selectType=radio', [departmentId]), + // title: '添加部门用户', + // width: '500px', + // height: '500px', + // closeBtn: 1, + // onClose: function() { + // var selectedUserArray = top.dialog.dialogData.selectedUserArray; + // if(selectedUserArray) { + // + // } + // } + // }); } else if(layEvent === 'removeEvent') { if(checkDatas.length === 0) { top.dialog.msg(top.dataMessage.table.selectDelete);