调整人员选择
This commit is contained in:
parent
6a50ad627f
commit
7b6f73d5e6
@ -200,30 +200,30 @@
|
|||||||
var checkStatus = table.checkStatus('dataTable');
|
var checkStatus = table.checkStatus('dataTable');
|
||||||
var checkDatas = checkStatus.data;
|
var checkDatas = checkStatus.data;
|
||||||
if(layEvent === 'saveEvent') {
|
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({
|
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: '添加部门用户',
|
title: '添加部门用户',
|
||||||
width: '500px',
|
width: '800px',
|
||||||
height: '500px',
|
height: '500px',
|
||||||
closeBtn: 1,
|
closeBtn: 1,
|
||||||
onClose: function() {
|
onClose: function() {
|
||||||
var selectedUserArray = top.dialog.dialogData.selectedUserArray;
|
reloadTable();
|
||||||
if(selectedUserArray) {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
// 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') {
|
} else if(layEvent === 'removeEvent') {
|
||||||
if(checkDatas.length === 0) {
|
if(checkDatas.length === 0) {
|
||||||
top.dialog.msg(top.dataMessage.table.selectDelete);
|
top.dialog.msg(top.dataMessage.table.selectDelete);
|
||||||
|
Loading…
Reference in New Issue
Block a user