var jsonFormatDesign={code:"S_RDRCIRCULATION",table:"lib_cir_reader",width:"900",height:"600",top:80,left:180,tableArr:[{name:"lib_cir_log"},{name:"lib_cir_reader"}]};var fieldComBoxData=[{field:"count(distinct lib_cir_log.rdrid)",name:"人数"},{field:"count(distinct lib_cir_log.rdrid||logdate)",name:"人次"},{field:"count(distinct lib_cir_log.bibid)",name:"种数"},{field:"count(distinct lib_cir_log.hldid)",name:"册数"},{field:"count(lib_cir_log.id)",name:"册次"}];var initJson=[{code:"rdrtype",key:"rdrtype",condition:"libcode",value:vLibcode},{code:"lib_cir_reader.libcode",key:"libcode",condition:"code",value:vLibcode},{code:"lib_cir_log.libcode",key:"libcode",condition:"code",value:vLibcode},{code:"lib_cir_log.loccode",key:"loccode",condition:"libcode",value:vLibcode},{code:"to_char(lib_cir_log.operid)",key:"operid",condition:"libcode",value:vLibcode},{code:"gender",key:"gender"},{code:"rdrfld1",key:"rdrfld1",condition:"parentid",value:"1"},{code:"rdrfld2",key:"rdrfld2",condition:"parentid",value:"2"},{code:"rdrfld3",key:"rdrfld3",condition:"parentid",value:"3"},{code:"rdrfld4",key:"rdrfld4",condition:"parentid",value:"4"},];var countFormatDesignFieldComBoxData=[{code:"rdrtype",name:"读者类型"},{code:"lib_cir_reader.libcode",name:"开户馆"},{code:"lib_cir_log.libcode",name:"服务馆"},{code:"lib_cir_log.loccode",name:"操作地点"},{code:"gender",name:"读者性别"},{code:"to_char(lib_cir_log.operid)",name:"操作员"}];$(function(){jsonFormatDesign.table="lib_cir_log join lib_cir_reader on (rdrid=lib_cir_reader.id)";var b=[{key:"rdrtype",condition:"libcode",value:vLibcode},{key:"libcode",condition:"code",value:vLibcode},{key:"operid",condition:"libcode",value:vLibcode},{code:"logtype",key:"cirlogtype"},];commonSetParaInit(null,"export_record",null,b);var a={key:"rdrfld0",condition:"parentid",value:"0"};initPageDataSingleElement("rdrfld0",a,showRdrFldName);initFormatDesignFieldComBoxData()});function initFormatDesignFieldComBoxData(){var b={key:"rdrfld0",condition:"parentid",value:"0"};var a=base_path+"par/common/getInitData.do";$.post(a,b,function(f){var e=f.rows;for(var d=0;d0){setFormatDesignFieldComBoxData()}},"json")}function showRdrFldName(){var b=$("#rdrfld0").combobox("getData");if(b.length>0){for(var a=0;a