$(function(){initPageLayoutByElement(50);initSysConfigEnum();var a={code:"1",key:"operid"};_myPage.prototype.initDataOne(a)});function initSysConfigEnum(){var a=base_path+"par/common/getInitData.do";var b={};b.key="sysconfigenum";b.fmt="entity";$.post(a,b,function(g){var f=g.rows;var d="";var e=0;for(var c=0;c";d+=getRetrunTd(f[c].code,f[c].otherinfo,f[c].name);d+=""}$(".initSysConfigEnum").html(d);$.parser.parse(".initSysConfigEnum");getELibraryConfig();repeatBindClickFun()},"json")}function getRetrunTd(c,b,a){var e="";var d="width:650px;height: 28px;";e+=''+a+"";e+=""+getTextClassByType(c,b,d,a)+"";return e}function getTextClassByType(c,b,e,a){var d="";if("checkbox"==b){d=''}else{d=''}return d}function initPageLayoutByElement(b){var a=$(window).height();var c=a-b;$(".div-body-box").css("height",c+"px")}function getELibraryConfig(){var a={type:"sysconfig"};var b=base_path+"lib/config/page.do";$.post(b,a,function(d){if(d.status=="0"){var c=d.rows[0];setJsonData(null,c)}else{openMessageDlg(d.message)}},"json")}function saveELibraryConfig(){var a=getJsonData(null,"record");if(!a){openMessageDlg("记录异常");return}var b=base_path+"lib/config/insert.do";if(getValue("id")>0){b=base_path+"lib/config/update.do";a.id=getValue("id")}$.post(b,a,function(d){if(d.status=="0"){openMessageDlg(d.message);var c=d.rows[0];setJsonData(null,c)}else{openMessageDlg(d.message)}},"json")};