$(function(){setGridHeight()});function searchRecord(){var b=base_path+"par/common/selectByLimit.do";var c={};var a=0;if(getValue("regdatebegdate")>0){c["limit["+a+"].condition"]="logdate";c["limit["+a+"].typeHandler"]="7";c["limit["+a+"].value"]=getValue("regdatebegdate").replace(new RegExp("-","g"),"");a++}if(getValue("regdateenddate")>0){c["limit["+a+"].condition"]="logdate";c["limit["+a+"].typeHandler"]="5";c["limit["+a+"].value"]=getValue("regdateenddate").replace(new RegExp("-","g"),"");a++}c.tb="OPAC_RETRIEVE_BOOKLOG";c.orderBy=" id desc ";$("#datagrid-single").datagrid({url:b,queryParams:c,onLoadSuccess:function(d){},method:"post"})}function fmtStringToOpacRdrLogType(a){if(a=="0"){return"读者登录"}if(a=="1"){return"读者查看书目详情"}return a};