Edit D:\rfid\libsystem\page\catalogue\js\bib_data_integritycheck.js
var initJson;vPageNameFlag="???????";$(function(){initJson=[{code:"page_sysid",key:"sysid",condition:"type",value:vType,linkage:[{code:"page_template",key:"template",condition:"sysid"}]},{code:"page_ctrlno",key:"ctrlno",condition:"libcode",value:vLibcode},{code:"page_z3950",key:"z3950",condition:"libcode",value:vLibcode},{code:"page_editmodel",key:"editmodel"},{code:"page_finsources",key:"finsources"},{code:"page_mediatype",key:"mediatype"},{code:"page_binding",key:"binding"},{code:"page_docsources",key:"docsources"},{code:"page_ncy,orderbib_ncy",key:"ncy"},{code:"page_bookseller",key:"bookseller",condition:"libcode",value:vLibcode},{code:"page_location",key:"location",condition:"libcode",value:vLibcode},{code:"page_doctype",key:"doctype",condition:"libcode",value:vLibcode},{code:"libcodeSelect",key:"libcode",condition:"code",value:vLibcode},{code:"page_pertype",key:"pertype"},{code:"operid",key:"operid"},];$("#allcheck").click(function(){if(this.checked){$("input[name='checkbibtype']:checkbox").each(function(){$(this).prop("checked",true)})}else{$("input[name='checkbibtype']:checkbox").each(function(){$(this).prop("checked",false)})}});$("#acqDataGridList").datagrid("showColumn","status");_comGridObj.prototype.events()});var _comGridObj=function(){};_comGridObj.prototype.clear=function(){selectEditBibId=0;selectCenterBibId=0;clearGridData("editBibGrid,acqDataGridList,holdDataGridList");$("#tabsGrid").tabs("select",0)};_comGridObj.prototype.events=function(){$("#acqDataGridList").datagrid({rowStyler:rowStylerIsUpdateByLibcode,onSelect:_acqGridObj.prototype.select});$("#tabsGrid").tabs({onSelect:_tabsGridObj.prototype.select});$("#holdDataGridList").datagrid({rowStyler:rowStylerIsUpdateByLibcode})};var _acqGridObj=function(){};_acqGridObj.prototype.select=function(a,b){if(!isUpdateByLibcode(b.libcode)){_linkbuttonObj.prototype.status(true)}else{_linkbuttonObj.prototype.status(false)}_comGridObj.prototype.loadData(b.id,"hold");_detailData.prototype.set(b.id)};var _tabsGridObj=function(){};_tabsGridObj.prototype.select=function(b,a){};_tabsGridObj.prototype.setTitle=function(a,b,c){};function serachBibCheck(){var b=getParamByPageInput();if(b!=null){clearGridData("editBibGrid");var a=base_path+"lib/biblios/page.do";$("#acqDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){if(c.total>0){$("#acqDataGridList").datagrid("selectRow",0)}},method:"post"})}}function deleteAllBibRecord(){var a=getParamByPageInput();if(a!=null){$.messager.confirm("??????","???????????????????????????????",function(c){if(c){$.messager.progress({title:"???????",msg:"?????????,?????..."});var b=base_path+"lib/biblios/deleteByCondition.do";console.log(a);$.post(b,a,function(d){$.messager.progress("close");if(d.status=="0"){openMessageDlg(d.message+",????????????????????!");serachBibCheck()}else{openMessageDlg(d.message)}},"json")}})}}function getParamByPageInput(){var b={};var a=0;$("input[name='checkbibtype']:checkbox:checked").each(function(c,d){b["limit["+c+"].condition"]=d.id;b["limit["+c+"].typeHandler"]="10";a++});if(!b["limit[0].condition"]){return openMessageDlg("??????????????????")}else{if(getValue("page_sysid").length>0){a++;b["limit["+a+"].condition"]="sysid";b["limit["+a+"].value"]=getValue("page_sysid")}if(getValue("libcodeSelect").length>0){a++;b["limit["+a+"].condition"]="libcode";b["limit["+a+"].value"]=getValue("libcodeSelect")}}return b};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de