Edit D:\rfid\libsystem\page\catalogue\js\title_number.js
$(function(){overLoadInitData();enterEvent("search_classno",searchRecord)});function overLoadInitData(){var a=[{code:"search_libcode",key:"libcode",condition:"code",value:mystorage.get("libcode")},{code:"search_sysid",key:"sysid",condition:"type",value:sysid_type},{key:"libcode",condition:"code",value:mystorage.get("libcode")},{key:"sysid",condition:"type",value:sysid_type},];_myPage.prototype.initData(a)}_myPage.prototype.onLoadSuccess=function(a,b){_fmtGridDataRows=a;searchTNRecord()};function searchRecord(){setDatagridParam();loadGridData()}function setDatagridParam(){var a=$('[item-type="search"]');datagrid_param_limit={};var c;var b=0;a.each(function(d,e){c=getValue(e.id);if(!c){return true}datagrid_param_limit["limit["+b+"].condition"]=e.id.replace("search_","");var f=e.attributes["handler-type"];if(f){datagrid_param_limit["limit["+b+"].typeHandler"]=f.value}datagrid_param_limit["limit["+b+"].value"]=c;b++})}function loadGridData(){var b="list.do";var a=0;var c=datagrid_selector.datagrid("getSelected");if(c){a=datagrid_selector.datagrid("getRowIndex",c)}datagrid_selector.datagrid({url:controller_url+b,queryParams:datagrid_param_limit,onLoadSuccess:function(d){datagrid_selector.datagrid("selectRow",a)},method:"post"})}function renewRecords(){onHnadlerSvaeBntScreen(null,true);setDatagridParam();var a=controller_url+"renewTitleNum.do"+datagrid_param;var b=getParamToHandler();$.post(a,b,function(c){onHnadlerSvaeBntScreen(null,false);if(c.status=="0"){loadGridData()}else{openMessageDlg(c.message)}},"json")}function searchTNRecord(){setDatagridParam();loadGridData()}function myLibFormatter(a,b){return onGridShowTextBycode("showlibcode",a,"code","name")}function mySysFormatter(a,b){return onGridShowTextBycode("sysid",a,"code","name")}function exportCallno(){var a=base_path+"lib/export/download.do";var b=getParamCirLogData();b.keycode="export_callno";openPostWindowDownLoad(a,b)}function getParamToHandler(){var a={};if(getValue("search_libcode").length>0){a.libcode=getValue("search_libcode")}if(getValue("search_sysid").length>0){a.sysid=getValue("search_sysid")}return a}function getParamCirLogData(){var a={};if(getValue("search_libcode").length>0){a["limit[0].condition"]="libcode";a["limit[0].typeHandler"]="0";a["limit[0].value"]=getValue("search_libcode")}if(getValue("search_sysid").length>0){a["limit[1].condition"]="sysid";a["limit[1].typeHandler"]="0";a["limit[1].value"]=getValue("search_sysid")}if(getValue("search_classno").length>0){a["limit[3].condition"]="classno";a["limit[3].typeHandler"]="1";a["limit[3].value"]=getValue("search_classno")}return a};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de