Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\circulation\com\js\cir_pageconfig.js
var cirConfig=function(){};var cirConfigParamjson;cirConfig.prototype.init=function(){cirConfig.prototype.searchBarcode();if(_fmtGridDataRows.rows[0].location){var b={};b.code="{baochibubian}";b.name="??????";_fmtGridDataRows.rows[0].location.splice(0,0,b)}_myPage.prototype.onLoadData(_fmtGridDataRows,initJson);cirConfig.prototype.locgroup();var a=$("#page_fineticket");if(a.length>0){bindPrintFDByCode("page_acceptDebtFormatDesignIndex","E_PRINTTICKETDEBT",callBindPrintResult)}if(cirConfigParamjson){setJsonData("page_",cirConfigParamjson)}if(cirConfigParamjson&&cirConfigParamjson.readercard=="1"){$(".xkpxnk").show()}else{$(".xkpxnk").hide()}$("#page_readercard").on("click",function(c){if($("#page_readercard").get(0).checked){$(".xkpxnk").show()}else{$(".xkpxnk").hide()}});$("#page_fineticket").on("click",function(c){if($("#page_fineticket").get(0).checked){setValue("page_fineimage",0);$(".css-page-fineimage").hide()}else{$(".css-page-fineimage").show()}})};function callBindPrintResult(){if(cirConfigParamjson){setJsonData("page_",cirConfigParamjson)}}cirConfig.prototype.locgroup=function(){if($("#page_updateGroupLocByCurloc").length>0){var b={};var a=base_path+"par/locgroup/page.do";$.post(a,b,function(c){$("#page_updateGroupLocByCurloc").combobox({data:c.rows,valueField:"id",textField:"name",panelHeight:"auto",multiple:true,onLoadSuccess:function(){}});if(cirConfigParamjson&&cirConfigParamjson.updateGroupLocByCurloc){$("#page_updateGroupLocByCurloc").combobox("setValues",cirConfigParamjson.updateGroupLocByCurloc.join(","))}},"json")}};_myPage.prototype.initDataOneSuccess=function(a,b){if(b.code=="page_defaultloc"){if(cirConfigParamjson&&cirConfigParamjson.defaultloc){setValue("page_defaultloc",cirConfigParamjson.defaultloc)}}};cirConfig.prototype.searchBarcode=function(){clearGridData("rdrBarcodeDataGridList,holdBarcodeDataGridList");var a=base_path+"par/common/getInitData.do?key=barformat&condition=type&value=1";var b={};$("#rdrBarcodeDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){},method:"post"});a=base_path+"par/common/getInitData.do?key=barformat&condition=type&value=0";var b={};$("#holdBarcodeDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){},method:"post"});var a=base_path+"par/location/page.do";var b={libcode:vLibcode,page:"1",rows:"500"};$.post(a,b,function(c){if(c.status=="0"){c.rows.splice(0,0,{code:"YU_SUO_SHU_YI_ZHI",name:"???????????"});_myPage.prototype.setData(c.rows,{code:"page_defaultloc",key:"location",condition:"libcode",value:vLibcode})}},"json")};function savePageConfig(){var b=getJsonData("page_","record");if(!b){openMessageDlg("??????");return}var a=JSON.parse(b.paramjson);if($("#page_updateGroupLocByCurloc").combobox("getValues").length>0){a.updateGroupLocByCurloc=$("#page_updateGroupLocByCurloc").combobox("getValues")}b.paramjson=JSON.stringify(a);var c=base_path+"lib/pageconfig/save.do";$.post(c,b,function(d){if(d.status=="0"){openMessageDlg(d.message);$("#pageconfig_setpara_dlg").dialog("close");savePageConfigCallBack()}else{openMessageDlg(d.message)}},"json")}function callSetParaResult(c){if(c.status=="0"){var b=c.rows[0];var a=JSON.parse(b.paramjson);cirConfigParamjson=a;setValue("index",a.initindex);if(a.updateGroupLocByCurloc){$("#page_updateGroupLocByCurloc").combobox("setValues",a.updateGroupLocByCurloc.join(","))}setWebSocket(cirConfigParamjson)}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de