/**显示成功的窗口*/
function showSuccessWindow( successMessageContent, failuredMessageContent ) {
var dialog = $( "#showSuccessDialog" );
var show = dialog.val();
if ( show != ‘0‘ && show != ‘2‘ ) {
showText(‘提示信息‘, successMessageContent,400,200,1,true);
$("#dialogbg,#dialog").fadeOut(5000,function(){
$(this).remove();
dialog.val( ‘2‘ );
$("select").css({visibility:"visible"});
$("#dialog select").css({visibility:"visible"});
});
}
if ( show != ‘1‘ && show != ‘2‘ ) {
showText(‘提示信息‘, failuredMessageContent,400,200,0,true);
$("#dialogbg,#dialog").fadeOut(5000,function(){
dialog.val( ‘2‘ );
$(this).remove();
$("select").css({visibility:"visible"});
$("#dialog select").css({visibility:"visible"});
});
}
}
/**显示成功的窗口*/
function showSuccessWindowLogin( successMessageContent, failuredMessageContent ) {
var dialog = $( "#showSuccessDialog" );
var show = dialog.val();
if(typeof show != "undefined" && show.length != 0){
if ( show != ‘0‘ && show != ‘2‘ ) {
showText(‘提示信息‘, successMessageContent,400,200,2,true);
$("#dialogbg,#dialog").fadeOut(3000,function(){dialog.val( ‘2‘ );$(this).remove();});
}
if ( show != ‘1‘ && show != ‘2‘ ) {
showText(‘提示信息‘, failuredMessageContent,400,200,0,true);
$("#dialogbg,#dialog").fadeOut(3000,function(){dialog.val( ‘2‘ );$(this).remove();});
}
}
}
/**显示失败的窗口*/
function showFailuredWindow( failuredMessageContent ) {
var dialog = $( "#showSuccessDialog" );
var show = dialog.val();
if ( show != ‘1‘ && show != ‘2‘ ) {
showText(‘提示信息‘, failuredMessageContent,400,200,0,true);
$("#dialogbg,#dialog").fadeOut(8000,function(){dialog.val( ‘2‘ );$(this).remove();});
}
}
/**对>解码成>,然后在用encodeURI进行统一编码。*/
function decode( str ) {
if ( str == null ) {
return null;
}
/**弹出日志详情的对话框*/
function showLogDetailDialog( link, messageTip ) {
var id = link.id;
link.href = "###";
var table = document.getElementById( "logList" ).rows[ id ];
var operateDate = table.cells[0].innerHTML.trim();
var operator = table.cells[1].innerHTML.trim();
var operateModule = table.cells[2].innerHTML.trim();
var operateObject = table.cells[3].innerHTML.trim();
var ipAddr = table.cells[6].innerHTML.trim();
var operateType = table.cells[7].innerHTML.trim();
var operateResult = table.cells[8].innerHTML.trim();
var operateDesc = table.cells[9].innerHTML.trim();
var logId = table.cells[10].innerHTML.trim();
var buffer = new StringBuffer();
buffer.append( "logBean.logId=" );
buffer.append( logId );
buffer.append( "&noPrivilegeOnlyText=true" );
buffer.append( "&errorPageWindow=true" );