$(function(){setCurPageGirdList();var a=[{key:"libcode",condition:"code",value:common_init_libcode},{key:"operid",condition:"libcode",value:common_init_libcode}];commonSetParaInit(null,"record",null,a);initLogTypeBySysType()});function initLogTypeBySysType(){var d={key:"logtype"};var a=getValue("systype");var b=1000*parseInt(a);var e=1000*parseInt(a)+999;var c=base_path+"par/common/getInitData.do";$.post(c,d,function(k){var h=[];var j=k.rows;for(var g=0;g0){e["limit["+b+"].condition"]="logdate";e["limit["+b+"].typeHandler"]="7";e["limit["+b+"].value"]=getValue("cirlogbegdate").replace(new RegExp("-","g"),"");b++}if(getValue("cirlogenddate").length>0){e["limit["+b+"].condition"]="logdate";e["limit["+b+"].typeHandler"]="5";e["limit["+b+"].value"]=getValue("cirlogenddate").replace(new RegExp("-","g"),"");b++}e["limit["+b+"].condition"]="logtype";e["limit["+b+"].typeHandler"]="1";if(getValue("logtype").length==0){e["limit["+b+"].value"]=getValue("systype")}else{e["limit["+b+"].value"]=getValue("logtype")}b++;if(getValue("operid").length>0){e["limit["+b+"].condition"]="operid";e["limit["+b+"].typeHandler"]="1";e["limit["+b+"].value"]=getValue("operid");b++}var c=getValue("libcode");var a=mystorage.get("lowerlibcode");if(c.length==0){e["limit["+b+"].condition"]="libcode";e["limit["+b+"].typeHandler"]="3";if(d){var a=mystorage.get("lowerlibcode");e["limit["+b+"].value"]=a}else{e["limit["+b+"].value"]=getSqlConditionInByLibcode()}b++}else{e["limit["+b+"].condition"]="libcode";e["limit["+b+"].typeHandler"]="0";e["limit["+b+"].value"]=c;b++}return e}function onExportFlie(){var a=base_path+"lib/export/download.do";var b=getParamCirLogData("onExportFlie");b.keycode="LIB_SYS_OPLOG";openPostWindowDownLoad(a,b)};