javascript
//查看角色所属用户
function roleuser(obj, id) {
var C_ID = id;
var Url = "/Sys/RoleUserName" + "/" + C_ID;
$.getJSON(Url,
function (json) {
$.each(json, function (i) {
$("#roledlg").append(json.Data)
$('#roledlg').dialog('open');
})
$("#roleuserdlg").empty();
$("#roleuserdlg").append(json);
// $.messager.defaults.ok = "关闭";
// // 解析json
// $.messager.alert('角色所属用户', json);
//$(".panel-body-noborder").css("overflow-y", "auto");
})
$("#roleuserdlg").css("overflow-y", "auto");
$('#roleuserdlg').dialog('open');
}
html
<div id="roleuserdlg" class="easyui-dialog" title="角色所属用户" closed="true" data-options="iconCls:'icon-blank', modal: true"
style="width: 300px; height: 400px; padding: 10px; display: none;">
</div>
<div id="roleuserdlg" class="easyui-dialog" title="角色所属用户" closed="true" data-options="iconCls:'icon-blank', modal: true"
style="width: 300px; height: 400px; padding: 10px; display: none;">
</div>
<div id="roleuserdlg" class="easyui-dialog" title="角色所属用户" closed="true" data-options="iconCls:'icon-blank', modal: true"
style="width: 300px; height: 400px; padding: 10px; display: none;">
</div>
//查看角色所属用户
function roleuser(obj, id) {
var C_ID = id;
var Url = "/Sys/RoleUserName" + "/" + C_ID;
$.getJSON(Url,
function (json) {
$.each(json, function (i) {
$("#roledlg").append(json.Data)
$('#roledlg').dialog('open');
})
$("#roleuserdlg").empty();
$("#roleuserdlg").append(json);
// $.messager.defaults.ok = "关闭";
// // 解析json
// $.messager.alert('角色所属用户', json);
//$(".panel-body-noborder").css("overflow-y", "auto");
})
$("#roleuserdlg").css("overflow-y", "auto");
$('#roleuserdlg').dialog('open');
}
//查看角色所属用户
function roleuser(obj, id) {
var C_ID = id;
var Url = "/Sys/RoleUserName" + "/" + C_ID;
$.getJSON(Url,
function (json) {
$.each(json, function (i) {
$("#roledlg").append(json.Data)
$('#roledlg').dialog('open');
})
$("#roleuserdlg").empty();
$("#roleuserdlg").append(json);
// $.messager.defaults.ok = "关闭";
// // 解析json
// $.messager.alert('角色所属用户', json);
//$(".panel-body-noborder").css("overflow-y", "auto");
})
$("#roleuserdlg").css("overflow-y", "auto");
$('#roleuserdlg').dialog('open');
}
//查看角色所属用户
function roleuser(obj, id) {
var C_ID = id;
var Url = "/Sys/RoleUserName" + "/" + C_ID;
$.getJSON(Url,
function (json) {
$.each(json, function (i) {
$("#roledlg").append(json.Data)
$('#roledlg').dialog('open');
})
$("#roleuserdlg").empty();
$("#roleuserdlg").append(json);
// $.messager.defaults.ok = "关闭";
// // 解析json
// $.messager.alert('角色所属用户', json);
//$(".panel-body-noborder").css("overflow-y", "auto");
})
$("#roleuserdlg").css("overflow-y", "auto");
$('#roleuserdlg').dialog('open');
}
//查看角色所属用户
function roleuser(obj, id) {
var C_ID = id;
var Url = "/Sys/RoleUserName" + "/" + C_ID;
$.getJSON(Url,
function (json) {
$.each(json, function (i) {
$("#roledlg").append(json.Data)
$('#roledlg').dialog('open');
})
$("#roleuserdlg").empty();
$("#roleuserdlg").append(json);
// $.messager.defaults.ok = "关闭";
// // 解析json
// $.messager.alert('角色所属用户', json);
//$(".panel-body-noborder").css("overflow-y", "auto");
})
$("#roleuserdlg").css("overflow-y", "auto");
$('#roleuserdlg').dialog('open');
}
//查看角色所属用户
function roleuser(obj, id) {
var C_ID = id;
var Url = "/Sys/RoleUserName" + "/" + C_ID;
$.getJSON(Url,
function (json) {
$.each(json, function (i) {
$("#roledlg").append(json.Data)
$('#roledlg').dialog('open');
})
$("#roleuserdlg").empty();
$("#roleuserdlg").append(json);
// $.messager.defaults.ok = "关闭";
// // 解析json
// $.messager.alert('角色所属用户', json);
//$(".panel-body-noborder").css("overflow-y", "auto");
})
$("#roleuserdlg").css("overflow-y", "auto");
$('#roleuserdlg').dialog('open');
}
//查看角色所属用户
function roleuser(obj, id) {
var C_ID = id;
var Url = "/Sys/RoleUserName" + "/" + C_ID;
$.getJSON(Url,
function (json) {
$.each(json, function (i) {
$("#roledlg").append(json.Data)
$('#roledlg').dialog('open');
})
$("#roleuserdlg").empty();
$("#roleuserdlg").append(json);
// $.messager.defaults.ok = "关闭";
// // 解析json
// $.messager.alert('角色所属用户', json);
//$(".panel-body-noborder").css("overflow-y", "auto");
})
$("#roleuserdlg").css("overflow-y", "auto");
$('#roleuserdlg').dialog('open');
}