Edit D:\rfid\libsystem\page\public\js\systemlog.js
$(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;g<j.length;g++){var f=parseInt(j[g].code);if(b<f&&f<e){h.push(j[g])}}$("#logtype").combobox({data:h,valueField:"code",textField:"name",loadFilter:function(i){var m="???";var l={};l.code="";l.name=m;i.splice(0,0,l);return i},onLoadSuccess:function(){}})},"json")}function setCurPageGirdList(){setValue("cirlogbegdate",getCurDateYMD());setValue("cirlogenddate",getCurDateYMD());var a=$(window).height();var b=a-100;$(".cirlog-grid-div").css("height",b+"px");$("#cirlogDataGridList").datagrid("resize")}function searchCirLogRecord(){var a=base_path+"sys/oplog/page.do";clearGridData("cirlogDataGridList");var b=getParamCirLogData();b.orderBy=" logstamp desc ";$("#cirlogDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){},method:"post"})}function getParamCirLogData(d){var e={};var b=0;if(getValue("cirlogbegdate").length>0){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)};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de