调整人员选择

This commit is contained in:
wanggeng 2022-05-10 18:06:25 +08:00
parent 6a50ad627f
commit 7b6f73d5e6

View File

@ -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);