Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\common\js\renderControllerView.js
var renderGridView=function(){};renderGridView.prototype.grid=function(){renderGridView.prototype.acqGrid()};renderGridView.prototype.initGrid=function(c,b){var a=$("#"+c.id);if(!a.attr("class")){a.datagrid({iconCls:"e-icon fa fa-table",title:"",singleSelect:true,fit:true,fitColumns:true,pagination:true,striped:true,columns:[b]})}};var renderControllerView=function(){};renderControllerView.prototype.bibindex=function(c,b){var d={key:"bibindex"};var a=base_path+"par/common/getInitData.do";$.post(a,d,function(h){var g=h.rows;var f=[];if(vType!="1"){for(var e=0;e<g.length;e++){if(g[e].code!="ORDERNO"&&g[e].code!="UNIFIEDNO"){f.push(g[e])}}g=f}$("#bibindex").combobox({data:g,valueField:"code",textField:"name",panelHeight:"200px",loadFilter:function(i){var j={};j.code="BARCODE";j.name="?????";i.splice(0,0,j);j={};j.code="ASSETNO";j.name="?????";i.splice(0,0,j);j={};j.code="CALLNO";j.name="?????";i.splice(0,0,j);if(vType=="order"){var j={};j.code="ORDBATCHNO";j.name="??????";i.splice(0,0,j)}if(vType=="check"||vType=="com"||(vPageNameFlag=="???????"&&vType=="0")){var j={};j.code="ORDBATCHNO";j.name="??????";i.splice(0,0,j);j={};j.code="CHKBATCHNO";j.name="??????";i.splice(0,0,j)}if(vType=="tobookcheck"){var j={};j.code="CHKBATCHNO";j.name="??????";i.splice(0,0,j)}return i},onLoadSuccess:function(){$(this).combobox("select","ISBN")}})},"json");if($("#bibindexSortFld").length>0){initBibIndexSortFld()}};function initBibIndexSortFld(c,b){var d={key:"bibindex"};var a=base_path+"par/common/getInitData.do";$.post(a,d,function(h){var g=h.rows;if(!c){var f=[];for(var e=0;e<g.length;e++){if(g[e].code!="ORDERNO"&&g[e].code!="UNIFIEDNO"){f.push(g[e])}}g=f}if(vPageNameFlag=="??????"){g.push({code:"CMDNUM",name:"??????"})}if(b){g.push({code:"CHKID",name:"????????"})}g.push({code:"extract_num(FCH)",name:"?????"});$("#bibindexSortFld").combobox({data:g,valueField:"code",textField:"name",panelHeight:"200px",onLoadSuccess:function(){if(vPageNameFlag=="??????"){$(this).combobox("select","CMDNUM")}else{$(this).combobox("select","ID")}}})},"json")}renderControllerView.prototype.perindex=function(c,b){var d={key:"perindex"};var a=base_path+"par/common/getInitData.do";$.post(a,d,function(f){var e=f.rows;$("#bibindex").combobox({data:e,valueField:"code",textField:"name",panelHeight:"200px",loadFilter:function(g){if(vPageNameFlag=="?????????"||vPageNameFlag=="?????????"){var h={};h.code="PCHK.YEAR";h.name="?????";g.splice(0,0,h)}if(vPageNameFlag=="?????????"){var h={};h.code="PCHK.BATCHNO";h.name="??????";g.splice(0,0,h);h={};h.code="BIND.BATCHNO";h.name="??????";g.splice(0,0,h)}return g},onLoadSuccess:function(){$(this).combobox("select","ISBN")}})},"json");if($("#bibindexSortFld").length>0){initBibIndexSortFld("perindex");$("#bibindex").combobox({onChange:function(f,e){if(f=="ORDERNO"||f=="UNIFIEDNO"){setValue("bibindexSortFld",f);setValue("bibindexSortType","asc")}}})}};renderControllerView.prototype.addSearchCondtion=function(){if($("#titlehandler").length>0){var a=[{code:"0",name:"??????"},{code:"1",name:"???????"},{code:"12",name:"???????"}];$("#titlehandler").combobox({data:a,valueField:"code",textField:"name",panelHeight:"auto",onLoadSuccess:function(){$(this).combobox("select","1")}});$("#authorhandler").combobox({data:a,valueField:"code",textField:"name",panelHeight:"auto",onLoadSuccess:function(){$(this).combobox("select","1")}});var a=$("#bibindex").combobox("getData");$("#bibindextitle").combobox({data:a,valueField:"code",textField:"name",panelHeight:"200px",onLoadSuccess:function(){$(this).combobox("select","TITLE")}});$("#bibindexauthor").combobox({data:a,valueField:"code",textField:"name",panelHeight:"200px",onLoadSuccess:function(){$(this).combobox("select","AUTHOR")}})}if($("#bibdatehandler").length>0){$(".bibdate-13").hide();var a=[{code:"1",name:"???????"},{code:"13",name:"??????"}];$("#bibdatehandler").combobox({data:a,valueField:"code",textField:"name",panelHeight:"auto",onChange:function(c,b){if(c=="13"){$(".bibdate-1").hide();$(".bibdate-13").show();setValue("bibdatekey","")}else{$(".bibdate-13").hide();$(".bibdate-1").show();setValue("bibdatekey7","");setValue("bibdatekey5","")}},onLoadSuccess:function(){$(this).combobox("select","1")}})}if($("#bibophandler").length>0){var a=[{code:"0",name:"??????"},{code:"1",name:"???????"},{code:"12",name:"???????"}];$("#bibophandler").combobox({data:a,valueField:"code",textField:"name",panelHeight:"auto",onLoadSuccess:function(){$(this).combobox("select","1")}});$("#titledoctype").combobox({data:_fmtGridDataRows.rows[0].doctype,valueField:"code",textField:"name",panelHeight:"200px",groupField:"group",loadFilter:function(b){var c={};c.code="";c.name="?????????";b.splice(0,0,c);return b},onLoadSuccess:function(){$(this).combobox("select","")}});$("#titlecurloc").combobox({data:_fmtGridDataRows.rows[0].location,valueField:"code",textField:"name",panelHeight:"200px",groupField:"group",loadFilter:function(b){var c={};c.code="";c.name="?????????";b.splice(0,0,c);return b},onLoadSuccess:function(){$(this).combobox("select","")}})}};renderControllerView.prototype.autobar=function(b){if($("#page_autobar").length>0){var c={};c.libcode=vLibcode;c.orderBy=" libcode desc ";var a=base_path+"par/autobar/page.do";$.post(a,c,function(d){var e="auto";if(d.rows.length>10){e="200px"}$("#page_autobar").combobox({data:d.rows,valueField:"code",textField:"name",panelHeight:e,loadFilter:function(f){var g={};g.code="";g.name="???";f.splice(0,0,g);return f},onLoadSuccess:function(){$(this).combobox("select","")}});if($("#page_assetno").length>0){$("#page_assetno").combobox({data:d.rows,valueField:"code",textField:"name",panelHeight:e,onLoadSuccess:function(){$(this).combobox("select","")}})}if(b){b()}},"json")}};renderControllerView.prototype.batchno=function(b){if($("#orderbatchno").length>0){var c={type:"0",page:"1",rows:"500"};if(vType=="1"){c={type:"2",page:"1",rows:"500"}}if(b){c.libcode=b}c.orderBy=" libcode desc ";c.status="0";var a=base_path+"par/batchno/page.do";$.post(a,c,function(k){var h=[];for(var f=0;f<k.rows.length;f++){var g=_fmtGridDataRows.rows[0].libcode;for(var d=0;d<g.length;d++){if(g[d].code==k.rows[f].libcode){var e={code:""+k.rows[f].code+"",name:""+k.rows[f].code+"",group:""+g[d].name+""};h.push(e);break}}}var l="auto";if(k.rows.length>10){l="200px"}$("#orderbatchno").combobox({data:h,valueField:"code",textField:"name",panelHeight:l,groupField:"group",loadFilter:function(i){var j={};j.code="";j.name="?????????";i.splice(0,0,j);return i},onLoadSuccess:function(){$(this).combobox("select","")}})},"json")}};renderControllerView.prototype.batchNoByParam=function(d,c,b){if(_fmtGridDataRows){var e={type:c,page:"1",rows:"500"};e.orderBy=" libcode desc ";e.status="0";var a=base_path+"par/batchno/page.do";$.post(a,e,function(m){var l=[];for(var h=0;h<m.rows.length;h++){var k=_fmtGridDataRows.rows[0].libcode;for(var f=0;f<k.length;f++){if(k[f].code==m.rows[h].libcode){var g={code:""+m.rows[h].code+"",name:""+m.rows[h].code+"",group:""+k[f].name+""};l.push(g);break}}}if(b){$("#"+d).combobox({data:l,valueField:"code",textField:"name",panelHeight:"200px",groupField:"group",loadFilter:function(i){var j={};j.code="";j.name=b;i.splice(0,0,j);return i},onLoadSuccess:function(){$(this).combobox("select","")}})}else{$("#"+d).combobox({data:l,valueField:"code",textField:"name",groupField:"group",panelHeight:"200px"})}},"json")}else{setTimeout(function(){renderControllerView.prototype.batchNoByParam(d,c,b)},500)}};renderControllerView.prototype.billno=function(){if($("#page_billno").length>0){var b={};b.orderBy=" libcode desc ";b.libcode=vLibcode;var a=base_path+"acq/fine/page.do";$.post(a,b,function(c){var d="auto";if(c.rows.length>10){d="200px"}$("#page_billno").combobox({data:c.rows,valueField:"billno",textField:"billno",panelHeight:d,loadFilter:function(e){var f={};f.billno="";f.billno="???";e.splice(0,0,f);return e},onLoadSuccess:function(){$(this).combobox("select","")}})},"json")}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de