javascript
// View the role User 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 = "close"; // parse JSON // $. messager. alert ('Role owner user', JSON); // $ (". panel-body-noborder ").css (" overflow-y "," Auto ");}) $ (" # roleuserdlg "..css (" overflow-y "," Auto "); $ ('# roleuserdlg '). dialog ('open ');}
Html
<Div id = "roleuserdlg" class = "easyui-dialog" Title = "role owner" 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 = "role owner" 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 = "role owner" Closed = "true" data-Options = "iconcls: 'icon-blank ', modal: True "style =" width: 300px; Height: 400px; padding: 10px; display: none; "> </div>
// View the role User 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 = "close"; // parse JSON // $. messager. alert ('Role owner user', JSON); // $ (". panel-body-noborder ").css (" overflow-y "," Auto ");}) $ (" # roleuserdlg "..css (" overflow-y "," Auto "); $ ('# roleuserdlg '). dialog ('open ');}
// View the role user
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 = "close ";
/// Parse JSON
// $. Messager. Alert ('Role owner user', JSON );
// $ (". Panel-body-noborder" ).css ("overflow-y", "Auto ");
})
$ ("# Roleuserdlg" ).css ("overflow-y", "Auto ");
$ ('# Roleuserdlg'). Dialog ('open ');
}
// View the role user
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 = "close ";
/// Parse JSON
// $. Messager. Alert ('Role owner user', JSON );
// $ (". Panel-body-noborder" ).css ("overflow-y", "Auto ");
})
$ ("# Roleuserdlg" ).css ("overflow-y", "Auto ");
$ ('# Roleuserdlg'). Dialog ('open ');
}
// View the role user
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 = "close ";
/// Parse JSON
// $. Messager. Alert ('Role owner user', JSON );
// $ (". Panel-body-noborder" ).css ("overflow-y", "Auto ");
})
$ ("# Roleuserdlg" ).css ("overflow-y", "Auto ");
$ ('# Roleuserdlg'). Dialog ('open ');
}
// View the role user
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 = "close ";
/// Parse JSON
// $. Messager. Alert ('Role owner user', JSON );
// $ (". Panel-body-noborder" ).css ("overflow-y", "Auto ");
})
$ ("# Roleuserdlg" ).css ("overflow-y", "Auto ");
$ ('# Roleuserdlg'). Dialog ('open ');
}
// View the role user
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 = "close ";
/// Parse JSON
// $. Messager. Alert ('Role owner user', JSON );
// $ (". Panel-body-noborder" ).css ("overflow-y", "Auto ");
})
$ ("# Roleuserdlg" ).css ("overflow-y", "Auto ");
$ ('# Roleuserdlg'). Dialog ('open ');
}