var cataConfigData;function callSetParaResult(a){_setConfig.prototype.callSet(a)}var _setConfig=function(){};_setConfig.prototype.callSet=function(c){if(c.status=="0"){if(vType=="0"||vType=="cata"||vType=="order"||vType=="check"||vType=="tobookcheck"||vType=="com"){mystorage.set("cat_config",c)}else{if(vType=="1"){mystorage.set("per_config",c)}}var b=c.rows[0];var a=JSON.parse(b.paramjson);cataConfigData=a;if(a.sysid){if(a.libcode){setValue("libcodeSelect",a.libcode)}else{setValue("libcodeSelect","")}setJsonData("page_",a);if(a.autobar){mystorage.set("cat_autobar",a.autobar)}else{mystorage.remove("cat_autobar")}if(a.holdlist){mystorage.set("cat_holdlist",a.holdlist)}else{mystorage.remove("cat_holdlist")}if(a.editmodel){if(a.editmodel=="simple"){$("#pasteMarcRecord").hide()}else{$("#pasteMarcRecord").show()}}if($("#editBibGrid").attr("class")){initEidtBiBModel(a.editmodel)}if($("#dinggoudayin").length>0){initPrinterCombox(a)}}}};_setConfig.prototype.check=function(){if(!cataConfigData){openMessageDlg("请您先点击设置按钮,设置编目参数!");return false}bibCenterController.prototype.initCenterGridDetail();bibController.prototype.initEditGridView();tabsGridController.prototype.initOtherGrid();z3950Controller.prototype.initGrid();rfidController.prototype.intiGrid();if(!cataConfigData.sysid){openMessageDlg("请您先点击设置按钮,设置分系统参数!");return false}if(!cataConfigData.ctrlno){openMessageDlg("请您先点击设置按钮,设置控制区号参数!");return false}return true};