var jsonFormatDesign={code:"E_RESERVELIST"+vType,table:"lib_cir_reserve",width:"800",height:"600",top:80,left:180,tableArr:[]};var fieldComBoxData;var rdrFldComBoxData;var holdFldComBoxData=holdExpFld;var bibFldComBoxData=bibExpFld;$(function(){getReaderFldResult()});function getReaderFldResult(){var a="cir_resstatus";if(vType=="0"){a="cir_reqstatus"}fieldComBoxData=[{field:"lib_cir_reserve.resstatus",code:a,name:"预"+vTitle+"状态"},{field:"lib_cir_reserve.resdate",code:"resdate",name:"预"+vTitle+"日期"},{field:"lib_cir_reserve.expirydate",code:"expirydate",name:"截止日期"},{field:"lib_cir_reserve.returndate",code:"returndate",name:"还回日期"},{field:"lib_cir_reserve.notifyway",code:"notifyway",name:"通知方式"},{field:"lib_cir_reserve.notifycount",code:"notifycount",name:"通知次数"},{field:"lib_cir_reserve.notifydate",code:"notifydate",name:"通知日期"},{field:"lib_cir_reserve.fetchdate",code:"fetchdate",name:"取书日期"},{field:"lib_cir_reserve.location",code:"location",name:"预"+vTitle+"地点"},{field:"lib_cir_reserve.note",code:"note",name:"备注"}];rdrFldComBoxData=[{field:"lib_cir_reader.rdrno",code:"rdrno",name:"读者证号"},{field:"lib_cir_reader.name",code:"name",name:"读者姓名"},{field:"lib_cir_reader.idcard",code:"idcard",name:"身份证号"},{field:"lib_cir_reader.otherno",code:"otherno",name:"其他编号"},{field:"lib_cir_reader.password",code:"password",name:"读者密码"},{field:"lib_cir_reader.status",code:"rdrstatus",name:"读者状态"},{field:"lib_cir_reader.rdrtype",code:"rdrtype",name:"读者类型"},{field:"lib_cir_reader.rdrfld1",code:"rdrfld1",name:mystorage.get("rdr_fld1")},{field:"lib_cir_reader.rdrfld2",code:"rdrfld2",name:mystorage.get("rdr_fld2")},{field:"lib_cir_reader.rdrfld3",code:"rdrfld3",name:mystorage.get("rdr_fld3")},{field:"lib_cir_reader.rdrfld4",code:"rdrfld4",name:mystorage.get("rdr_fld4")},{field:"lib_cir_reader.birthday",code:"birthday",name:"生日"},{field:"lib_cir_reader.gender",code:"gender",name:"性别"},{field:"lib_cir_reader.hobby",code:"hobby",name:"爱好"},{field:"lib_cir_reader.specialty",code:"specialty",name:"特长"},{field:"lib_cir_reader.telephone",code:"telephone",name:"电话号码"},{field:"lib_cir_reader.email",code:"email",name:"email"},{field:"lib_cir_reader.nation",code:"nation",name:"民族"},{field:"lib_cir_reader.nativeplace",code:"nativeplace",name:"籍贯"},{field:"lib_cir_reader.address",code:"address",name:"通讯地址"},{field:"lib_cir_reader.unit",code:"unit",name:"工作单位"},{field:"lib_cir_reader.createdate",code:"createdate",name:"办证日期"},{field:"lib_cir_reader.startdate",code:"startdate",name:"起始日期"},{field:"lib_cir_reader.enddate",code:"enddate",name:"终止日期"},{field:"lib_cir_reader.canceldate",code:"canceldate",name:"注销日期"},{field:"lib_cir_reader.note",code:"note",name:"备注"}];fieldComBoxData.forEach(function(b,c,d){if(totalFld.indexOf(","+b.code+",")>-1){b.total="1"}b.group="预"+vTitle+"字段"});rdrFldComBoxData.forEach(function(b,c,d){b.group="读者字段";fieldComBoxData.push(b)});bibFldComBoxData.forEach(function(b,c,d){b.group="书目字段";fieldComBoxData.push(b)});holdFldComBoxData.forEach(function(b,c,d){b.group="馆藏字段";fieldComBoxData.push(b)});jsonFormatDesign.table="lib_cir_reserve left join lib_bibliography on lib_cir_reserve.bibid=lib_bibliography.id left join lib_holdings on lib_cir_reserve.hldid=lib_holdings.id left join lib_cir_reader on lib_cir_reserve.rdrid=lib_cir_reader.id";initExportFmtParam();initSrceenDataByJson()};