From 7b6f73d5e67ce3319324a8f91c5c125afe5c61bd Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Tue, 10 May 2022 18:06:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=BA=E5=91=98=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/department/user/list.html | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) 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);