prolog.min-0.0.1.js 227 KB

1234567891011121314151617181920212223242526272829303132
  1. "use strict";var _oMultiDiff;function _typeof(Y){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}function _defineProperty(Y,Z,e){return Z in Y?Object.defineProperty(Y,Z,{value:e,enumerable:!0,configurable:!0,writable:!0}):Y[Z]=e,Y}var strChineseFirstPY="YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJ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JTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",oMultiDiff=(_defineProperty(_oMultiDiff={19969:"DZ",19975:"WM",19988:"QJ",20048:"YL",20056:"SC",20060:"NM",20094:"QG",20127:"QJ",20167:"QC",20193:"YG",20250:"KH",20256:"ZC",20282:"SC",20285:"QJG",20291:"TD",20314:"YD",20340:"NE",20375:"TD",20389:"YJ",20391:"CZ",20415:"PB",20446:"YS",20447:"SQ",20504:"TC",20608:"KG",20854:"QJ",20857:"ZC",20911:"PF"},"20504","TC"),_defineProperty(_oMultiDiff,"20608","KG"),_defineProperty(_oMultiDiff,"20854","QJ"),_defineProperty(_oMultiDiff,"20857","ZC"),_defineProperty(_oMultiDiff,"20911","PF"),_defineProperty(_oMultiDiff,20985,"AW"),_defineProperty(_oMultiDiff,21032,"PB"),_defineProperty(_oMultiDiff,21048,"XQ"),_defineProperty(_oMultiDiff,21049,"SC"),_defineProperty(_oMultiDiff,21089,"YS"),_defineProperty(_oMultiDiff,21119,"JC"),_defineProperty(_oMultiDiff,21242,"SB"),_defineProperty(_oMultiDiff,21273,"SC"),_defineProperty(_oMultiDiff,21305,"YP"),_defineProperty(_oMultiDiff,21306,"QO"),_defineProperty(_oMultiDiff,21330,"ZC"),_defineProperty(_oMultiDiff,21333,"SDC"),_defineProperty(_oMultiDiff,21345,"QK"),_defineProperty(_oMultiDiff,21378,"CA"),_defineProperty(_oMultiDiff,21397,"SC"),_defineProperty(_oMultiDiff,21414,"XS"),_defineProperty(_oMultiDiff,21442,"SC"),_defineProperty(_oMultiDiff,21477,"JG"),_defineProperty(_oMultiDiff,21480,"TD"),_defineProperty(_oMultiDiff,21484,"ZS"),_defineProperty(_oMultiDiff,21494,"YX"),_defineProperty(_oMultiDiff,21505,"YX"),_defineProperty(_oMultiDiff,21512,"HG"),_defineProperty(_oMultiDiff,21523,"XH"),_defineProperty(_oMultiDiff,21537,"PB"),_defineProperty(_oMultiDiff,21542,"PF"),_defineProperty(_oMultiDiff,21549,"KH"),_defineProperty(_oMultiDiff,21571,"E"),_defineProperty(_oMultiDiff,21574,"DA"),_defineProperty(_oMultiDiff,21588,"TD"),_defineProperty(_oMultiDiff,21589,"O"),_defineProperty(_oMultiDiff,21618,"ZC"),_defineProperty(_oMultiDiff,21621,"KHA"),_defineProperty(_oMultiDiff,21632,"ZJ"),_defineProperty(_oMultiDiff,21654,"KG"),_defineProperty(_oMultiDiff,21679,"LKG"),_defineProperty(_oMultiDiff,21683,"KH"),_defineProperty(_oMultiDiff,21710,"A"),_defineProperty(_oMultiDiff,21719,"YH"),_defineProperty(_oMultiDiff,21734,"WOE"),_defineProperty(_oMultiDiff,21769,"A"),_defineProperty(_oMultiDiff,21780,"WN"),_defineProperty(_oMultiDiff,21804,"XH"),_defineProperty(_oMultiDiff,21834,"A"),_defineProperty(_oMultiDiff,21899,"ZD"),_defineProperty(_oMultiDiff,21903,"RN"),_defineProperty(_oMultiDiff,21908,"WO"),_defineProperty(_oMultiDiff,21939,"ZC"),_defineProperty(_oMultiDiff,21956,"SA"),_defineProperty(_oMultiDiff,21964,"YA"),_defineProperty(_oMultiDiff,21970,"TD"),_defineProperty(_oMultiDiff,22003,"A"),_defineProperty(_oMultiDiff,22031,"JG"),_defineProperty(_oMultiDiff,22040,"XS"),_defineProperty(_oMultiDiff,22060,"ZC"),_defineProperty(_oMultiDiff,22066,"ZC"),_defineProperty(_oMultiDiff,22079,"MH"),_defineProperty(_oMultiDiff,22129,"XJ"),_defineProperty(_oMultiDiff,22179,"XA"),_defineProperty(_oMultiDiff,22237,"NJ"),_defineProperty(_oMultiDiff,22244,"TD"),_defineProperty(_oMultiDiff,22280,"JQ"),_defineProperty(_oMultiDiff,22300,"YH"),_defineProperty(_oMultiDiff,22313,"XW"),_defineProperty(_oMultiDiff,22331,"YQ"),_defineProperty(_oMultiDiff,22343,"YJ"),_defineProperty(_oMultiDiff,22351,"PH"),_defineProperty(_oMultiDiff,22395,"DC"),_defineProperty(_oMultiDiff,22412,"TD"),_defineProperty(_oMultiDiff,22484,"PB"),_defineProperty(_oMultiDiff,22500,"PB"),_defineProperty(_oMultiDiff,22534,"ZD"),_defineProperty(_oMultiDiff,22549,"DH"),_defineProperty(_oMultiDiff,22561,"PB"),_defineProperty(_oMultiDiff,22612,"TD"),_defineProperty(_oMultiDiff,22771,"KQ"),_defineProperty(_oMultiDiff,22831,"HB"),_defineProperty(_oMultiDiff,22841,"JG"),_defineProperty(_oMultiDiff,22855,"QJ"),_defineProperty(_oMultiDiff,22865,"XQ"),_defineProperty(_oMultiDiff,23013,"ML"),_defineProperty(_oMultiDiff,23081,"WM"),_defineProperty(_oMultiDiff,23487,"SX"),_defineProperty(_oMultiDiff,23558,"QJ"),_defineProperty(_oMultiDiff,23561,"YW"),_defineProperty(_oMultiDiff,23586,"YW"),_defineProperty(_oMultiDiff,23614,"YW"),_defineProperty(_oMultiDiff,23615,"SN"),_defineProperty(_oMultiDiff,23631,"PB"),_defineProperty(_oMultiDiff,23646,"ZS"),_defineProperty(_oMultiDiff,23663,"ZT"),_defineProperty(_oMultiDiff,23673,"YG"),_defineProperty(_oMultiDiff,23762,"TD"),_defineProperty(_oMultiDiff,23769,"ZS"),_defineProperty(_oMultiDiff,23780,"QJ"),_defineProperty(_oMultiDiff,23884,"QK"),_defineProperty(_oMultiDiff,24055,"XH"),_defineProperty(_oMultiDiff,24113,"DC"),_defineProperty(_oMultiDiff,24162,"ZC"),_defineProperty(_oMultiDiff,24191,"GA"),_defineProperty(_oMultiDiff,24273,"QJ"),_defineProperty(_oMultiDiff,24324,"NL"),_defineProperty(_oMultiDiff,24377,"TD"),_defineProperty(_oMultiDiff,24378,"QJ"),_defineProperty(_oMultiDiff,24439,"PF"),_defineProperty(_oMultiDiff,24554,"ZS"),_defineProperty(_oMultiDiff,24683,"TD"),_defineProperty(_oMultiDiff,24694,"WE"),_defineProperty(_oMultiDiff,24733,"LK"),_defineProperty(_oMultiDiff,24925,"TN"),_defineProperty(_oMultiDiff,25094,"ZG"),_defineProperty(_oMultiDiff,25100,"XQ"),_defineProperty(_oMultiDiff,25103,"XH"),_defineProperty(_oMultiDiff,25153,"PB"),_defineProperty(_oMultiDiff,25170,"PB"),_defineProperty(_oMultiDiff,25179,"KG"),_defineProperty(_oMultiDiff,25203,"PB"),_defineProperty(_oMultiDiff,25240,"ZS"),_defineProperty(_oMultiDiff,25282,"FB"),_defineProperty(_oMultiDiff,25303,"NA"),_defineProperty(_oMultiDiff,25324,"KG"),_defineProperty(_oMultiDiff,25341,"ZY"),_defineProperty(_oMultiDiff,25373,"WZ"),_defineProperty(_oMultiDiff,25375,"XJ"),_defineProperty(_oMultiDiff,25384,"A"),_defineProperty(_oMultiDiff,25457,"A"),_defineProperty(_oMultiDiff,25528,"SD"),_defineProperty(_oMultiDiff,25530,"SC"),_defineProperty(_oMultiDiff,25552,"TD"),_defineProperty(_oMultiDiff,25774,"ZC"),_defineProperty(_oMultiDiff,25874,"ZC"),_defineProperty(_oMultiDiff,26044,"YW"),_defineProperty(_oMultiDiff,26080,"WM"),_defineProperty(_oMultiDiff,26292,"PB"),_defineProperty(_oMultiDiff,26333,"PB"),_defineProperty(_oMultiDiff,26355,"ZY"),_defineProperty(_oMultiDiff,26366,"CZ"),_defineProperty(_oMultiDiff,26397,"ZC"),_defineProperty(_oMultiDiff,26399,"QJ"),_defineProperty(_oMultiDiff,26415,"ZS"),_defineProperty(_oMultiDiff,26451,"SB"),_defineProperty(_oMultiDiff,26526,"ZC"),_defineProperty(_oMultiDiff,26552,"JG"),_defineProperty(_oMultiDiff,26561,"TD"),_defineProperty(_oMultiDiff,26588,"JG"),_defineProperty(_oMultiDiff,26597,"CZ"),_defineProperty(_oMultiDiff,26629,"ZS"),_defineProperty(_oMultiDiff,26638,"YL"),_defineProperty(_oMultiDiff,26646,"XQ"),_defineProperty(_oMultiDiff,26653,"KG"),_defineProperty(_oMultiDiff,26657,"XJ"),_defineProperty(_oMultiDiff,26727,"HG"),_defineProperty(_oMultiDiff,26894,"ZC"),_defineProperty(_oMultiDiff,26937,"ZS"),_defineProperty(_oMultiDiff,26946,"ZC"),_defineProperty(_oMultiDiff,26999,"KJ"),_defineProperty(_oMultiDiff,27099,"KJ"),_defineProperty(_oMultiDiff,27449,"YQ"),_defineProperty(_oMultiDiff,27481,"XS"),_defineProperty(_oMultiDiff,27542,"ZS"),_defineProperty(_oMultiDiff,27663,"ZS"),_defineProperty(_oMultiDiff,27748,"TS"),_defineProperty(_oMultiDiff,27784,"SC"),_defineProperty(_oMultiDiff,27788,"ZD"),_defineProperty(_oMultiDiff,27795,"TD"),_defineProperty(_oMultiDiff,27812,"O"),_defineProperty(_oMultiDiff,27850,"PB"),_defineProperty(_oMultiDiff,27852,"MB"),_defineProperty(_oMultiDiff,27895,"SL"),_defineProperty(_oMultiDiff,27898,"PL"),_defineProperty(_oMultiDiff,27973,"QJ"),_defineProperty(_oMultiDiff,27981,"KH"),_defineProperty(_oMultiDiff,27986,"HX"),_defineProperty(_oMultiDiff,27994,"XJ"),_defineProperty(_oMultiDiff,28044,"YC"),_defineProperty(_oMultiDiff,28065,"WG"),_defineProperty(_oMultiDiff,28177,"SM"),_defineProperty(_oMultiDiff,28267,"QJ"),_defineProperty(_oMultiDiff,28291,"KH"),_defineProperty(_oMultiDiff,28337,"ZQ"),_defineProperty(_oMultiDiff,28463,"TL"),_defineProperty(_oMultiDiff,28548,"DC"),_defineProperty(_oMultiDiff,28601,"TD"),_defineProperty(_oMultiDiff,28689,"PB"),_defineProperty(_oMultiDiff,28805,"JG"),_defineProperty(_oMultiDiff,28820,"QG"),_defineProperty(_oMultiDiff,28846,"PB"),_defineProperty(_oMultiDiff,28952,"TD"),_defineProperty(_oMultiDiff,28975,"ZC"),_defineProperty(_oMultiDiff,29100,"A"),_defineProperty(_oMultiDiff,29325,"QJ"),_defineProperty(_oMultiDiff,29575,"SL"),_defineProperty(_oMultiDiff,29602,"FB"),_defineProperty(_oMultiDiff,30010,"TD"),_defineProperty(_oMultiDiff,30044,"CX"),_defineProperty(_oMultiDiff,30058,"PF"),_defineProperty(_oMultiDiff,30091,"YSP"),_defineProperty(_oMultiDiff,30111,"YN"),_defineProperty(_oMultiDiff,30229,"XJ"),_defineProperty(_oMultiDiff,30427,"SC"),_defineProperty(_oMultiDiff,30465,"SX"),_defineProperty(_oMultiDiff,30631,"YQ"),_defineProperty(_oMultiDiff,30655,"QJ"),_defineProperty(_oMultiDiff,30684,"QJG"),_defineProperty(_oMultiDiff,30707,"SD"),_defineProperty(_oMultiDiff,30729,"XH"),_defineProperty(_oMultiDiff,30796,"LG"),_defineProperty(_oMultiDiff,30917,"PB"),_defineProperty(_oMultiDiff,31074,"NM"),_defineProperty(_oMultiDiff,31085,"JZ"),_defineProperty(_oMultiDiff,31109,"SC"),_defineProperty(_oMultiDiff,31181,"ZC"),_defineProperty(_oMultiDiff,31192,"MLB"),_defineProperty(_oMultiDiff,31293,"JQ"),_defineProperty(_oMultiDiff,31400,"YX"),_defineProperty(_oMultiDiff,31584,"YJ"),_defineProperty(_oMultiDiff,31896,"ZN"),_defineProperty(_oMultiDiff,31909,"ZY"),_defineProperty(_oMultiDiff,31995,"XJ"),_defineProperty(_oMultiDiff,32321,"PF"),_defineProperty(_oMultiDiff,32327,"ZY"),_defineProperty(_oMultiDiff,32418,"HG"),_defineProperty(_oMultiDiff,32420,"XQ"),_defineProperty(_oMultiDiff,32421,"HG"),_defineProperty(_oMultiDiff,32438,"LG"),_defineProperty(_oMultiDiff,32473,"GJ"),_defineProperty(_oMultiDiff,32488,"TD"),_defineProperty(_oMultiDiff,32521,"QJ"),_defineProperty(_oMultiDiff,32527,"PB"),_defineProperty(_oMultiDiff,32562,"ZSQ"),_defineProperty(_oMultiDiff,32564,"JZ"),_defineProperty(_oMultiDiff,32735,"ZD"),_defineProperty(_oMultiDiff,32793,"PB"),_defineProperty(_oMultiDiff,33071,"PF"),_defineProperty(_oMultiDiff,33098,"XL"),_defineProperty(_oMultiDiff,33100,"YA"),_defineProperty(_oMultiDiff,33152,"PB"),_defineProperty(_oMultiDiff,33261,"CX"),_defineProperty(_oMultiDiff,33324,"BP"),_defineProperty(_oMultiDiff,33333,"TD"),_defineProperty(_oMultiDiff,33406,"YA"),_defineProperty(_oMultiDiff,33426,"WM"),_defineProperty(_oMultiDiff,33432,"PB"),_defineProperty(_oMultiDiff,33445,"JG"),_defineProperty(_oMultiDiff,33486,"ZN"),_defineProperty(_oMultiDiff,33493,"TS"),_defineProperty(_oMultiDiff,33507,"QJ"),_defineProperty(_oMultiDiff,33540,"QJ"),_defineProperty(_oMultiDiff,33544,"ZC"),_defineProperty(_oMultiDiff,33564,"XQ"),_defineProperty(_oMultiDiff,33617,"YT"),_defineProperty(_oMultiDiff,33632,"QJ"),_defineProperty(_oMultiDiff,33636,"XH"),_defineProperty(_oMultiDiff,33637,"YX"),_defineProperty(_oMultiDiff,33694,"WG"),_defineProperty(_oMultiDiff,33705,"PF"),_defineProperty(_oMultiDiff,33728,"YW"),_defineProperty(_oMultiDiff,33882,"SR"),_defineProperty(_oMultiDiff,34067,"WM"),_defineProperty(_oMultiDiff,34074,"YW"),_defineProperty(_oMultiDiff,34121,"QJ"),_defineProperty(_oMultiDiff,34255,"ZC"),_defineProperty(_oMultiDiff,34259,"XL"),_defineProperty(_oMultiDiff,34425,"JH"),_defineProperty(_oMultiDiff,34430,"XH"),_defineProperty(_oMultiDiff,34485,"KH"),_defineProperty(_oMultiDiff,34503,"YS"),_defineProperty(_oMultiDiff,34532,"HG"),_defineProperty(_oMultiDiff,34552,"XS"),_defineProperty(_oMultiDiff,34558,"YE"),_defineProperty(_oMultiDiff,34593,"ZL"),_defineProperty(_oMultiDiff,34660,"YQ"),_defineProperty(_oMultiDiff,34892,"XH"),_defineProperty(_oMultiDiff,34928,"SC"),_defineProperty(_oMultiDiff,34999,"QJ"),_defineProperty(_oMultiDiff,35048,"PB"),_defineProperty(_oMultiDiff,35059,"SC"),_defineProperty(_oMultiDiff,35098,"ZC"),_defineProperty(_oMultiDiff,35203,"TQ"),_defineProperty(_oMultiDiff,35265,"JX"),_defineProperty(_oMultiDiff,35299,"JX"),_defineProperty(_oMultiDiff,35782,"SZ"),_defineProperty(_oMultiDiff,35828,"YS"),_defineProperty(_oMultiDiff,35830,"E"),_defineProperty(_oMultiDiff,35843,"TD"),_defineProperty(_oMultiDiff,35895,"YG"),_defineProperty(_oMultiDiff,35977,"MH"),_defineProperty(_oMultiDiff,36158,"JG"),_defineProperty(_oMultiDiff,36228,"QJ"),_defineProperty(_oMultiDiff,36426,"XQ"),_defineProperty(_oMultiDiff,36466,"DC"),_defineProperty(_oMultiDiff,36710,"JC"),_defineProperty(_oMultiDiff,36711,"ZYG"),_defineProperty(_oMultiDiff,36767,"PB"),_defineProperty(_oMultiDiff,36866,"SK"),_defineProperty(_oMultiDiff,36951,"YW"),_defineProperty(_oMultiDiff,37034,"YX"),_defineProperty(_oMultiDiff,37063,"XH"),_defineProperty(_oMultiDiff,37218,"ZC"),_defineProperty(_oMultiDiff,37325,"ZC"),_defineProperty(_oMultiDiff,38063,"PB"),_defineProperty(_oMultiDiff,38079,"TD"),_defineProperty(_oMultiDiff,38085,"QY"),_defineProperty(_oMultiDiff,38107,"DC"),_defineProperty(_oMultiDiff,38116,"TD"),_defineProperty(_oMultiDiff,38123,"YD"),_defineProperty(_oMultiDiff,38224,"HG"),_defineProperty(_oMultiDiff,38241,"XTC"),_defineProperty(_oMultiDiff,38271,"ZC"),_defineProperty(_oMultiDiff,38415,"YE"),_defineProperty(_oMultiDiff,38426,"KH"),_defineProperty(_oMultiDiff,38461,"YD"),_defineProperty(_oMultiDiff,38463,"AE"),_defineProperty(_oMultiDiff,38466,"PB"),_defineProperty(_oMultiDiff,38477,"XJ"),_defineProperty(_oMultiDiff,38518,"YT"),_defineProperty(_oMultiDiff,38551,"WK"),_defineProperty(_oMultiDiff,38585,"ZC"),_defineProperty(_oMultiDiff,38704,"XS"),_defineProperty(_oMultiDiff,38739,"LJ"),_defineProperty(_oMultiDiff,38761,"GJ"),_defineProperty(_oMultiDiff,38808,"SQ"),_defineProperty(_oMultiDiff,39048,"JG"),_defineProperty(_oMultiDiff,39049,"XJ"),_defineProperty(_oMultiDiff,39052,"HG"),_defineProperty(_oMultiDiff,39076,"CZ"),_defineProperty(_oMultiDiff,39271,"XT"),_defineProperty(_oMultiDiff,39534,"TD"),_defineProperty(_oMultiDiff,39552,"TD"),_defineProperty(_oMultiDiff,39584,"PB"),_defineProperty(_oMultiDiff,39647,"SB"),_defineProperty(_oMultiDiff,39730,"LG"),_defineProperty(_oMultiDiff,39748,"TPB"),_defineProperty(_oMultiDiff,40109,"ZQ"),_defineProperty(_oMultiDiff,40479,"ND"),_defineProperty(_oMultiDiff,40516,"HG"),_defineProperty(_oMultiDiff,40536,"HG"),_defineProperty(_oMultiDiff,40583,"QJ"),_defineProperty(_oMultiDiff,40765,"YQ"),_defineProperty(_oMultiDiff,40784,"QJ"),_defineProperty(_oMultiDiff,40840,"YK"),_defineProperty(_oMultiDiff,40863,"QJG"),_oMultiDiff);function makePy(Y){if("string"!=typeof Y)throw new Error(-1,"函数makePy需要字符串类型参数!");for(var Z=new Array,e=0,L=Y.length;e<L;e++){var X=Y.charAt(e);Z.push(checkCh(X))}return mkRslt(Z)}function checkCh(Y){var Z=Y.charCodeAt(0);return 40869<Z||Z<19968?Y:oMultiDiff[Z]?oMultiDiff[Z]:strChineseFirstPY.charAt(Z-19968)}function mkRslt(Y){for(var Z=[""],e=0,L=Y.length;e<L;e++){var X=Y[e],J=X.length;if(1==J)for(var S=0;S<Z.length;S++)Z[S]+=X;else{var i=Z.slice(0);for(Z=[],S=0;S<J;S++){for(var o=i.slice(0),D=0;D<o.length;D++)o[D]+=X.charAt(S);Z=Z.concat(o)}}}return Z}String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")},String.prototype.replaceAll=function(Y,Z){var e=new RegExp(Y,"g");return this.replace(e,Z)};var pinyin={};pinyin.makePy=makePy,Date.prototype.format=function(Y){var Z={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var e in/(y+)/.test(Y)&&(Y=Y.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),Z)new RegExp("("+e+")").test(Y)&&(Y=Y.replace(RegExp.$1,1==RegExp.$1.length?Z[e]:("00"+Z[e]).substr((""+Z[e]).length)));return Y},"undefined"!=typeof dhtmlXCalendarObject&&dhtmlXCalendarObject&&(dhtmlXCalendarObject.prototype.langData.ch={dateformat:"%Y-%m-%d",monthesFNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthesSNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],daysFNames:["星期天","星期一","星期二","星期三","星期四","星期五","星期六"],daysSNames:["日","一","二","三","四","五","六"],weekstart:"周日",weekname:"星期",today:"今天",clear:"清除"},dhtmlXCalendarObject.prototype.lang="ch");var Prolog={GridImageBasePath:"/prologui/dist/images/PlgGrid/",token:"",reloadToken:function(){Prolog.token=localStorage.getItem("authorization")},loginUrl:"",loginPage:"",refreshTokenUrl:"",showLoginForm:!1};function _t(Z,Y){try{if(!Y){var e=i18next.t(Z);return null==e?Z:e}$(Y).attr("data-i18n",Z)}catch(Y){return Z}}function setNavLang(Y,Z,e){var L;if(Z&&i18next){L=localStorage.getItem("lag");var X='<a href="javascript:;"><i class="icon iconfont p-icon-lang_'.concat(L,'" style="color:').concat(e||"",';height:0.32rem;margin:0 10px;\n font-size: 0.32rem;\n vertical-align: middle;"></i>\n</a><dl class="plg-nav-child layui-nav-child">');for(var J in Z)X+="<dd "+(L==J?'class="layui-this"':"")+'><a href="javascript:;" title="'+J+'">'+Z[J]+"</a></dd>";X+="</dl>",X=$(X);var S=$(X[0]);$(X[1]).find("dd").click(function(Y){Y.preventDefault(),$(this).addClass("layui-this").siblings().removeClass("layui-this"),i18next.changeLanguage($(this).children("a").attr("title")),S.find("i").attr("class","icon iconfont p-icon-lang_".concat($(this).children("a").attr("title"))),$(this).parents("dl.plg-nav-child").hide()}),$(Y).append(X).localize(),layui.element.render("nav"),null}}Prolog.reloadToken(),Prolog.getTop=function(Y){var Z=Y.offsetTop;return null!=Y.offsetParent&&(Z+=Prolog.getTop(Y.offsetParent)),Z},Prolog.getLeft=function(Y){var Z=Y.offsetLeft;return null!=Y.offsetParent&&(Z+=Prolog.getLeft(Y.offsetParent)),Z},Prolog.hasJson=function(Y,Z){for(var e=0;e<Y.length;e++){var L=!0;for(var X in Y[e])if(Y[e][X]!=Z[X]){L=!1;break}if(L)return e}return-1},Prolog.validatePassword=function(Y,Z){var e=PlgDialog.loading2();if(null==Y||""==Y)return e(),layer.msg(_t("请输入有效密码"),function(){}),!1;var L=JSON.parse(localStorage.getItem("userinfo"));null!=L&&null!=L.p_username?$.ajax({url:Prolog.loginUrl,method:"POST",async:!1,data:{username:L.p_username,password:Y},dataType:"json",success:function(Y){Y.success?(localStorage.setItem("authorization","Bearer "+Y.data.token),localStorage.setItem("token_expir",Y.data.expir),Prolog.reloadToken(),Z&&Prolog.ajax(Z)):layer.msg(_t("密码错误"),{icon:5})}}):(localStorage.clear(),location.href=Prolog.loginPage),e()},Prolog.requireLogin=function(X){var Y=X.url;if(null==Y)return!1;if(-1<Y.indexOf(Prolog.loginUrl))return!1;if(Prolog.isLogined())return!1;if(Prolog.showLoginForm)return!1;if(Prolog.showLoginForm=!0,null!=Prolog.loginUrl&&""!=Prolog.loginUrl){var J=layer.prompt({title:_t("请验证你的密码"),formType:1,closeBtn:0,btn:[_t("确认"),_t("退出登录")],success:function(e,Y){var L=e.find("input");Prolog.removeLoading(),L[0].onkeydown=function(Y){if(13==Y.keyCode){L[0].blur();var Z=e.find("input").val();Prolog.validatePassword(Z,X),Prolog.showLoginForm=!1,layer.close(J)}}},btn2:function(){return localStorage.clear(),location.href=Prolog.loginPage,!0}},function(Y,Z){var e=$("#layui-layer"+Z).find(".layui-layer-btn0");e.hasClass("layui-btn-disabled")||(e.addClass("layui-btn-disabled"),Prolog.validatePassword(Y,X),Prolog.showLoginForm=!1,layer.close(Z))});return!0}null!=Prolog.loginPage&&""!=Prolog.loginPage&&(localStorage.clear(),location.href=Prolog.loginPage)},Prolog.refreshToken=function(){var Y=localStorage.getItem("token_expir"),Z=localStorage.getItem("authorization");if(Y&&Z){var e=parseInt(Y),L=(new Date).getTime();e-L<36e4&&L<e&&null!=Prolog.refreshTokenUrl&&""!=Prolog.refreshTokenUrl&&$.ajax({url:Prolog.refreshTokenUrl,method:"GET",beforeSend:function(Y){Y.setRequestHeader("Authorization",Z)},success:function(Y){Y.success&&(localStorage.setItem("authorization","Bearer "+Y.data.token),localStorage.setItem("token_expir",Y.data.expir),Prolog.reloadToken())}})}},Prolog.showErrorMsg=function(Y){Prolog.showLoginForm||layer.alert(Y,{time:0,title:"错误",btn:["确认"],yes:function(Y){layer.close(Y)}})},Prolog.ajax=function(L){if(Prolog.requireLogin(L))Prolog.closeLoading();else{Prolog.refreshToken(),Prolog.reloadToken();var Z=this,X=$.extend(!0,{timeout:3e4,dataType:"json"},L);X.error=function(Y,Z,e){layer.closeAll("loading"),401==Y.status?Prolog.showErrorMsg(_t("未认证")):403==Y.status?Prolog.showErrorMsg(_t("无权限访问")):404==Y.status?Prolog.showErrorMsg(X.url+"<br>"+_t("找不到服务或资源")):500<=Y.status?Prolog.showErrorMsg(X.url+"<br>"+_t("服务异常")):Prolog.showErrorMsg(_t("访问错误,错误状态:"+Y.status)),L.error&&L.error(Y,Z,e)},X.beforeSend=function(Y){Y.setRequestHeader("Authorization",Z.token),L.beforeSend&&L.beforeSend(Y)},$.ajax(X)}},Prolog.syncAjax=function(L){if(Prolog.requireLogin(L))Prolog.closeLoading();else{Prolog.refreshToken(),Prolog.reloadToken();var Z=this,X=$.extend(!0,{timeout:3e4},L);X.error=function(Y,Z,e){layer.closeAll("loading"),401==Y.status?Prolog.showErrorMsg(_t("未认证")):403==Y.status?Prolog.showErrorMsg(_t("无权限访问")):404==Y.status?Prolog.showErrorMsg(X.url+"<br>"+_t("找不到服务或资源")):500<=Y.status?Prolog.showErrorMsg(X.url+"<br>"+_t("服务异常")):Prolog.showErrorMsg(_t("访问错误,错误状态:"+Y.status)),L.error&&L.error(Y,Z,e)},X.async=!1,X.beforeSend=function(Y){Y.setRequestHeader("Authorization",Z.token),L.beforeSend&&L.beforeSend(Y)},$.ajax(X)}},Prolog.getFormById=function(Y,Z,e){var L=null,X=Prolog.getJsonData("/japi/sysform2/form","GET",{systemId:Y,menuId:Z,formId:e,id:Y+"_"+Z+"_"+e});if(null!=X&&1==X.success)if(null!=X.data&&null!=X.data.fields){L=new PrologForm;var J=JSON.parse(X.data.fields);L.init(J)}else layer.msg("未定义表单内容");return L},Prolog.createRandomId=function(){return(new Date).getTime()+Math.random().toString().substr(2,5)},Prolog.loading=function(Y){return Prolog.loading2(Y)},Prolog.closeLoading=function(Y){layer.close(Y)},Prolog.deepClone=function(Y){if("string"==typeof Y||"number"==typeof Y||"boolean"==typeof Y||void 0===Y||"function"==typeof Y)return Y;if(Array.isArray(Y)){var Z=[];return Y.forEach(function(Y){Z.push(Y)}),Z}if("object"===_typeof(Y)){var e={};for(var L in Y)e[L]=Prolog.deepClone(Y[L]);return e}},Prolog.removeLoading=function(){return $(".load-bar").remove()},Prolog.loading2=function(){var Y=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"body",Z=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};Prolog.removeLoading();var e={title:_t("数据加载中...")};e=Object.assign(e,Z);var L=$('<div class="load-bar">\n <div class="ant-spin ant-spin-spinning ant-spin-show-text">\n <div class="plg-loading"></div>\n <div class="ant-spin-text"></div></div>\n </div>');return $(Y).append(L),function(){return $(Y).children(".load-bar").remove()}},Prolog.delGridRowData=function(Z,e,L,X,J,Y){if(!1===Y){if(null==Z.getSelectedRowId()&&J.length<1)return void PlgDialog.msg("请选择行!")}else if(null==Z.getCheckedIds())return void PlgDialog.msg("请选择行!");PlgDialog.confirm("是否删除吗?",{title:"删除提示",btn:["确定","取消"],zIndex:layer.zIndex},function(Y){PlgDialog.close(Y),""===L&&(L="post"),""===X&&(X="application/x-www-form-urlencoded"),layer.msg("数据处理中..."),Prolog.ajax({url:e,type:L,contentType:X,data:J,success:function(Y){"object"!=_typeof(Y)&&(Y=JSON.parse(Y)),Y.success?(Z.reload(),layer.closeAll()):layer.open({type:1,offset:"auto",id:"layerError",area:["500px"],title:"错误提示",content:'<div style="padding: 10px;">'+$.parseJSON(Y).message+"</div>",btn:"关闭",btnAlign:"r",shade:0,yes:function(){layer.closeAll()}})},error:function(){}})})},Prolog.setLocalStorage=function(Y,Z){localStorage.setItem(Y,JSON.stringify(Z))},Prolog.getLocalStorage=function(Y){return JSON.parse(localStorage.getItem(Y))},Prolog.removeItemLocalStorage=function(Y){localStorage.removeItem(Y)},Prolog.setSessionStorage=function(Y,Z){sessionStorage.setItem(Y,JSON.stringify(Z))},Prolog.getSessionStorage=function(Y){return JSON.parse(sessionStorage.getItem(Y))},Prolog.removeItemSessionStorage=function(Y){sessionStorage.removeItem(Y)},Prolog.getRequestParams=function(){var Y=window.document.location.href.toString().split("?");if("string"!=typeof Y[1])return{};Y=Y[1].split("&");var Z={};for(var e in Y){var L=Y[e].split("=");Z[L[0]]=decodeURIComponent(L[1])}return Z},Prolog.isLogined=function(){var Y=null,Z=null,e=Prolog.getRequestParams();if(e.access_token&&e.expir?(Y=e.access_token,Z=e.expir,localStorage.setItem("authorization",Y),localStorage.setItem("token_expir",Z)):(Y=localStorage.getItem("authorization"),Z=localStorage.getItem("token_expir")),null==Y||""==Y||null==Z||""==Z)return!1;var L=parseInt(Z);return!((new Date).getTime()>L)};
  2. "use strict";!function(e,n){n.use(["layer"],function(){var a=n.layer;a.config({anim:0,zIndex:1e4,shade:.5,btnAlign:"r",fixed:!1});var e=a;e.showUploadDialog=function(i){var e={title:"上传文件",skin:"layui-layer-lan",closeBtn:1,type:1,resize:!0,btn:["上传","取消"],btn1:function(e,n){PlgDialog.close(e)},btn2:function(e,n){PlgDialog.close(e)},area:["300px","300px"],content:'<div id="xx-win-dd-1"></div>',success:function(e,n){new PlgForm({items:[{type:"upload",name:"files",url:i}]}).renderTo("xx-win-dd-1")}};a.open(e)},e.showGridDialog=function(l,t,e){var n={title:e.title?e.title:"",skin:"layui-layer-lan",closeBtn:1,type:1,resize:!0,tipsMore:!0,btn:["选择","取消"],btn1:function(e,n){var i=l.getSelectedRowId();if(i){var o=l.getSelectedRowData();t&&t(i,o),PlgDialog.close(e)}else a.msg("为选择数据")},btn2:function(e,n){PlgDialog.close(e)},area:[e.width+"px",e.height+"px"],content:'<div id="'+panelId+'-win-grid-1"></div>',success:function(e,o){l.renderTo(panelId+"-win-grid-1"),l.loadData(),l.on("onRowDblClicked",function(e,n){var i=l.getUserData(e,"data");t&&t(e,i),PlgDialog.close(o)})}};1==type&&(n.btn=["保存","取消"],n.btn2=n.btn3,n.btn3=null),PlgDialog.open(n)},e.loading2=Prolog.loading2,e.removeLoading=Prolog.removeLoading,window.PlgDialog=e})}(jQuery,layui);
  3. "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eXcell_button(t){t&&(this.cell=t,this.grid=this.cell.parentNode.grid),this.edit=function(){},this.isDisabled=function(){return!0},this.setValue=function(t){var e=this.cell.parentNode.idd,n=JSON.stringify(this.grid.getUserData(e,"data"));n=n.replaceAll("'","");for(var a=(t=t.replaceAll(",",";")).split(";"),i="",l=0;l<a.length;l++){var r=a[l],s=r.substring(0,r.indexOf("^"));i+="<div class='plg-divider plg-divider-vertical'></div><a class='' href='javascript:void(0);' onclick='"+r.substring(r.indexOf("^")+1)+'("'+e+'",'+n+")' >"+s+"</a>"}i=i.substring(i.indexOf("<a")),this.setCValue(i,t)}}eXcell_button.prototype=new eXcell,function(W){W.fn.initPlgGrid=function(t){var e=new a(t),n=W(this).attr("id");return e.renderTo(n),e};var a=function(t){var f,p,i,m,b,v,y,w,C,x,A,S,D,k,N,E,R,o,c,P,I,j,e={isI18n:window.isI18n||!1,title:"",renderer:"",fixedLast:!1,columns:[],multiselect:!1,url:"data.json",type:"get",pageNum:"pageNum",pageSize:"pageSize",params:{pageSize:10,pageNum:1},contentType:"application/x-www-form-urlencoded",page:!0,totalCount:"totalCount",toolbar:[],formData:[],pagebar:{buttons:[],type:"full"},beforeLoadData:null};f=W.extend({},e,t),this.opts=f;var n=Prolog.createRandomId(),r=e.params.pageNum,s=e.params.pageSize;if(f.params){var a=f.params;if("object"==_typeof(a))r=null!=a.pageNum?a.pageNum:r,s=null!=a.pageSize?a.pageSize:s;else{var l=JSON.parse(a);r=null!=l.pageNum?l.pageNum:r,s=null!=l.pageSize?l.pageSize:s}}var d,u,h=1,g=null,T={},H=0,B=this;function O(){var t=W("#"+w+" .objbox"),e=W("#"+w+" .objbox table"),n=W("#"+w+" .xhdr table");if(f.fixedLast&&t.width()>e.width()){var a,i=t.width()-e.width()-1;(a=e.find("tbody tr:first-child th:last-child")).width(a.width()+i);var l=n.find("tbody tr:first-child th:last-child");l.width(l.width()+i)}e.height()>t.height()&&(a=e.find("tbody tr:first-child th:last-child")).width(a.width()-8);var r=W("#"+C)[0]?W("#"+C).height()+5:0;W("#"+m+" .center-panel .plg-grid-sidebuttonpanel a").css("top",r),G()}function L(t){W("#"+(d=t)).empty(),t+"-colsetting-"+n,m=t+"-panel-"+n,S=t+"-centerPanelId-"+n,b=t+"-sidebar-"+n,v=t+"-sidebarform-"+n,C=t+"-toolbar-"+n,x=t+"-pagebar-panel-"+n,y=t+"-pagebar-"+n,w=t+"-panel-grid-"+n,A=t+"-panel-grid-title-"+n,function(t){(p=document.createElement("div")).className="plg-grid-panel layui-row",p.setAttribute("id",m),W("#"+t).append(p);var e=document.createElement("div");e.setAttribute("id",S),e.className="center-panel layui-col-md12",p.appendChild(e);var n=document.createElement("div");if(n.setAttribute("id",S),n.className="plg-grid-body",f.enableSideBar&&null!=!f.sideBar){var a=function(){var t=document.createElement("div");t.className="plg-grid-sidebuttonpanel";var n=document.createElement("a");return n.setAttribute("href","javascript:void(0);"),n.innerHTML="<i class='layui-icon layui-icon-next'></i>",t.appendChild(n),n.onclick=function(){var t=W("#"+b),e=W("#"+S);t.is(":hidden")?(e.removeClass("layui-col-md12"),e.addClass("layui-col-md9"),t.show(),n.innerHTML="<i class='layui-icon layui-icon-next'></i>"):(t.hide(),e.removeClass("layui-col-md9"),e.addClass("layui-col-md12"),n.innerHTML="<i class='layui-icon layui-icon-prev'></i>")},t}();e.appendChild(a)}if(e.appendChild(n),f.title&&""!=f.title){var i=document.createElement("div");i.className="plg-grid-title",i.setAttribute("id",A),i.innerHTML=f.title,n.appendChild(i)}if(f.toolbar&&0<f.toolbar.length){var l=document.createElement("div");l.setAttribute("id",C),l.className="plg-toolbar",n.appendChild(l),r=C,s=f.toolbar,k=new PlgForm({renderer:r,items:s}),W("#"+r).addClass("plg-toolbar")}var r,s;var o=document.createElement("div");if(o.setAttribute("id",w),o.className="plg-grid",n.appendChild(o),function(t){D=new dhtmlXGridObject(t);var e,n,a,i=f.imagePath||Prolog.GridImageBasePath;i&&0<i.length&&(i="/"!=i.substr(i.length-1,1)?i+"/":i,D.setImagePath(i)),e=f.isI18n&&0<f.columns.length?(n=f.columns,a=[],n.map(function(t,e){return a[e]=Prolog.deepClone(t),t.name&&i18next.exists(t.name.toString())&&(a[e].name=i18next.t(t.name)),a}),a):f.columns.slice(0),P=new Array,I=new Array,j=new Array;var l=new Array,r=new Array,s=new Array,o=new Array,o=new Array,c=new Array;P.push("chbx000"),I.push("<a href='javascript:void(0);' class='plg-grid-first-col'><i class='layui-icon layui-icon-component'></i></a>"),s.push("text-align:center"),l.push("35"),r.push("center"),o.push("ro"),c.push("int"),j.push(!1),f.multiselect&&(P.push("chbx001"),I.push('<img src="'+D._imgURL+'dhxgrid_web/item_chk0.gif" class="plg-grid-second-col" title="">'),s.push("text-align:center"),l.push("35"),r.push("center"),o.push("ch"),c.push("na"),j.push(!1)),c.push("str");for(var d=0;d<e.length;d++){P.push(e[d].id),I.push(null==e[d].name?e[d].id:e[d].name),l.push(null==e[d].width?"*":e[d].width),r.push(null==e[d].align?"left":e[d].align);var u=e[d].headerAlign?e[d].headerAlign:e[d].align;s.push(null==u?"text-align:left":"text-align:"+e[d].align),o.push(null==e[d].type?"ro":e[d].type),c.push(null==e[d].sort?"str":e[d].sort),1==f.fixedLast&&d==e.length-1&&(T.width=e[d].width,f.multiselect?T.index=d+2:T.index=d+1),e[d].hidden?(j.push(!0),f.multiselect?D.setColumnHidden(d+2,!0):D.setColumnHidden(d+1,!0)):j.push(!1)}D.setColumnIds(P.toString()),D.setHeader(I.toString(),null,s),D.setInitWidths(l.toString()),D.setColAlign(r.toString()),D.setColTypes(o.toString()),D.setColSorting(c.toString()),f.filters&&(f.multiselect?D.attachHeader(",,"+f.filters.toString()):D.attachHeader(","+f.filters.toString())),D.enableMultiselect(f.multiselect),D.enableAutoHeight(!1),D.enableRowsHover(!0,"plg-grid-hover"),D.opts=f,D.attachEvent("onCheck",function(t,e,n){if(1==e&&f.multiselect){z();var a=W("#"+m+" .plg-grid-second-col"),i=a.attr("src");return D.getAllRowIds().split(",").length==D.getCheckedRows(1).split(",").length?a.attr("src",i.replaceAll("chk0","chk1")):a.attr("src",i.replaceAll("chk1","chk0")),!0}return!0}),D.attachEvent("onAfterSorting",function(t,e,n){return O(),!0}),D.attachEvent("onResizeEnd",function(t,e,n){return O(),!0}),D.attachEvent("onHeaderClick",function(t,e){if(0==t)return function(t){for(var e='<div class="layui-form plg-clsset-form" >',n=f.multiselect?2:1;n<P.length;n++)e+='<div class="layui-form-item plg-clsset-item"><input type="checkbox" lay-filter="plgclssetitem" index='+n+' name="'+P[n]+'" lay-skin="primary" title="'+I[n]+'" '+(j[n]?"":"checked")+"></div>";e+='<div style="clear:both;margin:0px;height:1px;">&nbsp;</div>',e+="</div>",PlgDialog.tips(e,t,{tips:[3,"#fff"],time:0,shade:.001,shadeClose:!0,success:function(t,e){W(t).find(".layui-layer-TipsG").remove(),layui.form.render("checkbox"),layui.form.on("checkbox(plgclssetitem)",function(t){var e=W(t.elem).attr("index");t.elem.checked?(D.setColumnHidden(e,!1),j[e]=!1):(D.setColumnHidden(e,!0),j[e]=!0),O()})}})}("#"+m+" .plg-grid-first-col i"),!1;if(1!=t)return!0;if(f.multiselect){var n=W("#"+m+" .plg-grid-second-col"),a=n.attr("src");-1<a.indexOf("chk0")?(U(!0),n.attr("src",a.replaceAll("chk0","chk1"))):(U(!1),n.attr("src",a.replaceAll("chk1","chk0"))),event.stopPropagation()}return!0}),D.init()}(w),function(){if(null!=f.formData){E=new PlgForm({items:f.formData}),R=new Array;for(var t=0;t<f.formData.length;t++)F(f.formData[t])}}(),f.pagebar||f.page){var c=document.createElement("div");if(c.className="plg-grid-pagebar",c.setAttribute("id",x),n.appendChild(c),f.pagebar&&f.pagebar.buttons&&0<f.pagebar.buttons.length&&function(t){if(f.pagebar&&f.pagebar.buttons&&0<f.pagebar.buttons.length){var e=document.createElement("div");e.className="div-pagebtn disable";var n=document.createElement("div");n.className="div-pagebtn-info",n.innerHTML='<i class="layui-icon layui-icon-about"></i>已选择&nbsp;<span class="selectedCount">0</span>&nbsp;项',e.appendChild(n);for(var a=0;a<f.pagebar.buttons.length;a++){var i=f.pagebar.buttons[a],l=document.createElement("button");l.className="layui-btn pagebar-button layui-btn-disabled "+(null!=i.className?i.className:""),l.innerHTML=i.text,i.name&&l.setAttribute("name",i.name),e.appendChild(l)}t.appendChild(e)}}(c),f.page){var d=document.createElement("div");d.setAttribute("id",y),d.className="div-pagebar",c.appendChild(d)}}if(f.enableSideBar&&null!=!f.sideBar){e.className="center-panel layui-col-md9";var u=function(t,e){var n=document.createElement("div");n.className="layui-col-md3 plg-grid-sidebar",n.setAttribute("id",t);var a=document.createElement("div");return a.setAttribute("id",e),a.className="plg-grid-sidebarform",n.appendChild(a),n}(b,v);p.appendChild(u),h=v,g=f.sideBar,N=new PlgForm({renderer:h,items:g})}var h,g}(d),function(){for(var t in D.entBox.onselectstart=null,D)if(-1===t.indexOf("_")&&"function"==typeof D[t]&&!X[t]){var e=D[t];X[t]=e.bind(D)}}(),W("#"+d).addClass("grid-container-full"),W(B.getElement()).resize(function(){var t=this.querySelector(".xhdr");0<t.scrollLeft&&(t.scrollLeft=0);var e=W(this).find(".objbox table tr:first-child th:last-child");e.width(e.width()+.1),e.width(e.width()-.1),O()})}function z(){var t=D.getCheckedRows(1),e=W("#"+x+" .div-pagebtn"),n=null!=t&&""!=t?t.split(",").length:0;e.find(".selectedCount").text(n),null!=t&&""!=t?e.hasClass("disable")&&(e.removeClass("disable"),e.find("button").removeClass("layui-btn-disabled")):e.hasClass("disable")||(e.addClass("disable"),e.find("button").addClass("layui-btn-disabled"))}function F(t){if(null!=t.editable&&0==t.editable&&R.push(t.name),t.list&&0<t.list.length)for(var e=0;e<t.list.length;e++)F(t.list[e])}function _(t,e){r=t.curr,s=t.limit,g&&g(t,e),e||M()}function G(){if(f.fixedLast){W("#"+w+" .objbox table.obj tr td:last-child").children().css("display","none"),W("#"+w+" .objbox table.obj tr td:last-child").css("border-left","none"),W("#"+w+" .xhdr table.hdr tr td:last-child").children().css("display","none"),W("#"+w+" .xhdr table.hdr tr td:last-child").css("border-left","none");var t=W("#"+w),e=t.find(".xhdr:first-child"),n=W("#"+w+" .objbox");if(!(t.length<1||e.length<1||n.length<1)){W("#"+w+" .objbox table.obj tr:first-child th:last-child").width(),t.height();var a=W("#"+w+"-fixed-panel");null==a||0==a.length?((a=W(document.createElement("div"))).attr("id",w+"-fixed-panel"),a.addClass("grid-fexed-column"),t.append(a)):a.empty();var i=e.find("table tr:last-child td:last-child .hdrcell").html(),l=e.height(),r=(e.find("table tr:last-child td:last-child").width(),t.find(".objbox table tr")),s=W(document.createElement("div"));s.addClass("header"),s.height(l),s.css("line-height",l+"px"),s.html(i),a.append(s);var o=W(document.createElement("div"));o.addClass("ul-container");for(var c=W(document.createElement("table")),d=1;d<r.length;d++){var u=r[d],h=W(u).find("td:last-child"),g=W(document.createElement("tr")),p=W(document.createElement("td"));p.attr("valign","middle"),p.attr("align","center"),p.css("height",W(u).height()+"px"),p.html(h.html()),p.children().css("display",""),g.append(p),c.append(g)}o.append(c),a.append(o),setTimeout(function(){o.css("max-height",n[0].clientHeight+"px");try{o.scrollTop(n.scrollTop())}catch(t){}},100),n.scroll(function(){0==H&&o.scrollTop(n.scrollTop())}),n.mouseover(function(){H=0}),o.scroll(function(){1==H&&n.scrollTop(o.scrollTop())}),o.mouseover(function(){H=1})}}}function U(t){for(var e=D.getRowsNum(),n=t?1:0,a=0;a<e;a++)D.cellByIndex(a,1).setValue(n);z()}function V(t,e){var n,a=Prolog.loading2("#"+S);if(f.fixedLast&&(null!=(n=W("#"+w+"-fixed-panel"))&&n.empty()),f.beforeDataLoad&&f.beforeDataLoad(f),t)return a(),J(t);e&&(u=e);if(null!=f.url&&""!=f.url){var i=f.params;if(f.page)if("object"==_typeof(i))i[f.pageNum]=r,i[f.pageSize]=s;else{var l=JSON.parse(i);l[f.pageNum]=r,l[f.pageSize]=s,i=JSON.stringify(l)}Prolog.ajax({url:f.url,type:f.type,data:i,contentType:f.contentType,success:function(t){a(),t.success&&J(t),u&&u(!0)},error:function(t){a(),u&&u(!1)}})}}function M(t,e){D.clearAll(),V(t,e)}function J(t){if("function"==typeof f.beforeLoadData&&(t=f.beforeLoadData(t)),"object"!=_typeof(t)&&(t=JSON.parse(t)),null==t.success||0!=t.success)if(t.data&&""!=t.data){var e;e=t.data.list?t.data.list:t.data,h=(r-1)*s+1;try{D.parse(function(t){for(var e,n=new Array,a=f.columns,i=0;i<t.length;i++){var l=t[i],r=new Array;f.multiselect?(r.push(h),r.push(0)):r.push(h),h+=1;for(var s=0;s<a.length;s++){var o=a[s].id;a[s].render&&(e=a[s].render(l[o],l))?r.push(e):r.push(l[o])}n.push({id:l[a[0].id],data:r,userdata:{data:l}})}return{rows:n}}(e),"json"),z()}catch(t){return void PlgDialog.msg("数据错误!")}if(f.page&&function(t,e,n){if(0!=f.page){s=null==s?0:s,e=null==e?0:e,W("#"+t).empty(),i=layui.laypage;var a=["count","prev","page","next","limit","skip","refresh"];f.pagebar&&"simple"==f.pagebar.type?a=["count","prev","page","next","refresh"]:f.pagebar&&"min"==f.pagebar.type&&(a=["count","prev","next"]),i.render({elem:t,count:e,limit:s,curr:n,limits:[5,10,20,30,50,100,200,500,1e3,2e3],groups:4,theme:"plg",prev:'<i class="layui-icon layui-icon-left"></i>',next:'<i class="layui-icon layui-icon-right"></i>',layout:a,jump:_})}}(y,t.data[f.totalCount],r),f.multiselect){var n=W("#"+m+" .plg-grid-second-col");if(n&&0<n.length){var a=n.attr("src");n.attr("src",a.replaceAll("chk1","chk0"))}}O()}else PlgDialog.msg("数据为空");else PlgDialog.alert(t.message?t.message:"空指针异常")}B.t=this.t(B.opts.isI18n),B.getPanelId=function(){return m},B.getGridId=function(){return w},B.getToolBarId=function(){return C},B.getPageBarPanelId=function(){return x},B.getGridTitleId=function(){return A},B.getCombo=function(t){return D.getCombo(t)},this.getSideBarForm=function(){return N},this.attachPageBarEvent=function(a){W("#"+x).on("click",".pagebar-button",function(){var t=W(this);if(!t.hasClass("layui-btn-disabled")){var e=t.attr("name"),n=D.getCheckedRows(1);a(e,n)}})},this.PageBarJump=function(t){"function"==typeof t&&(g=t)},this.showDialogResetBtn=null,this.showDialog=function(a,t,e,n,l,r){o&&o(a,t,e,n,l);var s=this;if(null!=E)if(1!=a||s.getSelectedRowId()){var i={title:t,closeBtn:1,type:1,resize:!0,tipsMore:!0,btn:[s.t("保存"),s.t("重置"),s.t("取消")],btn1:function(e,t){if(0!=E.validate()){var n,a=PlgDialog.loading2();r?(n=new Array).push(E.getFormData()):n=E.getFormData();var i=[];if(f.formData&&1<f.formData.length&&(f.formData.map(function(t){"label"===t.type&&t.list.map(function(t){i.push(t.name)})}),i=i.filter(function(t){return t})),null!=l.contentType&&-1<l.contentType.indexOf("application/json")?l.data=JSON.stringify(n):l.data=n,"function"==typeof l.saveAfter)try{if(l.data=l.saveAfter(E,l.data),!l.data)throw"saveAfter 回调没有return data";if(void 0===l.data.id)throw"data.id 没有定义"}catch(t){throw a(),new Error(t)}l.success=function(t){t.success?(s.reload(),PlgDialog.close(e)):t.message?PlgDialog.alert(t.message):PlgDialog.alert("数据返回失败"),a()},Prolog.ajax(l)}},btn2:function(t,e){return E.clear(),Object.keys(E.getFormData()).forEach(function(t){try{E.getDForm().clearNote(t),W(E.getDForm().getInput(t)).parent().parent().removeClass("validate_error")}catch(t){}}),"function"==typeof l.resetAfter&&l.resetAfter(E),!1},btn3:function(t,e){PlgDialog.close(t)},area:[e+"px",n+"px"],content:'<div id="'+m+'-win-form-1"></div>',success:function(t,e){if(E.renderTo(m+"-win-form-1"),1==a){!function(t,e){var n=t.getFormData();for(var a in n)n[a]=e[a];t.setFormData(n)}(E,s.getSelectedRowData());for(var n=0;n<R.length;n++)E.disableItem(R[n])}else for(n=0;n<R.length;n++)E.enableItem(R[n]);c&&c(E)}};1==a&&(i.btn=[s.t("保存"),s.t("取消")],i.btn2=i.btn3,i.btn3=null),PlgDialog.open(i)}else PlgDialog.msg("请选择行!");else PlgDialog.msg(s.t("未设置表单"))},this.fixedColumn=function(){G()},this.getElement=function(){return p},this.renderTo=function(t){return L(t),this},this.getGrid=function(t){return D},this.loadData=function(t,e){return V(t,e),this},this.getParams=function(){return f.params},this.setParams=function(t){f.params=t,s=t.pageSize?t.pageSize:s,r=t.pageNum?t.pageNum:r},this.getGridData=null,this.reload=function(t){M(t)},this.getCheckedIds=function(){return D.getCheckedRows(1)},this.getSelectedRowId=function(){return D.getSelectedRowId()},this.getSelectedRowData=function(t){var e=D.getSelectedRowId();return t?D.getUserData(e,"data")[t]:D.getUserData(e,"data")},this.getRowData=function(t,e){if(null==e||0==e.length)return D.getUserData(t,"data");if(Array.isArray(e)){for(var n={},a=0;a<e.length;a++)n[e[a]]=D.getUserData(t,"data")[e[a]];return n}return D.getUserData(t,"data")[e]},this.setRowSelectCheck=function(t){if(f.multiselect||t){var e=this.getCellObject(t,1),n=e.cell.children[0];-1<n.src.indexOf("chk0")?(n.src=n.src.replaceAll("chk0","chk1"),e.setChecked(!0)):(n.src=n.src.replaceAll("chk1","chk0"),e.setChecked(!1));var a=W("#"+m+" .plg-grid-second-col");this.getAllRowIds().split(",").length==this.getCheckedRows(1).split(",").length?a.attr("src",a.attr("src").replaceAll("chk0","chk1")):a.attr("src",a.attr("src").replaceAll("chk1","chk0"))}},this.getSelectedCellIndex=function(){return D.getSelectedCellIndex()},this.getRowId=function(t){return D.getRowId(t)},this.getRowIndex=function(t){return D.getRowIndex(t)},this.getCellObject=function(t,e){return D.cells(t,e)},this.getCellValue=function(t,e){return D.cells(t,e).getValue()},this.getCellObject2=function(t,e){return D.cells2(t,e)},this.getCellValue2=function(t,e){return D.cells2(t,e).getValue()},this.setCellValue=function(t,e,n){D.cells(t,e).setValue(n);var a=P[e],i=D.getUserData(t,"data");null!=i&&""!=i||(i={}),i[a]=n,D.setUserData(t,"data",i)},this.addRow=function(t,e,n){var a=[];a.push(D.getRowsNum()+1);var i=1;f.multiselect&&(a.push(0),i=2);for(var l=i;l<P.length;l++){var r=e[P[l]];a.push(r||"")}null!=n?D.addRow(t,a.toString(),n):D.addRow(t,a.toString()),D.setUserData(t,"data",e),O()},this.deleteRow=function(t){D.deleteRow(t),O()},this.getColumnsNum=function(){return D.getColumnsNum()},this.getColumns=function(){return P},this.getColumn=function(t){return P[t]},this.getHeaders=function(){return I},this.getColumnHeader=function(t){return I[t]},this.getGridForm=function(){return E},this.getToolBarForm=function(){return k},this.setColWidth=function(t,e){D.setColWidth(t,e.toString())},this.setColumnColor=function(t){D.setColumnColor(t.toString())},this.setColumnHidden=function(t,e){D.setColumnHidden(t,e)},this.setRowHidden=function(t,e){D.setRowHidden(t,e)},this.selectRowById=function(t){D.selectRowById(t)},this.resetSize=O,this.on=function(t,a){"beforeDialogOpen"==t?o=a:"afterDialogOpen"==t?c=a:"onAfterSorting"==t?D.attachEvent(t,function(t,e,n){O(),a(t,e,n)}):"onResizeEnd"==t?D.attachEvent(t,function(t){O(),a(t)}):"onCheck"==t?D.attachEvent(t,function(t,e,n){1==e&&f.multiselect&&z(),a(t,e,n)}):D.attachEvent(t,a)},this.attachEvent=this.on,this.attachToolBarEvent=function(t,e){k&&k.on(t,e)},this.attachSideBarEvent=function(t,e){N&&N.on(t,e)},this.splitAt=function(t){D.splitAt(t);for(var e=0;e<j.length;e++)j[e]&&D.setColumnHidden(e,!0)};var X=this;f.renderer&&""!=f.renderer&&L(f.renderer)};a.prototype.t=function(t){return this.t=t?function(t){return i18next.t(t)}:function(t){return t}},window.PlgGrid=a}(jQuery);
  4. "use strict";!function(o){var s,l,u,d,e,i,y={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhe:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],weekend:["日","一","二","三","四","五","六","七","八","九","十"],lunarStr:["初","十","廿","卅"],lunarMonStr:["正","二","三","四","五","六","七","八","九","十","冬","腊"],sTermInfo:[0,21208,42467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758],wFestive:["0520-母亲节","0630-父亲节","1144-感恩节"],cFestive:["0101-元旦","0214-情人节","0305#1963-雷锋日","0308-妇女节","0312-植树节","0401-愚人节","0501-劳动日","0504-青年节","0512-护士节","0601#1925-儿童节","0701#1997-建党节","0801#1927-建军节","0910-教师节","1001#1949-国庆节","1224-平安夜","1225-圣诞节"],lFestive:["1230-除夕","0101-春节","0102-正月初二","0115-元宵节","0505-端午节","0707-七夕节","0715-中元节","0815-中秋节","0909-重阳节","1208-腊八节","1224-小年"],lunarYearLength:function(t){for(var e=348,n=32768;8<n;n>>=1)e+=y.lunarInfo[t-1900]&n?1:0;return e+=y.leapMonthLengths(t)},lunarMonthLength:function(t,e){return y.lunarInfo[t-1900]&65536>>e?30:29},isLeapMonth:function(t){return!!(15&y.lunarInfo[t-1900])},leapMonth:function(t){return y.isLeapMonth(t)?15&y.lunarInfo[t-1900]:0},leapMonthLengths:function(t){return y.isLeapMonth(t)?65536&y.lunarInfo[t-1900]?30:29:0},year2GanZhe:function(t){var e=(t-3)%10;0===e&&(e=10);var n=(t-3)%12;return 0===n&&(n=12),y.Gan[e-1]+y.Zhe[n-1]},month2GanZhe:function(t,e){var n=(t-3)%10;0===n&&(n=10);var a=(n-1)%5*12+e+1;return y.Gan[a%10]+y.Zhe[a%12]},day2GanZhe:function(t){var e=40+t;return y.Gan[e%10]+y.Zhe[e%12]},sTerm:function(t,e){var n=31556925974.7*(t-1900)+6e4*y.sTermInfo[e],a=Date.UTC(1900,0,6,2,5);return new Date(n+a)},isTerm:function(t,e,n){var a=new Date(t,e-1,n),r=2*(e-1),i=y.sTerm(t,r);return y.isSameDay(i,a)?y.solarTerm[r]:(r+=1,i=y.sTerm(t,r),!!y.isSameDay(i,a)&&y.solarTerm[r])},isSameDay:function(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()},getStar:function(t,e){return["魔羯","水瓶","双鱼","白羊","金牛","双子","巨蟹","狮子","处女","天秤","天蝎","射手","魔羯"][t-1+([20,19,21,21,21,22,23,23,23,23,22,22][t-1]<e?1:0)]+"座"},toLunarMonth:function(t,e){return e?"闰"+y.lunarMonStr[t-1]+"月":y.lunarMonStr[t-1]+"月"},toLunarDay:function(t){return 10===t?"初十":y.lunarStr[Math.floor(t/10)]+(t%10==0?"十":y.weekend[t%10])},getAnimal:function(t){return y.Animals[(t-4)%12]},isTody:function(t){var e=new Date;return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()},isFestive:function(t,e,n,a,r,i){var o=9<r?r+"":"0"+r;o+=9<i?i+"":"0"+i;var s=9<e?e+"":"0"+e;s+=9<n?n+"":"0"+n;for(var l=y.lFestive,u=0,d=l.length;u<d;u+=1){if((p=l[u].match(/(\d*)-(.*)/))[1]===o)return p[2]}for(u=0,d=(l=y.cFestive).length;u<d;u+=1){var h=(p=l[u].match(/(\d*#?\d*)-(.*)/))[1].split("#");if(h[1]&&t>h[1]){if(h[0]===s)return p[2]}else if(!h[1]&&p[1]===s)return p[2]}l=y.wFestive;var c=new Date(t,e-1,n);for(u=0,d=l.length;u<d;u+=1){var p,m=(p=l[u].match(/(\d*)-(.*)/))[1].substring(0,2),f=p[1].substring(3,4),g=p[1].substring(2,3);if((9<e?e+"":"0"+e)===m&&c.getDay()===parseInt(f))if(y.theNoWeek(t,e,n)===parseInt(g))return p[2]}return!1},theNoWeek:function(t,e,n){var a=new Date(t,e-1,n);a.setDate(1);var r=new Date(t,e-1,n),i=a.getDay(),o=r.getDate();0===i&&(i=7);for(var s=1,l=8-i,u=1;;){if(s<=o&&o<=l)return u;u+=1,l=(s=l+1)+6}},isRunYear:function(t){return t%400==0||t%4==0&&t%100!=0},getlunarYMD:function(t){for(var e={year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()},n=(Date.UTC(e.year,e.month-1,e.day)-Date.UTC(1900,0,31))/864e5,a=0,r=1900;r<2101&&0<n;r++)n-=a=y.lunarYearLength(r);n<0&&(n+=a,r--),e.lunarYear=r;var i=!1,o=y.leapMonth(e.lunarYear);for(r=1;r<13&&0<=n;r++)n-=a=y.lunarMonthLength(e.lunarYear,r),i=!1,r===o&&(n<0?(r--,i=!0):n-=a=y.leapMonthLengths(e.lunarYear));return n<0&&(r===o&&i?(n+=a,i=!1):(r===o+1?(n+=a,i=!0):n+=a,r--)),e.lunarMonth=r,e.lunarMonthChiness=y.toLunarMonth(e.lunarMonth,i),e.lunarDay=n+1,e.lunarDayChiness=y.toLunarDay(e.lunarDay),e},lunarFestival:function(t){var e=y.getlunarYMD(t),n=y.isFestive(e.year,e.month,e.day,e.lunarYear,e.lunarMonth,e.lunarDay);y.isTerm(e.year,e.month,e.day);if(n)return n},lunarTerm:function(t){var e=y.getlunarYMD(t),n=y.isTerm(e.year,e.month,e.day);if(n)return n},lunarTime:function(t){return y.getlunarYMD(t).lunarDayChiness},date2lunar:function(t){var e={year:(t=t||new Date).getFullYear(),month:t.getMonth()+1,day:t.getDate()},n=(Date.UTC(e.year,e.month-1,e.day)-Date.UTC(1900,0,31))/864e5,a=0;e.gzD=y.day2GanZhe(n);for(var r=1900;r<2101&&0<n;r++)n-=a=y.lunarYearLength(r);n<0&&(n+=a,r--),e.lunarYear=r;var i=!1,o=y.leapMonth(e.lunarYear);for(r=1;r<13&&0<=n;r++)n-=a=y.lunarMonthLength(e.lunarYear,r),i=!1,r===o&&(n<0?(r--,i=!0):n-=a=y.leapMonthLengths(e.lunarYear));return n<0&&(r===o&&i?(n+=a,i=!1):(r===o+1?(n+=a,i=!0):n+=a,r--)),e.lunarMonth=r,e.lunarMonthChiness=y.toLunarMonth(e.lunarMonth,i),e.lunarDay=n+1,e.lunarDayChiness=y.toLunarDay(e.lunarDay),e.animal=y.getAnimal(e.year),e.week="星期"+y.weekend[t.getDay()],e.start=y.getStar(e.month,e.day),e.gzY=y.year2GanZhe(e.lunarYear),e.isTody=y.isTody(t),e.gzM=y.month2GanZhe(e.lunarYear,e.lunarMonth),e.isTerm=y.isTerm(e.year,e.month,e.day),e.isTerm&&(e.term=e.isTerm,e.isTerm=!0),e.isFestive=y.isFestive(e.year,e.month,e.day,e.lunarYear,e.lunarMonth,e.lunarDay),e.isFestive&&(e.festive=e.isFestive,e.isFestive=!0),e}},f={renderDetailMonth:function(t,e,n){var a=[],r=new Date,i="",o=new Date(e,n,1);o.setDate(1);var s=o.getDay();o.setDate(1-s);for(var l=o.getMonth(),u=0;u<42;u++)l!==n?0===o.getDay()||6===o.getDay()?a.push({month:o.getMonth(),day:o.getDate(),lunar:y.lunarTime(o),state:"weekend",festival:"",term:"",dateStr:f.returnDateStr(o)}):a.push({month:o.getMonth(),day:o.getDate(),lunar:y.lunarTime(o),state:"",festival:"",term:"",dateStr:f.returnDateStr(o)}):f.curDay(o,r)?0===o.getDay()||6===o.getDay()?a.push({month:o.getMonth(),day:o.getDate(),lunar:y.lunarTime(o),state:"weekend cur-day",festival:"",term:"",dateStr:f.returnDateStr(o)}):a.push({month:o.getMonth(),day:o.getDate(),lunar:y.lunarTime(o),state:"cur-day",festival:"",term:"",dateStr:f.returnDateStr(o)}):0===o.getDay()||6===o.getDay()?a.push({month:o.getMonth(),day:o.getDate(),lunar:y.lunarTime(o),state:"weekend cur-month",festival:"",term:"",dateStr:f.returnDateStr(o)}):a.push({month:o.getMonth(),day:o.getDate(),lunar:y.lunarTime(o),state:"cur-month",festival:"",term:"",dateStr:f.returnDateStr(o)}),o.setDate(o.getDate()+1),l=o.getMonth();this.params.startTime=a[0].dateStr,this.params.endTime=a[a.length-1].dateStr;for(var d=0;d<a.length;d++){var h=a[d].festival?"festival show":"festival",c=a[d].term?"term show":"term",p="初一"==a[d].lunar?y.date2lunar(o).lunarMonthChiness+a[d].lunar:a[d].lunar;if("初一"==a[d].lunar)if("正月"==y.date2lunar(o).lunarMonthChiness)var m="lunar first-lunarJanuary";else m="lunar first-lunarday";else m="lunar";i+='<li data-time="'.concat(a[d].dateStr,'" class="').concat(a[d].state,'">\n <p class="info">\n <span class="').concat(m,'">').concat(p,'</span>\n <span class="date">').concat(1===a[d].day?a[d].month+1+"月":"","<em>").concat(a[d].day,'</em>日</span>\n </p>\n <div class="').concat(h,'">').concat(a[d].festival,'</div>\n <div class="').concat(c,'">').concat(a[d].term,'</div>\n <div class="addForm"></div>\n </li>')}t.html(i)},nowDate:function(){return new Date},returnDateStr:function(t){var e=t.getFullYear(),n=t.getMonth()+1,a=t.getDate();return e+"-"+(n=n<=9?"0"+n:""+n)+"-"+(a=a<=9?"0"+a:""+a)},curDay:function(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()},strFormatDate:function(t){return new Date(parseInt(t.substr(0,4)),parseInt(t.substr(4,2)),parseInt(t.substr(6)))}};function t(t){return this.tab_num=0,this.today=new Date,this.year=this.today.getFullYear(),this.month=this.today.getMonth(),this.detailsShow=!1,this.options={renderer:"",data:null,column:{timeKey:"deliverdate",width:110,height:110},ajaxInit:{url:"",type:"get",params:null,success:null},addItemClick:null,addItem:{width:600,height:500,title:"新增日程",formData:null,url:null,type:"post",contentType:"application/json",saveAfter:null},customDayRender:null,clickDetails:null,detailsDay:{formData:null}},this.params={startTime:"",endTime:""},this.options=o.extend(!0,this.options,t),this.options.detailsShow&&(this.detailsShow=this.options.detailsShow),this.element=function(){return(s=o('\n <div id="calendar">\n <header class="header">\n \n </header>\n\n <div class="container">\n <div id="renderMonth" class="render render-show">\n <div class="toolbar">\n <h2 class="title"></h2>\n <ul class="week">\n <li>周日</li><li>周一</li><li>周二</li> <li>周三</li> <li>周四</li><li>周五</li><li>周六</li>\n </ul> \n </div> \n <ul class="day" style="grid-template-columns: repeat(7,'.concat(this.options.column.width,"px);grid-template-rows: repeat(6,").concat(this.options.column.height,'px);"></ul>\n </div>\n <div id="renderDetails" class="render">\n <div class="title">\n <h2></h2>\n <p>\n <button class="layui-btn layui-btn-primary layui-btn-sm layui-icon layui-icon-left"> 返回 </button>\n </p>\n </div>\n\n <div class="details-body">\n <div id="plgCalendar-details-content"></div>\n </div>\n\n </div>\n <div id="control">\n <input type="button" value="<" class="btn btn-prev">\n <input type="button" value="今天" class="today">\n <input type="button" value=">" class="btn btn-next">\n </div>\n <div id="popup" style="display: none;">\n <h3 class="title">\n <input type="text">\n </h3>\n <i class="arrow arrow-left"></i>\n <i class="arrow arrow-right"></i>\n <p class="date"></p>\n <p class="lunar"></p>\n </div>\n </div>\n </div>'))).find(".toolbar .week li").width(this.options.column.width),l=s.find("#renderDetails"),u=l.find("h2"),d=s.find("#renderMonth"),e=d.find(".title"),i=d.find(".day"),s}.call(this),this.init(),this.promiseGetDate=n.call(this),this}function n(){var r=this;return new Promise(function(e,t){if(r.options.data)return r.options.data;if(!r.options.ajaxInit.url)return null;var n={url:r.options.ajaxInit.url,type:r.options.ajaxInit.type,data:Object.assign(r.options.ajaxInit.params,r.params)},a=PlgDialog.loading2();n.success=function(t){if(a(),t.success)return r.options.data=t.data,"function"==typeof r.options.ajaxInit.success&&r.options.ajaxInit.success(r.options.data),r.options.data.forEach(function(t){var e=r.options.column.timeKey,n=i.children('li[data-time="'.concat(t[e],'"]'));t="function"==typeof r.options.customDayRender?r.options.customDayRender(t):Object.values(t).join(","),n.children(".festival").show().append(t)}),e(r.options.data)},n.error=function(t,e,n){},n.complete=function(){a()},Prolog.ajax(n)})}function a(){e.html(this.year+"年"+(this.month+1)+"月"),f.renderDetailMonth.call(this,i,this.year,this.month)}t.prototype.reset=function(){return this.options.data=null,a.call(this),this.promiseGetDate=n.call(this),this},t.prototype.getData=function(){return this.options.data},t.prototype.init=function(){a.call(this),function(){var n=this,a=s.find("#control"),t=a.find(".btn-prev"),e=a.find(".today"),r=a.find(".btn-next"),i=(s.find("#popup"),s.find(".container ul.day"));e.click(function(){n.year=n.today.getFullYear(),n.month=n.today.getMonth(),n.reset()}),t.click(function(){0==n.month?(n.year--,n.month=11):n.month--,n.reset()}),r.click(function(){0==n.tab_num?11==n.month?(n.year++,n.month=0):n.month++:n.year++,n.reset()}),l.find(".layui-icon-left").click(function(t){t.preventDefault(),l.hide(),d.show(),a.show()}),i.on("click","li>div",function(t){t.stopPropagation();var e=o(this).parent().data("time");return o(this).is(".festival")&&(l.width(d.width()),l.height(d.height()),"function"==typeof n.options.clickDetails&&n.options.clickDetails(n.getData().find(function(t){return t[n.options.column.timeKey]==e})),n.detailsShow&&(n.options.detailsDay.formData&&new PlgForm({renderer:"plgCalendar-details-content",items:n.options.detailsDay.formData}),u.html(new Date(e).format("yyyy年MM月dd")),d.hide(),a.hide(),l.show())),!!o(this).is(".addForm")&&("function"==typeof n.options.addItemClick?n.options.addItemClick(e,n.showDialog.bind(n)):void n.showDialog())})}.call(this),this.options.renderer&&this.renderTo(this.options.renderer)},t.prototype.setAddItemFormData=function(t){if(Array.isArray(t))return this.options.addItem.formData=t,this},t.prototype.getDialogForm=function(){return new PlgForm({items:this.options.addItem.formData})},t.prototype.showDialog=function(){var a=this;if(this.options.addItem.formData){var r,t={title:this.options.addItem.title,closeBtn:1,type:1,area:[this.options.addItem.width+"px",this.options.addItem.height+"px"],resize:!0,tipsMore:!0,btn:["保存","重置","取消"],btn3:function(t,e){PlgDialog.close(t)},btn1:function(){if(0!=r.validate()){var e=PlgDialog.loading2(),t=r.getFormData();"function"==typeof a.options.addItem.saveAfter&&a.options.addItem.saveAfter(t,r);var n={url:a.options.addItem.url,type:a.options.addItem.type,contentType:a.options.addItem.contentType,data:t,success:function(t){t.success?(a.options.addItem&&a.options.addItem.yes(),a.reset()):t.message?PlgDialog.alert(t.message):PlgDialog.alert("保存失败"),e()},error:function(){e()}};Prolog.ajax(n)}},btn2:function(){return r.clear(),Object.keys(r.getFormData()).forEach(function(t){try{r.getDForm().clearNote(t),o(r.getDForm().getInput(t)).parent().parent().removeClass("validate_error")}catch(t){}}),!1},content:'<div id="plgCalendar-win-form-1"></div>',success:function(t,e){r=a.getDialogForm().renderTo("plgCalendar-win-form-1")}};return PlgDialog.open(t),this}PlgDialog.msg("addItem.formData","未设置表单")},t.prototype.renderTo=function(t){return this.options.renderer=t,o("#"+this.options.renderer).addClass("plg-calendar-panel").empty().append(this.element),this},window.PlgCalendarPanel=t}(jQuery);
  5. "use strict";function _defineProperty(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}!function(o){o.fn.initPlgCard=function(n){var e=new r(n),t=o(this).attr("id");return e.renderTo(t),e};var r=function(e){var n;if(e&&e.renderer){var l;l={};var t=(_defineProperty(n={_style:(l=o.extend({},l,e.config)).style,_data:l.data||"",_strTitle:function(){return'<div class="plg-card-components"> <div class="plg-card-header-container"> <fieldset><legend>'},_strHead:function(){return'<div class="plg-card-group">'},_strTitleHead:function(){return'</legend></fieldset></div><div class="plg-card-group">'},_strFooter:function(){return"</div>"}},"_strFooter",function(){return"</div></div>"}),_defineProperty(n,"generateOneTemplate",function(n){var t="";return n.forEach(function(n){t+='\n <div class="plg-card">\n <div class="plg-card-body">\n <div class="plg-card-no">'.concat(n.cardNo,'</div>\n <div class="plg-card-main">').concat(n.cardName,'</div>\n </div>\n \n <ul class="plg-card-btn-group">\n ');var e="";n.btn.forEach(function(n){e+="\n <li>".concat(n.text,"</li>\n ")}),t+=e,t+="\n </ul>\n </div>\n "}),t}),_defineProperty(n,"oneTemplate",function(){var n=this,t="";return n._data.forEach(function(n){t+='\n <div class="plg-card">\n <div class="plg-card-body">\n <div class="plg-card-no">'.concat(n.cardNo,'</div>\n <div class="plg-card-main">').concat(n.cardName,'</div>\n </div>\n \n <ul class="plg-card-btn-group">\n ');var e="";n.btn.forEach(function(n){e+="\n <li>".concat(n.text,"</li>\n ")}),t+=e,t+="\n </ul>\n </div>\n "}),n._strHead()+t+n._strFooter()}),_defineProperty(n,"twoTemplate",function(){var n=this,t="";return n._data.forEach(function(n){t+='\n <div class="plg-card">\n <div class="plg-card-body primary">\n '.concat(n.cardName,'\n </div>\n \n <ul class="plg-card-btn-group">\n ');var e="";n.btn.forEach(function(n){e+="\n <li>".concat(n.text,"</li>\n ")}),t+=e,t+="\n </ul>\n </div>\n "}),n._strHead()+t+n._strFooter()}),_defineProperty(n,"threeTemplate",function(){var n=this,t="";return n._data.forEach(function(n){t+='\n <div class="plg-card">\n <div class="plg-card-body primary">\n '.concat(n.cardName,'\n </div>\n \n <ul class="plg-card-btn-group">\n ');var e="";n.btn.forEach(function(n){e+="\n <li>".concat(n.text,"</li>\n ")}),t+=e,t+="\n </ul>\n </div>\n "}),n._strHead()+t+n._strFooter()}),_defineProperty(n,"addTemplate",function(){return'<div class="plg-card plg-add">\n <div class="layui-icon layui-icon-add-1 "></div>\n </div>'}),_defineProperty(n,"oneTitleTemplate",function(){var e=this,t="";return e._data.forEach(function(n){t+='<div class="plg-card-components"><div class="plg-card-header-container">\n <fieldset><legend>\n '.concat(n.title,"\n <legend><fieldset></div>"),t+=e._strHead(),t+=e.generateOneTemplate(n.dataList),t+=e._strFooter(),t+="</div>"}),t}),_defineProperty(n,"oneTitleAddTemplate",function(){var e=this,t="";return!(!e._data||e._data.length<1)&&(e._data.forEach(function(n){t+='<div class="plg-card-components"><div class="plg-card-header-container">\n <fieldset><legend>\n '.concat(n.title,"\n <legend><fieldset></div>"),t+=e._strHead(),t+=e.generateOneTemplate(n.dataList),t+=e.addTemplate(),t+=e._strFooter(),t+="</div>"}),t)}),_defineProperty(n,"getHtmlFragment",function(){var n=this._style+"Template";return this[n]?this[n]():new Error("不存在这个方法")}),n);this.on=function(n,c){l&&"add"!==l.style&&n&&"click"==n&&(["one","two","three"].includes(l.style)&&o("#"+e.renderer).on("click","li",function(n){var e=o(this).closest(".plg-card").index(),t=l.data[e].cardNo,r=l.data[e].btn[o(this).index()].fn;c&&c(t,r)}),["oneTitle","twoTitle","threeTitle","oneTitleAdd","twoTitleAdd","threeTitleAdd"].includes(l.style)&&(o("#"+e.renderer).off("click").on("click","li",function(n){var e,t,r=o(this).closest(".plg-card-components").index(),a=o(this).closest(".plg-card").index(),d=l.data[r].dataList[a];e=d.cardNo,t=d.btn[o(this).index()].fn;var i=l.data[r].title;i?c&&c(e,t,i):c&&c(e,t)}),o("#"+e.renderer).on("click",".plg-add",function(n){var e=o(this).closest(".plg-card-components").index(),t=l.data[e].title;t?c&&c(void 0,void 0,t):c&&c(void 0,void 0)}))),l&&"add"===l.style&&n&&"click"==n&&o("#"+e.renderer).on("click",".plg-card",function(n){c&&c()})},this.renderTo=function(n){o("#"+n).append(t.getHtmlFragment())},e.renderer&&this.renderTo(e.renderer)}};window.PlgCard=r}(jQuery);
  6. "use strict";!function(s){s.fn.initPlgCardList=function(t){var n=new e(t),i=s(this).attr("id");return n.renderTo(i),n};var e=function t(n){if(!n)return!1;var e;e={isShowAdd:!0};var i={_data:(e=Object.assign({},e,n.data))||"",_strTitle:function(){var t=this,n="";return n+='<div class="plg-zone-container">\n <div class="plg-zone-header">\n <div class="plg-title"><i class="layui-icon layui-icon-location"></i>\n '.concat(t._data.zoneName,"</div>"),t._data.isShowAdd&&(n+='<div class="plg-add">\n <button class="layui-btn layui-btn-normal" data-zoneid='.concat(t._data.zoneId,' name="plg-add">\n 添加\n </button>\n </div>')),n+='</div>\n <div class="plg-customer-list">\n <ul class="layui-row">'},_strCellStart:function(){return'<li class="layui-col-lg3 layui-col-md4 layui-col-sm6 \n layui-col-xs12">\n <div class="plg-cell">'},_strCellHead:function(t){return'<div class="plg-customer-name">\n <i class="plg-badge-dot"></i>'.concat(t,"\n </div>")},_strCellBody:function(t){return'<div class="plg-customer-des">'.concat(t,"</div>")},_strCellFooter:function(t){var n="";n+='<div class="plg-customer-other">\n <div class="plg-cutomer-no">编号:<span>'.concat(t.useNo,"</span></div>");var i="";if(0<Object.keys(t.btns).length){var e;JSON.stringify(t.id);for(e in i+='<div class="plg-cutomer-operating" data-id='.concat(t.id,">"),t.btns)i+='<span class="plg-'.concat(e,'">').concat(t.btns[e],"</span>");i+="</div>"}return n+=i,n+="</div>"},_strCellEnd:function(){return"</div>\n </li>"},_strFooter:function(){return"</ul>\n </div>\n </div>"},getHtmlFragment:function(){var i=this,e="";return i._data.customerList&&0<i._data.customerList.length&&i._data.customerList.map(function(t){var n={id:t.id,useNo:t.useNo,btns:t.btns};e+=i._strCellStart(),e+=i._strCellHead(t.name),e+=i._strCellBody(t.description),e+=i._strCellFooter(n),e+=i._strCellEnd()}),s(i._strTitle()+e+i._strFooter())}};function a(n){if(null==e||null==e.customerList||e.customerList.length<1)return null;var i=null;return e.customerList.map(function(t){t.id!=n||(i=t)}),i}t.prototype.cuson=function(){},this.on=function(t,i){var n=this;"add"!==t?n.event.find(".plg-"+t).length&&n.event.find(".plg-"+t).on("click",function(){var t=s(this).closest(".plg-cutomer-operating").data("id"),n=a(t);i&&i(t,n)}):n.event.find(".plg-add").eq(0).on("click",function(){var t=s(this).find(".layui-btn").eq(0).data("zoneid");i&&i(t)})},this.getData=a,this.renderTo=function(t){this.event=i.getHtmlFragment(),s("#"+t).append(this.event)},n.renderer&&this.renderTo(n.renderer)};window.PlgCardList=e}(jQuery);
  7. "use strict";!function(t,e){e.use(["laydate"],function(){var r=e.laydate;window.plgDate=r,t.fn.plgDateRender=function(e){var n=this,i=t.extend(!0,{value:""},e);return 1<this.length?t(this).each(function(e,t){i.elem=this,n.otps=r.render(i)}):(i.elem=this.selector,n.otps=r.render(i)),n}})}(jQuery,layui);
  8. "use strict";!function(a,i,s){var e,n=a([]),h=a.resize=a.extend(a.resize,{}),u="setTimeout",r="resize",d=r+"-special-event",o="delay",c="throttleWindow";h[o]=250,h[c]=!0,a.event.special[r]={setup:function(){if(!h[c]&&this[u])return!1;var t=a(this);n=n.add(t),a.data(this,d,{w:t.width(),h:t.height()}),1===n.length&&function t(){e=i[u](function(){n.each(function(){var t=a(this),i=t.width(),e=t.height(),n=a.data(this,d);i===n.w&&e===n.h||t.trigger(r,[n.w=i,n.h=e])}),t()},h[o])}()},teardown:function(){if(!h[c]&&this[u])return!1;var t=a(this);n=n.not(t),t.removeData(d),n.length||clearTimeout(e)},add:function(t){if(!h[c]&&this[u])return!1;var r;function i(t,i,e){var n=a(this),h=a.data(this,d);h.w=i!==s?i:n.width(),h.h=e!==s?e:n.height(),r.apply(this,arguments)}if(a.isFunction(t))return r=t,i;r=t.handler,t.handler=i}}}(jQuery,window);
  9. "use strict";dhtmlXForm.prototype.items.blockSelect={render:function(i,d){i._type="blockSelect",i._idd=d.name,i._value="",i._eable=!0;var s=this,e="dhxId_blockSelect_"+Prolog.createRandomId();i._cid=e;var t=document.createElement("div");t.setAttribute("class","dhxform_label "+d.labelAlign),t.innerHTML='<label for="'+e+'">'+d.label+"</label>",d.labelWidth&&(t.style.width=d.labelWidth+"px"),i.appendChild(t);var n=document.createElement("div");n.setAttribute("class","dhxform_control");var r=document.createElement("div");r.setAttribute("class","plg-form-multiSelect"),r.setAttribute("id",e),r.style.width=d.width+"px";var c=document.createElement("ul");if(i._ul=c,d.params=null==d.params?{}:d.params,d.requestMethod=null==d.requestMethod?"GET":d.requestMethod,d.valueField=null==d.valueField?"value":d.valueField,d.textField=null==d.textField?"text":d.textField,null!=d.url&&""!=d.url)Prolog.ajax({url:d.url,type:d.requestMethod,data:d.params,success:function(e){if(e.success){for(var t=e.data.list?e.data.list:e.data,l=0;l<t.length;l++){var a=document.createElement("li");a.innerHTML="<span>"+t[l][d.textField]+"</span>",a.setAttribute("value",t[l][d.valueField]),c.appendChild(a)}if(r.appendChild(c),n.appendChild(r),i.appendChild(n),d.disabled)return this.disable(i),this;s.bindClickEvent(i,d)}}});else{if(d.data&&0<d.data.length)for(var l=0;l<d.data.length;l++){var a=document.createElement("li");a.innerHTML="<span>"+d.data[l][d.textField]+"</span>",a.setAttribute("value",d.data[l][d.valueField]),c.appendChild(a)}if(r.appendChild(c),n.appendChild(r),i.appendChild(n),d.disabled)return this.disable(i),this;this.bindClickEvent(i,d)}return d.hidden&&(i.style.display="none"),this},bindClickEvent:function(a,i){var d=a._cid;$("#"+d).on("click","li",function(){if(!$(this).hasClass("disabled")){null==i.multiSelect||0==i.multiSelect?$(this).hasClass("active")?$(this).removeClass("active"):($("#"+d+" li").removeClass("active"),$(this).addClass("active")):$(this).hasClass("active")?$(this).removeClass("active"):$(this).addClass("active");for(var e=[],t=$("#"+d+" .active"),l=0;l<t.length;l++)e.push($(t[l]).attr("value"));a._value=e.join(","),i.listener&&i.listener(a._value)}})},destruct:function(e){$("#"+e._cid+" li").unbind("click"),e.innerHTML=""},setValue:function(e,t){var l=(e._value=t).toString();[].slice.call(e._ul.childNodes).forEach(function(e){var t=e.getAttribute("value");0<=l.indexOf(t)&&e.classList.add("active")})},getValue:function(e){return e._value},enable:function(e){$("#"+e._cid+" li").removeClass("disabled"),e._eable=!0},disable:function(e){e._eable=!1,$("#"+e._cid+" li").addClass("disabled")},reset:function(e){$("#"+e._cid+" li").removeClass("active"),e._value=""},clear:function(e){this.reset(e)},showItem:function(e){e.style.display="block"},hideItem:function(e){e.style.display="none"}},dhtmlXForm.prototype.clearBlockSelect=function(e){return this.doWithItem(e,"clear")},dhtmlXForm.prototype.getFormData_blockSelect=function(e){return this.doWithItem(e,"getValue")},dhtmlXForm.prototype.setFormData_blockSelect=function(e,t){return this.doWithItem(e,"setValue",t)};
  10. "use strict";dhtmlXForm.prototype.items.buttonGroup={render:function(e,l){e._idd=l.name,e._value="",e._type="buttonGroup",e._enabled=!l.disabled,e.classList.add("buttonGroup");var t=document.createElement("div");return 1==l.hidden&&this.hide(e),e._enabled||(this.userDisable(e),e.classList.add("disabled")),t.classList.add("dhxform_btn","more_btn"),t.setAttribute("role","link"),t.innerHTML='<div class="dhxform_btn_txt">'+l.value+'<i class="layui-icon layui-icon-right" style="font-size:12px;"></i></div><div class="dhxform_btn_filler" disabled="true"></div>',e.appendChild(t),l.width&&(e.childNodes[0].style.width=l.width+"px"),e._addSubListNode=function(){var e=document.createElement("DIV");return e._custom_css="_child_list",e._ofsNested=0,setTimeout(function(){e.childNodes[0].setAttribute("class","list-child")},0),e.style.width=this.childNodes[0].offsetWidth+"px",this.appendChild(e),e},this},destruct:function(e){for(this.doUnloadNestedLists(e),e.callEvent=null,e.checkEvent=null,e.getForm=null,e._autoCheck=null,e._type=null,e._enabled=null,e._cmd=null,e._name=null,e._doOnFocus=null,e._doOnBlur=null,e._doOnKeyUpDown=null,e.onselectstart=null,e.firstChild.onselectstart=null,e.firstChild.onkeypress=null,e.firstChild.ontouchstart=null,e.firstChild.onfocus=null,e.firstChild.onblur=null,e.firstChild.onkeyup=null,e.firstChild.onkeydown=null,e.firstChild.onmouseover=null,e.firstChild.onmouseout=null,e.firstChild.onmousedown=null,e.firstChild.onmouseup=null;0<e.childNodes.length;)e.removeChild(e.childNodes[0]);e.parentNode.removeChild(e),e=null},enable:function(e){0<=String(e.className).search("disabled")&&(e.className=String(e.className).replace(/disabled/gi,"")),e._enabled=!0,e.childNodes[0].removeAttribute("disabled"),e.childNodes[0].setAttribute("role","link"),e.childNodes[0].setAttribute("tabIndex","0")},disable:function(e){String(e.className).search("disabled")<0&&(e.className+=" disabled"),e._enabled=!1,e.childNodes[0].setAttribute("disabled","true"),e.childNodes[0].removeAttribute("role"),e.childNodes[0].removeAttribute("tabIndex")}};
  11. "use strict";dhtmlXCombo.prototype.getOption=function(t){for(var i=null,l=null,o=0;o<this.list.childNodes.length;o++)if(null==i){var n=this.list.childNodes[o]._optId;t&&this.t[n].obj.getValue(this.t[n].item).toString()==t.toString()&&(i=n,l=o)}return null==i?null:this._getOption(i,l)};
  12. "use strict";!function(v){v.fn.initPlgForm=function(t){var e=new i(t),n=v(this).attr("id");return e.renderTo(n),e};var i=function i(t){var e,s,l,r=this,n=new Array,a={renderer:null,items:[],isI18n:window.isI18n&&"undefined"!=typeof i18next||!1};function o(t,e,n,i){if(i){if("hidden"==n.getItemType(i))return!0;var a=i;t?(n&&n.clearNote(i),v(n.getInput(a)).parent().parent().removeClass("validate_error")):n&&(n.setNote(a,{text:e,width:"auto"}),v(n.getInput(a)).parents(".dhxform_item_label_left").addClass("validate_error"))}}function c(t){for(var e=0;e<l.length;e++){var n=l[e];f(t,n),m(n),d(n),h(n)}v(".plg-toolbar-right").parent().css("float","right"),v(".plg-toolbar-left").parent().css("float","left"),v("#"+t+" input").addClass("plg-input"),v("#"+t+" textarea").addClass("plg-input"),v("#"+t+" select").addClass("plg-input"),v("#"+t).find(".layui-row").parent().css("width","100%")}function u(t){if(0!=v("#"+t).length){for(var e in v("#"+t).empty(),s=new dhtmlXForm(t,l))if(-1===e.indexOf("_")&&"function"==typeof s[e]&&!r[e]){var n=s[e];r[e]=n.bind(s)}Object.assign(i.prototype,s.__proto__),c(t),v("input.calendar").attr("autocomplete","off")}}function d(t){if("combo"==t.type){var e=s.getCombo(t.name);t.width?(s.setItemWidth(t.name,t.width),e.conf.combo_width=t.width,e.base.style.width=Math.max(0,e.conf.combo_width)+"px"):setTimeout(function(){e.conf.combo_width=e.DOMParent.clientWidth,e.base.style.width=Math.max(0,e.conf.combo_width)+"px"},0),e.DOMelem.parentNode.parentNode.append(e.DOMlist),e.attachEvent("onOpen",function(){var t=v(e.DOMelem).width();return v(e.DOMlist).width(t),e.DOMlist.style.top=e.DOMParent.offsetHeight+"px",e.DOMlist.style.left=0,!(e.DOMlist.style.right=0)})}if(t.list&&0<t.list.length)for(var n=0;n<t.list.length;n++)d(t.list[n])}function h(t){if("button"==t.type&&t.className&&-1<t.className.indexOf("toggle")&&r.renderHiddenToggleItem(t.name),t.list&&0<t.list.length)for(var e=0;e<t.list.length;e++)h(t.list[e])}function m(t){if(t.hidden&&t.name&&n.push(t.name),t.list&&0<t.list.length)for(var e=0;e<t.list.length;e++)m(t.list[e])}function f(t,e){if(e&&e.placeholder&&("input"==e.type||"password"==e.type?(v("#"+t+" textarea[name='"+e.name+"']").attr("placeholder",e.placeholder),v("#"+t+" input[name='"+e.name+"']").attr("placeholder",e.placeholder)):"select"==e.type?v("#"+t+" select[name='"+e.name+"']").attr("placeholder",e.placeholder):"combo"==e.type?v("#"+t+" input[name='"+e.name+"']").parent().children("input").attr("placeholder",e.placeholder):"calendar"==e.type&&v("#"+t+" input[name='"+e.name+"']").parent().children("input").attr("placeholder",e.placeholder)),e.list&&0<e.list.length)for(var n=0;n<e.list.length;n++)f(t,e.list[n])}e=v.extend({},a,t),this.t=this.t(this.isI18n),"undefined"!=typeof i18next&&e.isI18n&&0<e.items.length&&(e.items=function a(t){var r=[];return t.map(function(t,e){if(r[e]=Prolog.deepClone(t),t.label){var n=t.label.indexOf(":");if(-1!=n){var i=t.label.toString().split("");i.splice(n),t.label=i.join("")}i18next.exists(t.label.toString())&&(r[e].label=i18next.t(t.label)),-1!=n&&i18next.exists(t.label)&&(r[e].label+=":")}return t.placeholder&&i18next.exists(t.placeholder.toString())&&(r[e].placeholder=i18next.t(t.placeholder)),"function"==typeof t.value?r[e].value=t.value():t.value&&i18next.exists(t.value.toString())&&(r[e].value=i18next.t(t.value)),t.text&&i18next.exists(t.text.toString())&&(r[e].text=i18next.t(t.text)),t.list&&0<t.list.length?r[e].list=a(t.list):t.options&&0<t.options.length&&(r[e].options=a(t.options)),r}),r}(e.items)),l=e.items,this.resetSize=function(){return c(e.renderer),this},this.loadComboData=function(t,e){var n=function t(e,n){for(var i=0;i<n.length;i++){var a=n[i];if(a.name==e)return a;if(a.list){var r=t(e,a.list);if(null!=r)return r}}return null}(t,l);if(null==n)PlgDialog.msg("找不到组件");else{var i=s.getCombo(n.name),a=(r=n.remote?n.remote:{})?r.success:null;if(e)var r=v.extend(!0,n.remote,e);i.clearAll(!1);var o=PlgDialog.load(1);r.error=function(){PlgDialog.close(o)},r.success=function(t){if(0==t.success)return PlgDialog.msg("数据加载失败,"+t.message),void PlgDialog.close(o);var e=null;e=function(t,e){for(var n={options:[]},i=0;i<t.length;i++){var a=t[i];e.valueField&&(a.value=a[e.valueField]),e.textField&&(a.text=a[e.textField]),n.options.push(a)}return n}(e=t.data.list?t.data.list:t.data,r),"function"==typeof r.beforeLoadData&&(e=r.beforeLoadData(e)),i.load(e,function(){PlgDialog.close(o)}),a&&a(t)},Prolog.ajax(r)}},this.getFormData=function(){return s.getFormData()},this.getDForm2=function(){var t=t;return function(){return t}},this.getDForm=function(){return s},this.getInput=function(t){return s.getInput(t)},this.getItemWidth=function(t){return s.getItemWidth(t)},this.getOptions=function(t){return s.getOptions(t)},this.getSelect=function(t){return s.getSelect(t)},this.getCheckedValue=function(t){return s.getCheckedValue(t)},this.getCombo=function(t){return s.getCombo(t)},this.hideItem=function(t,e){s.hideItem(t,e)},this.showItem=function(t,e){s.showItem(t,e)},this.showAllHItems=function(){for(var t=0;t<n.length;t++)s.showItem(n[t]);g=!1},this.hideAllHItems=function(){for(var t=0;t<n.length;t++)s.hideItem(n[t]);g=!0};var g=!0;function p(){var t="<i class='layui-icon layui-icon-down'></i>";return e.isI18n?i18next.t("展开")+t:"展开"+t}function I(){var t="<i class='layui-icon layui-icon-up'></i>";return e.isI18n?i18next.t("收起")+t:"收起"+t}this.toggleHItems=function(){return!(g=g?(this.showAllHItems(),!1):(this.hideAllHItems(),!0))},this.addHiddenToggleItem=function(t,e,n){var i=this;s.addItem(t,{type:"button",name:"plg-more-001",value:p,className:"link"},e,n),s.attachEvent("onButtonClick",function(t){"plg-more-001"==t&&(i.toggleHItems()?i.setItemLabel("plg-more-001",I()):i.setItemLabel("plg-more-001",p()))})},this.renderHiddenToggleItem=function(e){var n=this;n.setItemLabel(e,p()),s.attachEvent("onButtonClick",function(t){e==t&&(n.toggleHItems()?n.setItemLabel(e,I()):n.setItemLabel(e,p()))})},this.disableItem=function(t){s.disableItem(t)},this.disableAllItem=function(){s.forEachItem(function(t){s.disableItem(t)})},this.enableItem=function(t){s.enableItem(t)},this.enableAllItem=function(t){s.forEachItem(function(t){s.enableItem(t)})},this.clear=function(){s.clear();var t=s.getFormData();for(var e in t)t[e]="";s.setFormData(t)},this.addItem=function(t,e,n,i){s.addItem(t,e,n,i)},this.removeItem=function(t,e){s.removeItem(t,e)},this.reset=function(){s.reset()},this.getItemLabel=function(t,e){return 2==arguments.length?s.getItemLabel(t,e):s.getItemLabel(t)},this.getItemValue=function(t){return s.getItemValue(t)},this.setFormData=function(t){s.setFormData(t)},this.setFormItemData=function(t,e){var n={};n[t]=e,s.setFormData(n)},this.setItemFocus=function(t){s.setItemFocus(t)},this.setItemHeight=function(t,e){s.setItemHeight(t,e)},this.setItemWidth=function(t,e){s.setItemWidth(t,e)},this.setItemLabel=function(t,e){s.setItemLabel(t,e)},this.setItemValue=function(t,e){s.setItemValue(t,e)},this.setItemReadonly=function(t,e){s.setReadonly(t,e)},this.setItemRequired=function(t,e){s.setRequired(t,e)},this.setItemValidation=function(t,e){s.setValidation(t,e)},this.validateItem=function(t){return s.validateItem(t)},this.validate=function(){var a;return Object.setPrototypeOf(dhtmlxValidation,(a=s,{isPlusNumeric:function(t,e){var n=!!t.toString().match(/(^\d\d*\.\d*$)|(^\d\d*$)/);return o(n,"该项只能输入正数",a,e),n},isNot24h:function(t,e){t=Number(t);var n=isNaN(t);return o(n=t<=24,"该项不能大于24小时",a,e),n},isNotNegativeNume:function(t,e){t=Number(t);var n=isNaN(t);return o(n=!!t.toString().match(/(^\d+$)/),"该项只能输入正整数",a,e),n},isEmpty:function(t){return""==t},isNotEmpty:function(t,e){null!=t&&(t=t.toString());var n=t instanceof Array?0<t.length:""==!t;return o(n,"该项不能为空",a,e),n},isValidBoolean:function(t){return!!t.toString().match(/^(0|1|true|false)$/)},isValidEmail:function(t){return!!t.toString().match(/(^[a-z0-9]([0-9a-z\-_\.]*)@([0-9a-z_\-\.]*)([.][a-z]{3})$)|(^[a-z]([0-9a-z_\.\-]*)@([0-9a-z_\-\.]*)(\.[a-z]{2,5})$)/i)},isValidInteger:function(t,e){var n=!!t.toString().match(/(^-?\d+$)/);return o(n,"该项只能为整数",r.getDForm(),e),n},isValidNumeric:function(t,e){var n=!!t.toString().match(/(^-?\d\d*[\.|,]\d*$)|(^-?\d\d*$)|(^-?[\.|,]\d\d*$)/);return o(n,"该项只能输入数字!",a,e),n},isValidAplhaNumeric:function(t,e){var n=!!t.toString().match(/^[_\-a-z0-9]+$/gi);return o(n,"只能输入数字或小写字母!",a,e),n},isValidDatetime:function(t){var e=t.toString().match(/^(\d{4})-(\d{2})-(\d{2})\s(\d{2}):(\d{2}):(\d{2})$/);return e&&!!(e[1]<=9999&&e[2]<=12&&e[3]<=31&&e[4]<=59&&e[5]<=59&&e[6]<=59)||!1},isValidDate:function(t,e){var n=t.toString().match(/^(\d{4})-(\d{2})-(\d{2})$/),i=n&&!!(n[1]<=9999&&n[2]<=12&&n[3]<=31)||!1;return o(i,"日期格式不正确!",a,e),i},isValidTime:function(t){var e=t.toString().match(/^(\d{1,2}):(\d{1,2}):(\d{1,2})$/);return e&&!!(e[1]<=24&&e[2]<=59&&e[3]<=59)||!1},isValidIPv4:function(t,e){var n=t.toString().match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/),i=n&&!!(n[1]<=255&&n[2]<=255&&n[3]<=255&&n[4]<=255)||!1;return o(i,"IP地址格式不正确!",a,e),i},isValidCurrency:function(t){return!!t.toString().match(/^\$?\s?\d+?([\.,\,]?\d+)?\s?\$?$/)},isValidSSN:function(t){return!!t.toString().match(/^\d{3}\-?\d{2}\-?\d{4}$/)},isValidSIN:function(t,e){var n=!!t.toString().match(/^\d{9}$/);return o(n,"该项必须输入9位数字",a,e),n},isMoney_11bit:function(t,e){t=Number(t);var n=isNaN(t);return o(n=!!t.toString().match(/(^[1-9](\d){0,10}?(\.\d{1,2})?$)|(^0$)|(^\d\.\d{1,2}$)/),"该项只能输入0-11位数字,保留小数点后两位",a,e),n&&a.setItemValue(e,t),n}})),s.validate()},this.forEachItem=function(t){t&&s.forEachItem(t)},this.renderTo=function(t){return u(t),e.renderer=t,this},this.on=function(t,e){s.attachEvent(t,e)},this.attachEvent=this.on,this.attachComboEvent=function(t,e,n){s.getCombo(t)&&s.getCombo(t).attachEvent(e,n)},this.getLayDate=function(t){return s.getLaydate(t)},this.attachLayDateEvent=function(t,e,n){this.getLayDate(t)&&this.getDForm().attachLayDateEvent(t,e,n)},e.renderer&&u(e.renderer)};i.prototype.t=function(t){return this.t=t?function(t){return i18next.t(t)}:function(t){return t}},dhtmlXForm.prototype.setFormData=function(t){for(var e in t){var n=this.getItemType(e);switch(n){case"checkbox":this[1==t[e]||1==parseInt(t[e])||"true"==t[e]||t[e]==this.getItemValue(e,"realvalue")?"checkItem":"uncheckItem"](e);break;case"radio":this.checkItem(e,t[e]);break;case"input":case"laydate":case"textarea":case"password":case"select":case"multiselect":case"hidden":case"template":case"blockSelect":case"combo":case"calendar":case"colorpicker":case"editor":this.setItemValue(e,t[e]);break;default:this["setFormData_"+n]?this["setFormData_"+n](e,t[e]):(this.hId||(this.hId=this._genStr(12)),this.setUserData(this.hId,e,t[e]))}}},window.PlgForm=i}(jQuery);
  13. "use strict";dhtmlXForm.prototype.items.laydate={render:function(o,e){var d=this;o._type="calendar";o._enabled=!0;e=Object.assign({placeholder:"",value:"",lang:"zh_CN",dateType:"date",dateFormat:"yyyy/MM/dd",range:!1,showBottom:!0},e);var t=navigator.userAgent;0<=t.indexOf("MSIE 6.0")||0<=t.indexOf("MSIE 7.0")||t.indexOf("MSIE 8.0");this.doAddLabel(o,e),this.doAddInput(o,e,"INPUT","TEXT",!0,!0,"dhxform_textarea laydate"),this.doAttachChangeLS(o);document.createElement("input"),o.getForm();var n=o.childNodes[o._ll?1:0].childNodes[0];n.placeholder=e.placeholder,n.setAttribute("readonly",!0),o.childNodes[o._ll?1:0].childNodes[0]._idd=o._idd,o._f=e.dateFormat,o._lang=e.lang,o.value=e.value,"function"==typeof e.done&&(o._done=e.done),"function"==typeof e.ready&&(o._ready=e.ready),"function"==typeof e.change&&(o._change=e.change);var l=function(e){if(0<!Object.getOwnPropertyNames(e).length)return null;var t={year:0,month:1,date:1,hours:0,minutes:0,seconds:0};for(var n in e)t[n]=e[n];return new Date(Object.values(t).splice(0,3).join("-")+" "+Object.values(t).splice(3).join(":"))},a={elem:n,type:e.dateType,format:o._f,value:o.value,lang:o._lang,showBottom:e.showBottom,range:e.range,ready:function(e){o.ready&&o._ready(e)},done:function(e,t,n){var a="";a=t=l(t),0<Object.getOwnPropertyNames(n).length&&(n=l(n),(a=[]).push(t,n)),o._done&&o._done(e,t,n),d.setValue(o,a)},change:function(e,t,n){var a="";a=t=l(t),0<Object.getOwnPropertyNames(n).length&&(n=l(n),(a=[]).push(t,n)),o._change&&o._change(e,t,n),d.setValue(o,a)}};return o._c=layui.laydate.render(a),this},onReady:function(e,t){return"function"==typeof t?e._ready=t:null},onDone:function(e,t){return"function"==typeof t?e._done=t:null},onChange:function(e,t){return"function"==typeof t?e._change=t:null},setLaydateLang:function(e,t){return t&&(e._lang=t,e._c.config.lang=e._f),e._lang},getLaydate:function(e){return e},setSkin:function(e,t){return e._c.config.skin=t},setValue:function(t,e,n){e&&null!=e&&void 0!==e&&""!=e?Array.isArray(e)?(t.value=[],e.forEach(function(e){e instanceof Date&&t.value.push(new Date(e))})):(t.value=e instanceof Date?e:new Date(e),t.childNodes[t._ll?1:0].childNodes[0].value=e instanceof Date?layui.util.toDateString(e,t._f):e):(t.value=null,t.childNodes[t._ll?1:0].childNodes[0].value="")},getValue:function(e,t){var n=e.value||null;return!0!==t||n?!0===t?e.childNodes[e._ll?1:0].childNodes[0].value:n:""},setLaydateFormat:function(e,t){e._f=t,e._c.config.format=e._f,this.setValue(e,this.getValue(e))},destruct:function(e){e._c=null,e._f=null,e.childNodes[e._ll?1:0].childNodes[0]._idd=null,e.childNodes[e._ll?1:0].childNodes[0].onblur=null,this.d2(e),e=null},checkEnteredValue:function(e){}},function(){for(var e in{doAddLabel:1,doAddInput:1,doUnloadNestedLists:1,setText:1,getText:1,enable:1,disable:1,isEnabled:1,setWidth:1,setReadonly:1,isReadonly:1,setFocus:1,getInput:1})dhtmlXForm.prototype.items.laydate[e]=dhtmlXForm.prototype.items.input[e]}(),dhtmlXForm.prototype.items.laydate.doAttachChangeLS=dhtmlXForm.prototype.items.select.doAttachChangeLS,dhtmlXForm.prototype.items.laydate.d2=dhtmlXForm.prototype.items.input.destruct,dhtmlXForm.prototype.getLaydate=function(e){return this.doWithItem(e,"getLaydate")},dhtmlXForm.prototype.setLaydateLang=function(e,t){return this.doWithItem(e,"setLaydateLang",t)},dhtmlXForm.prototype.attachLayDateEvent=function(e,t,n){return this.doWithItem(e,t,n)},dhtmlXForm.prototype.setLaydateFormat=function(e,t){this.doWithItem(e,"setLaydateFormat",t)};
  14. "use strict";dhtmlXForm.prototype.items.row={_index:!1,render:function(e,t){e._type="row",e._idd=t.name,e.className="row_"+t.position+("string"==typeof t.className?" "+t.className:""),e._enabled=!0,e._checked=!0;var o="dhxId_row"+Prolog.createRandomId(),n=document.createElement("div");return n.id=e._cid=o,n.className="cl",t.style&&(n.style.cssText=t.style),isNaN(t.width)?e._width="100%":e._width=t.width+"px",n.style.width=e._width,e.parentNode.style.cssText="width:100%; ",e.parentNode.parentNode.style.width="100%",e.parentNode.parentNode.style.clear="both",e.parentNode.parentNode.style.float="none",e.appendChild(n),1==t.hidden&&this.hide(e),1==t.disabled&&this.userDisable(e),e._addSubListNode=function(){var e=document.createElement("DIV");return e._custom_css="_row_list",e._ofsNested=0,setTimeout(function(){e.childNodes[0].setAttribute("class","layui-row")},0),this.childNodes[0].appendChild(e),e},this},destruct:function(e){e.innerHTML=""},setValue:function(e){},getValue:function(e){},enable:function(e){},disable:function(e){},getText:function(e){},getWidth:function(){},getFormRow:function(e){return e}},dhtmlXForm.prototype.getFormRow=function(e){return this.doWithItem(e,"getFormRow")};
  15. "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}dhtmlXForm.prototype.items.selectTable={render:function(s,d){s._type="selectTable",s._idd=d.name,s._value="",s._table=d.table,s._active=!1;var c,o="dhxId_selectTable_"+Prolog.createRandomId(),t=document.createElement("div");t.setAttribute("class","dhxform_label "+d.labelAlign),t.innerHTML='<label for="'+o+'">'+d.label+"</label>",d.labelWidth&&(t.style.width=d.labelWidth+"px"),s.appendChild(t);var e=document.createElement("div");e.setAttribute("class","dhxform_control");var f=document.createElement("input");f.setAttribute("type","text"),f.setAttribute("class","dhxform_textarea plg-input"),f.style.width=d.width+"px",f.setAttribute("placeholder",d.placeholder),f.setAttribute("readonly","readonly"),e.appendChild(f);var h=document.createElement("input");if(h.setAttribute("type","hidden"),h.setAttribute("name",d.name),e.appendChild(h),s.appendChild(e),1==d.disabled)return f.setAttribute("disabled","disabled"),h.setAttribute("disabled","disabled"),s._enabled=!1,this;var r=-1;function u(t,e){var i=c.getRowData(t,d.fieldValue),l=[];try{l=null!=s._value&&""!=s._value?JSON.parse(s._value):[]}catch(t){l=[]}-1<Prolog.hasJson(l,i)?p(t):b(t),PlgDialog.close(r)}function p(t){if(t){var e=c.getRowData(t,d.fieldValue),i=[];try{i=null!=s._value&&""!=s._value?JSON.parse(s._value):[]}catch(t){}if(-1==Prolog.hasJson(i,e))return;var l=f.getAttribute("value")?f.getAttribute("value").split(","):[],a=d.fieldText,n=d.fieldValue,o=c.getRowData(t,n),r=Prolog.hasJson(i,o);-1<r&&i.splice(r,1);var u=c.getRowData(t,a);l.splice(l.indexOf(u),1),f.setAttribute("value",l.toString()),h.setAttribute("value",JSON.stringify(i)),s._textValue=l.toString(),s._value=JSON.stringify(i),"object"===_typeof(d.listener)&&"function"==typeof d.listener.afterSelect&&d.listener.afterSelect(!1,t,c)}}function b(t){if(t){var e=c.getRowData(t,d.fieldValue),i=[];try{i=null!=s._value&&""!=s._value?JSON.parse(s._value):[]}catch(t){}if(-1<Prolog.hasJson(i,e))return;var l=f.getAttribute("value")?f.getAttribute("value").split(","):[];0==s._table.multiselect&&(i=[],l=[]);var a=d.fieldText,n=d.fieldValue,o=c.getRowData(t,n);i.push(o);var r=c.getRowData(t,a);l.push(r),f.setAttribute("value",l.toString()),h.setAttribute("value",JSON.stringify(i)),s._textValue=l.toString(),s._value=JSON.stringify(i),"object"===_typeof(d.listener)&&"function"==typeof d.listener.afterSelect&&d.listener.afterSelect(!0,t,c)}}return f.onclick=function(t){var e=Prolog.getLeft(this),i=(Prolog.getTop(this),$(this).parent().height(),$(this).width()),l=($(this).height(),d.fieldText,d.fieldValue,"layer"+Prolog.createRandomId()),a=d.tableWidth?d.tableWidth:600,n=d.tableHeight?d.tableHeight:500;e+i>document.body.clientWidth?e=document.body.clientWidth-a-30:e+a>document.body.clientWidth&&(e=e-a+i+10),window.innerHeight,r=layer.open({type:1,id:l,title:!1,resize:!1,offset:"auto",btn:[],closeBtn:0,area:[a+"px",n+"px"],shadeClose:!0,shade:.5,content:'<div id="'+o+'_grid" style="width:100%;height:'+(n-30)+'px;"></div>',end:function(){s._active=!1,"object"===_typeof(d.listener)&&"function"==typeof d.listener.afterClose&&d.listener.afterClose(s._textValue,s._value,c)},success:function(t,e){s._active=!0,$("#layui-layer"+e+" .layui-layer-btn").hide(),$("#layui-layer"+e).height($("#layui-layer"+e).height()-23),$("#layui-layer"+e+" .layui-layer-content").css("padding","0px"),(c=new PlgGrid(s._table)).renderTo(o+"_grid"),c.loadData(null,function(){for(var t=c.getGrid().getRowsNum(),e=0;e<t;e++){var i=c.getGrid().getRowId(e),l=c.getRowData(i,d.fieldValue),a=[];try{a=null!=s._value&&""!=s._value?JSON.parse(s._value):[]}catch(t){}-1<Prolog.hasJson(a,l)&&(s._table.multiselect?c.setCellValue(i,1,1):c.selectRowById(i))}}),s._table.multiselect?(c.on("onCheck",function(t,e,i){1==e&&(i?b(t):p(t))}),c.on("onHeaderClick",function(t,e){if(1!=t)return!0;if(-1<$("#"+o+"_grid .plg-grid-second-col").attr("src").indexOf("chk0"))for(var i=c.getGrid().getRowsNum(),l=0;l<i;l++){p(c.getGrid().getRowId(l))}else c.getCheckedIds().split(",").forEach(function(t){b(t)});return!0})):(c.on("onRowSelect",u),c.attachEvent("onRowDblClicked",u)),d.listener&&("function"==typeof d.listener?d.listener(c):"object"===_typeof(d.listener)&&"function"==typeof d.listener.init&&d.listener.init(c))}})},d.hidden&&(s.style.display="none"),this},destruct:function(t){t.getElementsByTagName("input")[0].onclick=null,t.innerHTML=""},setValue:function(t,e){t.getElementsByTagName("input")[1].setAttribute("value",e),t._value=e},getValue:function(t){return t._value},enable:function(t){var e=t.getElementsByTagName("input");e[0].removeAttribute("disabled"),e[1].removeAttribute("disabled")},disable:function(t){var e=t.getElementsByTagName("input");e[0].setAttribute("disabled","disabled"),e[1].setAttribute("disabled","disabled")},getText:function(t){return t._textValue},setText:function(t,e){t._textValue=e,t.getElementsByTagName("input")[0].setAttribute("value",e)},reset:function(t){var e=t.getElementsByTagName("input");e[0].setAttribute("value",""),e[1].setAttribute("value",""),t._textValue="",t._value=""},clear:function(t){this.reset(t)},setTableConfig:function(t,e){t._table=e},showItem:function(t){},hideItem:function(t){t.style.display="none"},active:function(t){var e=t.getElementsByTagName("input");$(e[0]).trigger("click")},isActive:function(t){return t._active},setData:function(t,e,i){this.setText(t,e),this.setValue(t,i)}},dhtmlXForm.prototype.setData=function(t,e,i){this.doWithItem(t,"setData",e,i)},dhtmlXForm.prototype.active=function(t){this.doWithItem(t,"active")},dhtmlXForm.prototype.isActive=function(t){return this.doWithItem(t,"isActive")},dhtmlXForm.prototype.getText=function(t){return this.doWithItem(t,"getText")},dhtmlXForm.prototype.setText=function(t,e){return this.doWithItem(t,"setText",e)},dhtmlXForm.prototype.clearSelectTable=function(t){return this.doWithItem(t,"clear")},dhtmlXForm.prototype.setTableConfig=function(t,e){return this.doWithItem(t,"setTableConfig",e)},dhtmlXForm.prototype.getFormData_selectTable=function(t){return this.doWithItem(t,"getValue")},dhtmlXForm.prototype.setFormData_selectTable=function(t,e){return this.doWithItem(t,"setValue",e)};
  16. "use strict";function eXcell_button(i){i&&(this.cell=i,this.grid=this.cell.parentNode.grid,i.align="center"),this.edit=function(){},this.isDisabled=function(){return!0},this.setValue=function(i){var e=this.cell.parentNode.idd,t=JSON.stringify(this.grid.getUserData(e,"data"));t=t.replaceAll("'","");for(var l=(i=i.replaceAll(",",";")).split(";"),s="",r=0;r<l.length;r++){var n=l[r],a=n.substring(0,n.indexOf("^"));s+="<div class='plg-divider plg-divider-vertical'></div><a class='' href='javascript:void(0);' onclick='"+n.substring(n.indexOf("^")+1)+'("'+e+'",'+t+")' >"+a+"</a>"}s=s.substring(s.indexOf("<a")),this.setCValue(s,i)}}eXcell_button.prototype=new eXcell;
  17. "use strict";function eXcell_co(t){t&&(this.cell=t,this.grid=this.cell.parentNode.grid,this.combo=this.cell._combo||this.grid.getCombo(this.cell._cellIndex),this.editable=!0),this.selectWidth=this.grid.opts.columns[this.cell._cellIndex-1].selectWidth+"px"||this.cell.offsetWidth+"px",this.selectHeight=this.grid.opts.columns[this.cell._cellIndex-1].selectHeight+"px"||"auto",this.shiftNext=function(){var t=this.list.options[this.list.selectedIndex+1];return t&&(t.selected=!0),this.obj.value=this.list.options[this.list.selectedIndex].text,!0},this.shiftPrev=function(){if(0!=this.list.selectedIndex){var t=this.list.options[this.list.selectedIndex-1];t&&(t.selected=!0),this.obj.value=this.list.options[this.list.selectedIndex].text}return!0},this.edit=function(){var t=this.grid.getPosition(this.cell,this.cell);this.list=document.createElement("SELECT"),this.list.className="dhx_combo_select",this.val=this.getValue(),this.text=this.getText()._dhx_trim(),this.obj=document.createElement("TEXTAREA"),this.obj.className="dhx_combo_edit",this.obj.style.height=this.cell.offsetHeight-(this.grid.multiLine?9:4)+"px",this.obj.wrap="soft",this.obj.style.textAlign=this.cell.style.textAlign,this.obj.onclick=function(t){(t||event).cancelBubble=!0},this.obj.onmousedown=function(t){(t||event).cancelBubble=!0},this.obj.value=this.text,this.obj.onselectstart=function(t){return t||(t=event),t.cancelBubble=!0};var h=this;this.obj.onkeyup=function(t){var e=(t||event).keyCode;if(38!=e&&40!=e&&9!=e)for(var i=this.readonly?String.fromCharCode(e):this.value,s=h.list.options,l=0;l<s.length;l++)if(0==s[l].text.indexOf(i))return s[l].selected=!0},this.list.style.width=this.selectWidth,this.list.style.height=this.selectHeight,this.list.style.left=0,this.list.style.right=0,this.list.style.left=this.cell.offsetLeft+"px",this.list.style.top=t[1]+this.cell.offsetTop+this.cell.offsetHeight+"px";this.list.onclick=function(t){var e=t||window.event,i=e.target||e.srcElement;"OPTION"==i.tagName&&(i=i.parentNode),h.editable=!1,h.grid.editStop(),e.cancelBubble=!0,e.target.text};for(var e=this.combo.getKeys(),i=!1,s=0,l=0;l<e.length;l++){var o=this.combo.get(e[l]);this.list.options[this.list.options.length]=new Option(o,e[l]),e[l]==this.val&&(s=this.list.options.length-1,i=!0)}0==i&&(this.list.options[this.list.options.length]=new Option(this.text,null===this.val?"":this.val),s=this.list.options.length-1),this.cell.style.overflow="hidden",this.cell.appendChild(this.list),document.getSelection().empty(),this.list.size="6",this.cstate=1,this.editable?this.cell.innerHTML="":(this.obj.style.width="0px",this.obj.style.height="0px"),this.cell.appendChild(this.obj),this.list.options[s].selected=!0,this.editable&&this.obj.focus(),this.editable||(this.obj.style.visibility="hidden",this.obj.style.position="absolute",this.list.focus(),this.list.onkeydown=function(t){if(t=t||window.event,h.grid.setActive(!0),t.keyCode<30)return h.grid.doKey({target:h.cell,keyCode:t.keyCode,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey})}),Array.prototype.slice.call(this.list.options).forEach(function(t){t.style.padding="5px"})},this.getValue=function(){return this.cell.combo_value==window.undefined?"":this.cell.combo_value},this.detach=function(){if(this.val!=this.getValue()&&(this.cell.wasChanged=!0),null!=this.list.parentNode)if(this.editable){var t=this.list.options[this.list.selectedIndex];if(t&&t.text==this.obj.value)this.setValue(this.list.value);else{var e=this.cell._combo||this.grid.getCombo(this.cell._cellIndex),i=e.values._dhx_find(this.obj.value);-1!=i?this.setValue(e.keys[i]):this.setValue(this.cell.combo_value=this.obj.value)}}else this.setValue(this.list.value);return this.list.parentNode&&this.list.parentNode.removeChild(this.list),this.obj.parentNode&&this.obj.parentNode.removeChild(this.obj),this.val!=this.getValue()}}
  18. "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eXcell_selectTable(e){e&&(this.cell=e,this.grid=this.cell.parentNode.grid,this.cell.selectTable=null,this.cellIndex=e.cellIndex,this.cellColumnId=this.grid.columnIds[this.cellIndex],this.cellWidth=this.grid.cellWidthPX[this.cellIndex],this.cell.selectTable_value="",this.cell.selectTable_text=""),this.setValue=function(l){if(null!=l){this.setPTCellValue();var e=this.cell.parentNode.idd,t=this.grid.getUserData(e,"data");if(null!=t&&""!=t||(t={}),"object"==_typeof(l))this.setCValue(l.text),this.cell.selectTable_value=l.value,this.cell.selectTable_text=l.text;else try{var i=JSON.parse(l);this.setCValue(i.text);var s=i.value;"object"==_typeof(s)&&(s=JSON.stringify(s)),this.cell.selectTable_value=s,this.cell.selectTable_text=i.text}catch(e){this.setCValue(l),this.cell.selectTable_value=l,this.cell.selectTable_text=l}t[this.cellColumnId]=l,this.grid.setUserData(e,"data",t);var a=this.grid.getUserData(e,"editTableCellData");null!=a&&""!=a||(a={}),a[this.cellColumnId]=l,this.grid.setUserData(e,"editTableCellData",a)}},this.getValue=function(){var e=this.cell.parentNode.idd,l=this.grid.getUserData(e,"editTableCellData");return null!=l&&""!=l&&null!=l[this.cellColumnId]?l[this.cellColumnId]:""},this.getData=function(){var e=this.cell.parentNode.idd,l=this.grid.getUserData(e,"editTableCellData");return null!=l&&""!=l?l[this.cellColumnId]:null},this.edit=function(){var e=this.getData(),l=this.cell.selectTable_value,t=this.cell.selectTable_text;null!=e&&(l=e.value,t=e.text);for(var i,s=this.grid.opts,a=0;a<s.columns.length;a++)if(s.columns[a].id==this.cellColumnId){i=s.columns[a];break}var n=i.table;this.cell.innerHTML="<div id='selectTable_xcell_00001'></div>";var c=this;n.beforeLoad&&(0,n.beforeLoad)(n);s={renderer:"selectTable_xcell_00001",items:[{type:"settings",position:"label-left",labelWidth:0},{type:"selectTable",table:n,width:c.cellWidth-8,fieldText:i.fieldText,fieldValue:i.fieldValue,name:this.cellColumnId,label:"",placeholder:"单击选择",listener:{afterClose:function(e,l,t){(null!=e&&null!=e&&""!=e&&(c.cell.innerHTML="",c.setValue({text:e,value:l})),i.listener&&i.listener.afterClose)&&(0,i.listener.afterClose)(e,l,t)},init:function(e){i.listener&&i.listener.init&&(0,i.listener.init)(e)},afterSelect:function(e,l,t){i.listener&&i.listener.afterSelect&&(0,i.listener.afterSelect)(e,l,t)}}}]};var r=new PlgForm(s);this.cell.selectTable=r,null!=l&&null!=t&&r.getDForm().setData(this.cellColumnId,t,l)},this.detach=function(){this.setPTCellValue()},this.setPTCellValue=function(){var e=this.getData();this.cell.innerHTML=null!=e&&null!=e.text?e.text:""}}eXcell_selectTable.prototype=new eXcell;
  19. "use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(q){q.fn.initPlgGridExpand=function(e){var t=new i(e),n=q(this).attr("id");return t.renderTo(n),t};var i=function(e){var g,f,c,m,v,b,x,y,w,C,R,S,A,E,N,k,D,s,d,I,H,P,t={expandRow:!1,isI18n:window.isI18n||!1,title:"",renderer:"",fixedLast:!1,columns:[],multiselect:!1,url:"data.json",type:"get",pageNum:"pageNum",pageSize:"pageSize",params:{pageSize:10,pageNum:1},contentType:"application/x-www-form-urlencoded",page:!0,expandedRowRender:null,totalCount:"totalCount",toolbar:[],formData:[],pagebar:{buttons:[],type:"full"}};g=q.extend({},t,e),this.opts=g;var n=Prolog.createRandomId(),u=t.params.pageNum,p=t.params.pageSize;if(g.params){var i=g.params;if("object"==_typeof(i))u=null!=i.pageNum?i.pageNum:u,p=null!=i.pageSize?i.pageSize:p;else{var a=JSON.parse(i);u=null!=a.pageNum?a.pageNum:u,p=null!=a.pageSize?a.pageSize:p}}var r,l,h=1,o=null,T={},j=0,_=this;function O(){var e=q("#"+y+" .objbox"),t=q("#"+y+" .objbox table"),n=q("#"+y+" .xhdr table");if(g.expandRow||g.fixedLast&&e.width()>t.width())t.find("tbody tr:first-child th:last-child"),n.find("tbody tr:first-child th:last-child");t.height(),e.height();var i=q("#"+w)[0]?q("#"+w).height()+5:0;q("#"+m+" .center-panel .plg-grid-sidebuttonpanel a").css("top",i)}function L(e){q("#"+(r=e)).empty(),e+"-colsetting-"+n,m=e+"-panel-"+n,S=e+"-centerPanelId-"+n,v=e+"-sidebar-"+n,b=e+"-sidebarform-"+n,w=e+"-toolbar-"+n,C=e+"-pagebar-panel-"+n,x=e+"-pagebar-"+n,y=e+"-panel-grid-"+n,R=e+"-panel-grid-title-"+n,function(e){(f=document.createElement("div")).className="plg-grid-panel layui-row",f.setAttribute("id",m),q("#"+e).append(f);var t=document.createElement("div");t.setAttribute("id",S),t.className="center-panel layui-col-md12",f.appendChild(t);var n=document.createElement("div");if(n.setAttribute("id",S),n.className="plg-grid-body",g.enableSideBar&&null!=!g.sideBar){var i=function(){var e=document.createElement("div");e.className="plg-grid-sidebuttonpanel";var n=document.createElement("a");return n.setAttribute("href","javascript:void(0);"),n.innerHTML="<i class='layui-icon layui-icon-next'></i>",e.appendChild(n),n.onclick=function(){var e=q("#"+v),t=q("#"+S);e.is(":hidden")?(t.removeClass("layui-col-md12"),t.addClass("layui-col-md9"),e.show(),n.innerHTML="<i class='layui-icon layui-icon-next'></i>"):(e.hide(),t.removeClass("layui-col-md9"),t.addClass("layui-col-md12"),n.innerHTML="<i class='layui-icon layui-icon-prev'></i>")},e}();t.appendChild(i)}if(t.appendChild(n),g.title&&""!=g.title){var a=document.createElement("div");a.className="plg-grid-title",a.setAttribute("id",R),a.innerHTML=g.title,n.appendChild(a)}if(g.toolbar&&0<g.toolbar.length){var r=document.createElement("div");r.setAttribute("id",w),r.className="plg-toolbar",n.appendChild(r),l=w,o=g.toolbar,E=new PlgForm({renderer:l,items:o}),q("#"+l).addClass("plg-toolbar")}var l,o;var s=document.createElement("div");s.setAttribute("id",y),s.className="plg-grid",s.classList.add("plg-gridExpand"),g.fixedLast&&s.classList.add("fixed-right");if(n.appendChild(s),function(e){A=new dhtmlXGridObject(e);var t,n,i,a=g.imagePath||Prolog.GridImageBasePath;a&&0<a.length&&(a="/"!=a.substr(a.length-1,1)?a+"/":a,A.setImagePath(a)),t=g.isI18n&&0<g.columns.length?(n=g.columns,i=[],n.map(function(e,t){return i[t]={},i[t]=Object.assign(e,i[t]),i[t]=JSON.stringify(i[t]),i[t]=JSON.parse(i[t]),e.name&&i18next.exists(e.name.toString())&&(i[t].name=i18next.t(e.name)),i}),i):g.columns.slice(0),I=new Array,H=new Array,P=new Array;var r=new Array,l=new Array,o=new Array,s=new Array,s=new Array,c=new Array;I.push("chbx000"),H.push("<a href='javascript:void(0);' class='plg-grid-first-col'><i class='layui-icon layui-icon-component'></i></a>"),o.push("text-align:center"),r.push("35"),l.push("center"),s.push("ro"),c.push("int"),P.push(!1),g.expandRow&&(I.push("exp"),H.push(""),o.push("text-align:center"),r.push("28"),l.push("left"),s.push("ro"),c.push("na"),P.push(!1)),g.multiselect&&(I.push("chbx001"),H.push('<img src="'+A._imgURL+'dhxgrid_web/item_chk0.gif" class="plg-grid-second-col" title="">'),o.push("text-align:center"),r.push("35"),l.push("center"),s.push("ch"),c.push("na"),P.push(!1)),c.push("str");for(var d=0;d<t.length;d++){I.push(t[d].id),H.push(null==t[d].name?t[d].id:t[d].name),r.push(t[d].width?t[d].width:"*"),l.push(t[d].align?t[d].align:"left");var u=t[d].headerAlign?t[d].headerAlign:t[d].align;if(o.push(null==u?"text-align:left":"text-align:"+t[d].align),s.push(null==t[d].type?"ro":t[d].type),c.push(null==t[d].sort?"str":t[d].sort),1==g.fixedLast&&d==t.length-1&&(T.width=t[d].width,o.splice(o.length-1,1,"text-align:center;visibility: hidden;"),g.multiselect?T.index=d+2:g.expandRow&&g.multiselect?T.index=d+3:T.index=d+1),t[d].hidden){P.push(!0);var p=d+1;g.expandRow&&(p+=1),g.multiselect&&(p+=1),A.setColumnHidden(p,!0)}else P.push(!1)}A.setColumnIds(I.toString()),A.setHeader(H.toString(),null,o),A.setInitWidths(r.toString()),A.setColAlign(l.toString()),A.setColTypes(s.toString()),A.setColSorting(c.toString()),g.filters&&(g.multiselect?A.attachHeader(",,"+g.filters.toString()):A.attachHeader(","+g.filters.toString())),A.enableMultiselect(g.multiselect),A.enableAutoHeight(!1),A.enableRowsHover(!0,"plg-grid-hover"),A.opts=g,A.attachEvent("onCheck",function(t,e,n){_.ch_ids=n?(_.ch_ids.push(t),_toConsumableArray(new Set(_.ch_ids))):_.ch_ids.filter(function(e){return t!==e});var i=1;if(!g.expandRow&&g.multiselect?i=1:g.expandRow&&g.multiselect&&(i=2),e==i&&g.multiselect){z();var a=q("#"+m+" .plg-grid-second-col"),r=a.attr("src");return A.getAllRowIds().split(",").length==A.getCheckedRows(i).split(",").length?a.attr("src",r.replaceAll("chk0","chk1")):a.attr("src",r.replaceAll("chk1","chk0")),!0}return!0}),A.attachEvent("onAfterSorting",function(e,t,n){return O(),!0}),A.attachEvent("onResizeEnd",function(e,t,n){return O(),!0}),g.expandRow&&A.attachEvent("onRowSelect",function(e,t){if(isNaN(e)||(e=e.toString()),!(-1<e.indexOf("exp-")))return 1==t&&(_.expandedRowsChange(J(e),e,q(A.cell.children).hasClass("plg-table-row-collapsed")),q(A.cell.children).hasClass("plg-table-row-collapsed")?_.checkExpandColumn(e,!0):_.checkExpandColumn(e,!1)),!0}),A.attachEvent("onHeaderClick",function(e,t){var n=1;if(!g.expandRow&&g.multiselect?n=1:g.expandRow&&g.multiselect&&(n=2),0==e)return function(e){var t='<div class="layui-form plg-clsset-form" >',n=1;g.expandRow&&(n+=1),g.multiselect&&(n+=1);for(var i=n;i<I.length;i++)t+='<div class="layui-form-item plg-clsset-item"><input type="checkbox" lay-filter="plgclssetitem" index='+i+' name="'+I[i]+'" lay-skin="primary" title="'+H[i]+'" '+(P[i]?"":"checked")+"></div>";t+='<div style="clear:both;margin:0px;height:1px;">&nbsp;</div>',t+="</div>",PlgDialog.tips(t,e,{tips:[3,"#fff"],time:0,shade:.001,shadeClose:!0,success:function(e,t){q(e).find(".layui-layer-TipsG").remove(),layui.form.render("checkbox"),layui.form.on("checkbox(plgclssetitem)",function(e){var t=q(e.elem).attr("index");e.elem.checked?(A.setColumnHidden(t,!1),P[t]=!1):(A.setColumnHidden(t,!0),P[t]=!0),O()})}})}("#"+m+" .plg-grid-first-col i"),!1;if(e!=n)return!1;if(g.multiselect){var i=q("#"+m+" .plg-grid-second-col"),a=i.attr("src");-1<a.indexOf("chk0")?(G(!0),_.ch_ids=_.getCheckedRows(0).split(","),i.attr("src",a.replaceAll("chk0","chk1"))):(G(!(_.ch_ids=[])),i.attr("src",a.replaceAll("chk1","chk0"))),event.stopPropagation()}return!1}),A.init()}(y),function(){if(null!=g.formData){k=new PlgForm({items:g.formData}),D=new Array;for(var e=0;e<g.formData.length;e++)B(g.formData[e])}}(),g.pagebar||g.page){var c=document.createElement("div");if(c.className="plg-grid-pagebar",c.setAttribute("id",C),n.appendChild(c),g.pagebar&&g.pagebar.buttons&&0<g.pagebar.buttons.length&&function(e){if(g.pagebar&&g.pagebar.buttons&&0<g.pagebar.buttons.length){var t=document.createElement("div");t.className="div-pagebtn disable";var n=document.createElement("div");n.className="div-pagebtn-info",n.innerHTML='<i class="layui-icon layui-icon-about"></i>已选择&nbsp;<span class="selectedCount">0</span>&nbsp;项',t.appendChild(n);for(var i=0;i<g.pagebar.buttons.length;i++){var a=g.pagebar.buttons[i],r=document.createElement("button");r.className="layui-btn pagebar-button layui-btn-disabled "+(null!=a.className?a.className:""),r.innerHTML=a.text,a.name&&r.setAttribute("name",a.name),t.appendChild(r)}e.appendChild(t)}}(c),g.page){var d=document.createElement("div");d.setAttribute("id",x),d.className="div-pagebar",c.appendChild(d)}}if(g.enableSideBar&&null!=!g.sideBar){t.className="center-panel layui-col-md9";var u=function(e,t){var n=document.createElement("div");n.className="layui-col-md3 plg-grid-sidebar",n.setAttribute("id",e);var i=document.createElement("div");return i.setAttribute("id",t),i.className="plg-grid-sidebarform",n.appendChild(i),n}(v,b);f.appendChild(u),p=b,h=g.sideBar,N=new PlgForm({renderer:p,items:h})}var p,h}(r),function(){for(var e in A.entBox.onselectstart=null,A)if(-1===e.indexOf("_")&&"function"==typeof A[e]&&!V[e]){var t=A[e];V[e]=t.bind(A)}}(),q("#"+r).addClass("grid-container-full"),q(_.getElement()).resize(function(){})}function z(){var e=A.getCheckedRows(1),t=q("#"+C+" .div-pagebtn"),n=null!=e&&""!=e?e.split(",").length:0;t.find(".selectedCount").text(n),null!=e&&""!=e?t.hasClass("disable")&&(t.removeClass("disable"),t.find("button").removeClass("layui-btn-disabled")):t.hasClass("disable")||(t.addClass("disable"),t.find("button").addClass("layui-btn-disabled"))}function B(e){if(null!=e.editable&&0==e.editable&&D.push(e.name),e.list&&0<e.list.length)for(var t=0;t<e.list.length;t++)B(e.list[t])}function F(e,t){u=e.curr,p=e.limit,o&&o(e,t),t||U()}function G(e){var t=1;!g.expandRow&&g.multiselect?t=1:g.expandRow&&g.multiselect&&(t=2);for(var n=A.getRowsNum(),i=e?1:0,a=0;a<n;a++)g.expandRow&&a%2==1||A.cellByIndex(a,t).setValue(i);z()}function W(e,t){var n=Prolog.loading2("#"+S);if(g.fixedLast&&null!=_.fixdiv&&_.fixdiv.empty(),g.beforeDataLoad&&g.beforeDataLoad(g),e)return M(e),n();if(t&&(l=t),null!=g.url&&""!=g.url){var i=g.params;if(g.page)if("object"==_typeof(i))i[g.pageNum]=u,i[g.pageSize]=p;else{var a=JSON.parse(i);a[g.pageNum]=u,a[g.pageSize]=p,i=JSON.stringify(a)}Prolog.ajax({url:g.url,type:g.type,data:i,contentType:g.contentType,success:function(e){M(e),l&&l(!0),n()},error:function(){l&&l(!1),n()}})}}function U(e,t){A.clearAll(),W(e,t)}function J(e){return"exp-".concat(e,"-").concat(n)}function M(e){if("object"!=_typeof(e)&&(e=JSON.parse(e)),_.grdbox=q(_.getElement().querySelector(".objbox")),null==e.success||0!=e.success)if(e.data&&""!=e.data){var t,n,i,a,r;t=e.data.list?e.data.list:e.data,h=(u-1)*p+1,A.enableColSpan(!0);try{var l=function(e){for(var t,n=new Array,i=g.columns,a=0;a<e.length;a++){var r=e[a],l=new Array;l.push(h),h+=1,g.expandRow&&l.push('<div class="plg-table-row-expand-icon plg-table-row-collapsed"></div>'),g.multiselect&&l.push(0);for(var o=0;o<i.length;o++){var s=i[o].id;i[o].render&&(t=i[o].render(r[s],r))?l.push(t):l.push(r[s])}n.push({id:r[i[0].id],data:l,userdata:{data:r}})}return{rows:n}}(t);0<t.length&&g.expandRow?(n=l,i=[],a=[],r=Object.keys(n.rows[0].userdata.data).length+1,g.multiselect&&(r+=1),g.fixedLast,n.rows.forEach(function(e,t){a.push("".concat(J(e.id))),!g.fixedLast&&g.multiselect,i.push(e,{id:"".concat(J(e.id)),data:["",'<div class="plg-table-expand-row" id=\''.concat(J(e.id),"'></div>")],userdata:{data:{}}})}),1+r-1,n.rows=i,A.parse(n,"json"),a.forEach(function(e){A.setColspan(e,1,A.getColumnsNum()-1),A.setRowHidden(e,!0)}),_.getExpandIds=function(){return a},_.getExpandIds().forEach(function(e){_.expandedRowRender(e)}),_.fixedColumn()):A.parse(l,"json"),function(){var e=_.getElement();if(!e.parentNode.style.height){if(!e.offsetHeight||e.parentNode.style.display&&"none"!=e.parentNode.style.display)return;e.parentNode.style.height=e.offsetHeight+"px",setTimeout(function(){},0)}}(),z()}catch(e){return void PlgDialog.msg("数据错误!")}if(g.page&&function(e,t,n){if(0!=g.page){p=null==p?0:p,t=null==t?0:t,q("#"+e).empty(),c=layui.laypage;var i=["count","prev","page","next","limit","skip","refresh"];g.pagebar&&"simple"==g.pagebar.type?i=["count","prev","page","next","refresh"]:g.pagebar&&"min"==g.pagebar.type&&(i=["count","prev","next"]),c.render({elem:e,count:t,limit:p,curr:n,limits:[5,10,20,30,50,100,200,500,1e3,2e3],groups:4,theme:"plg",prev:'<i class="layui-icon layui-icon-left"></i>',next:'<i class="layui-icon layui-icon-right"></i>',layout:i,jump:F})}}(x,e.data[g.totalCount],u),g.multiselect){var o=q("#"+m+" .plg-grid-second-col");if(o&&0<o.length){var s=o.attr("src");o.attr("src",s.replaceAll("chk1","chk0"))}}O()}else PlgDialog.msg("数据为空");else PlgDialog.alert(e.message?e.message:"空指针异常")}this.fixdiv=null,this.grdbox=null,_.t=this.t(_.opts.isI18n),this.ch_ids=[],_.getPanelId=function(){return m},_.expandedRowRender=function(e){if("function"==typeof g.expandedRowRender)return g.expandedRowRender(e)},_.getGridId=function(){return y},_.getToolBarId=function(){return w},_.getPageBarPanelId=function(){return C},_.getGridTitleId=function(){return R},_.getCombo=function(e){return A.getCombo(e)},this.getSideBarForm=function(){return N},this.attachPageBarEvent=function(i){q("#"+C).on("click",".pagebar-button",function(){var e=q(this);if(!e.hasClass("layui-btn-disabled")){var t=e.attr("name"),n=A.getCheckedRows(1);i(t,n)}})},this.PageBarJump=function(e){"function"==typeof e&&(o=e)},this.showDialogResetBtn=null,this.showDialog=function(i,e,t,n,r,l){s&&s(i,e,t,n,r);var o=this;if(null!=k)if(1!=i||o.getSelectedRowId()){var a={title:e,closeBtn:1,type:1,resize:!0,tipsMore:!0,btn:[o.t("保存"),o.t("重置"),o.t("取消")],btn1:function(t,e){if(0!=k.validate()){var n,i=PlgDialog.loading2();l?(n=new Array).push(k.getFormData()):n=k.getFormData();var a=[];if(g.formData&&1<g.formData.length&&(g.formData.map(function(e){"label"===e.type&&e.list.map(function(e){a.push(e.name)})}),a=a.filter(function(e){return e})),null!=r.contentType&&-1<r.contentType.indexOf("application/json")?r.data=JSON.stringify(n):r.data=n,"function"==typeof r.saveAfter)try{if(r.data=r.saveAfter(k,r.data),!r.data)throw"saveAfter 回调没有return data";if(void 0===r.data.id)throw"data.id 没有定义"}catch(e){throw i(),new Error(e)}r.success=function(e){e.success?(o.reload(),PlgDialog.close(t)):e.message?PlgDialog.alert(e.message):PlgDialog.alert("数据返回失败"),i()},Prolog.ajax(r)}},btn2:function(e,t){return k.clear(),Object.keys(k.getFormData()).forEach(function(e){try{k.getDForm().clearNote(e),q(k.getDForm().getInput(e)).parent().parent().removeClass("validate_error")}catch(e){}}),"function"==typeof r.resetAfter&&r.resetAfter(k),!1},btn3:function(e,t){PlgDialog.close(e)},area:[t+"px",n+"px"],content:'<div id="'+m+'-win-form-1"></div>',success:function(e,t){if(k.renderTo(m+"-win-form-1"),1==i){!function(e,t){var n=e.getFormData();for(var i in n)n[i]=t[i];e.setFormData(n)}(k,o.getSelectedRowData());for(var n=0;n<D.length;n++)k.disableItem(D[n])}else for(n=0;n<D.length;n++)k.enableItem(D[n]);d&&d(k)}};1==i&&(a.btn=[o.t("保存"),o.t("取消")],a.btn2=a.btn3,a.btn3=null),PlgDialog.open(a)}else PlgDialog.msg("请选择行!");else PlgDialog.msg(o.t("未设置表单"))},this.fixedColumn=function(){if(g.fixedLast){var e=_.getAllRowIds().split(","),i=0,a=q('<div class="ul-container"><table><colgroup><col></col></colgroup><tbody></tbody></table></div>'),r=_.grdbox;e.forEach(function(e){var t=q("<tr>");if(-1==e.indexOf("exp-")){var n=_.getCellObject(e,A.getColumnsNum()-1);t.append(q(n.cell).clone()),_.setCellTextStyle(e,A.getColumnsNum()-1,"visibility: hidden;"),0===i&&(i=n.cell.offsetWidth)}else t.append(q("<td>")),t.hide();t.attr("id","fixe-right-"+e),a.find("tbody").append(t)});var t=r.parent(),l=t.children(".xhdr");_.fixdiv||(_.fixdiv=q(document.createElement("div")),_.fixdiv.attr("id",y+"-fixed-panel"),_.fixdiv.addClass("grid-fexed-column2"),t.append(_.fixdiv));var n=l.find("table tr:last-child td:last-child"),o=q('<div class="header">');return o.append(n.children(".hdrcell").clone()),_.fixdiv.append(o),_.fixdiv.append(a),i<=1?i=_.fixdiv.width():i+=r[0].offsetWidth-r[0].clientWidth,_.grdbox.find(".obj.row20px>tbody>tr>th:last-child").width(i),l.find("tbody>tr>th:last-child").width(i),a.find("col").width(i),_.getExpandIds().forEach(function(e){A.setCellTextStyle(e,1,"padding-right:".concat(i,"px;padding-left:").concat(30,"px"))}),r.resize(function(e){var t=q(this)[0].offsetHeight-q(this)[0].clientHeight,n=r[0].offsetWidth-r[0].clientWidth;l.width("calc(100% - ".concat(n,"px)")),q(this)[0].scrollHeight>_.fixdiv[0].offsetHeight?_.fixdiv.css("bottom",t):_.fixdiv.css("bottom","")}),r.resize(),r.scroll(function(e){0==j&&a.scrollTop(r.scrollTop())}),r.mouseover(function(){j=0}),a.scroll(function(){1==j&&r.scrollTop(a.scrollTop())}),a.mouseover(function(){j=1}),_}},this.expandedRowsChange=function(e){"function"==typeof e&&(this.expandedRowsChange=e)},this.checkExpandColumn=function(t,n){setTimeout(function(){var e=_.getCellObject("".concat(J(t)),1).cell;return n?(A.setRowHidden("".concat(J(t)),!1),A.cell&&A.cell.children[0].setAttribute("class","plg-table-row-expand-icon plg-table-row-expanded"),e.children[0].style.height=e.scrollHeight+"px",g.fixedLast&&_.fixdiv&&_.fixdiv.find("tr#fixe-right-".concat(J(t))).height(e.scrollHeight).show()):(A.setRowHidden("".concat(J(t)),!0),e.children[0].style.height="",g.fixedLast&&_.fixdiv&&_.fixdiv.find("tr#fixe-right-".concat(J(t))).hide().height(""),A.cell&&A.cell.children[0].setAttribute("class","plg-table-row-expand-icon plg-table-row-collapsed")),_.grdbox.resize(),_},200)},this.getElement=function(){return f},this.renderTo=function(e){return L(e),this},this.getGrid=function(e){return A},this.loadData=function(e,t){return W(e,t),this},this.getParams=function(){return g.params},this.setParams=function(e){g.params=e,p=e.pageSize?e.pageSize:p,u=e.pageNum?e.pageNum:u},this.getGridData=null,this.reload=function(e){_.ch_ids=[],U(e)},this.getCheckedIds=function(){return _.ch_ids.join(",")},this.getSelectedRowId=function(){return A.getSelectedRowId()},this.getSelectedRowData=function(e){var t=A.getSelectedRowId();return e?A.getUserData(t,"data")[e]:A.getUserData(t,"data")},this.getRowData=function(e,t){if(null==t||0==t.length)return A.getUserData(e,"data");if(Array.isArray(t)){for(var n={},i=0;i<t.length;i++)n[t[i]]=A.getUserData(e,"data")[t[i]];return n}return A.getUserData(e,"data")[t]},this.setRowSelectCheck=function(e){if(g.multiselect||e){var t=this.getCellObject(e,1),n=t.cell.children[0];-1<n.src.indexOf("chk0")?(n.src=n.src.replaceAll("chk0","chk1"),t.setChecked(!0)):(n.src=n.src.replaceAll("chk1","chk0"),t.setChecked(!1));var i=q("#"+m+" .plg-grid-second-col");this.getAllRowIds().split(",").length==this.getCheckedRows(1).split(",").length?i.attr("src",i.attr("src").replaceAll("chk0","chk1")):i.attr("src",i.attr("src").replaceAll("chk1","chk0"))}},this.getExpandIds=function(){return[]},this.getSelectedCellIndex=function(){return A.getSelectedCellIndex()},this.getRowId=function(e){return A.getRowId(e)},this.getRowIndex=function(e){return A.getRowIndex(e)},this.getCellObject=function(e,t){return A.cells(e,t)},this.getCellValue=function(e,t){return A.cells(e,t).getValue()},this.getCellObject2=function(e,t){return A.cells2(e,t)},this.getCellValue2=function(e,t){return A.cells2(e,t).getValue()},this.setCellValue=function(e,t,n){A.cells(e,t).setValue(n);var i=I[t],a=A.getUserData(e,"data");null!=a&&""!=a||(a={}),a[i]=n,A.setUserData(e,"data",a)},this.addRow=function(e,t,n){var i=[];i.push(A.getRowsNum()+1);var a=1;g.multiselect&&(i.push(0),a=2);for(var r=a;r<I.length;r++){var l=t[I[r]];i.push(l||"")}null!=n?A.addRow(e,i.toString(),n):A.addRow(e,i.toString()),A.setUserData(e,"data",t),O()},this.deleteRow=function(e){A.deleteRow(e),O()},this.getColumnsNum=function(){return A.getColumnsNum()},this.getColumns=function(){return I},this.getColumn=function(e){return I[e]},this.getHeaders=function(){return H},this.getColumnHeader=function(e){return H[e]},this.getGridForm=function(){return k},this.getToolBarForm=function(){return E},this.setColWidth=function(e,t){A.setColWidth(e,t.toString())},this.setColumnColor=function(e){A.setColumnColor(e.toString())},this.setColumnHidden=function(e,t){A.setColumnHidden(e,t)},this.setRowHidden=function(e,t){A.setRowHidden(e,t)},this.selectRowById=function(e){A.selectRowById(e)},this.resetSize=O,this.on=function(e,i){"beforeDialogOpen"==e?s=i:"afterDialogOpen"==e?d=i:"onAfterSorting"==e?A.attachEvent(e,function(e,t,n){O(),i(e,t,n)}):"onResizeEnd"==e?A.attachEvent(e,function(e){O(),i(e)}):"onCheck"==e?A.attachEvent(e,function(e,t,n){1==t&&g.multiselect&&z(),i(e,t,n)}):A.attachEvent(e,i)},this.attachEvent=this.on,this.attachToolBarEvent=function(e,t){E&&E.on(e,t)},this.attachSideBarEvent=function(e,t){N&&N.on(e,t)},this.splitAt=function(e){A.splitAt(e);for(var t=0;t<P.length;t++)P[t]&&A.setColumnHidden(t,!0)};var V=this;g.renderer&&""!=g.renderer&&L(g.renderer)};i.prototype.t=function(e){return this.t=e?function(e){return i18next.t(e)}:function(e){return e}},window.PlgGridExpand=i}(jQuery);
  20. "use strict";!function(r,n){r.fn.initPlgInputTags=function(a){var e=new t(a),n=r(this).attr("id");return e.renderTo(n),e};var t=function(a){var e={checkboxName:"",layFilter:"",data:null,dom:null,tagsId:"tags-"+Prolog.createRandomId(),meunPanelThis:null,setDefaultValue:function(a){if(!(a&&0<a.length))return!1;a.map(function(a){a.hasOwnProperty("checked")||(a.checked=!1)}),this.data=a},wrapTemplate:function(){var e=this,n="";return n+='<div class="layui-form-item">\n <label class="layui-form-label">原始复选框</label>\n <div class="layui-input-block">',e.data.forEach(function(a){n+='<input type="checkbox" \n name="'.concat(e.checkboxName,"[").concat(a.alias,']" \n lay-skin="primary" lay-filter="').concat(e.layFilter,'" \n title="').concat(a.text,'" ').concat(a.checked?'checked=""':"",' />\n <div class="layui-unselect layui-form-checkbox ').concat(a.checked?"layui-form-checked":"",'" \n lay-skin="primary"><span>').concat(a.text,'</span>\n <i class="layui-icon layui-icon-ok"></i></div>\n ')}),n+='</div>\n </div>\n <div class="layui-form-item">\n <label class="layui-form-label">已经选中</label>\n <div class="layui-input-block tags" id="'.concat(e.tagsId,'"></div>\n </div>\n ')}};if(!a.checkboxName||!a.layFilter)return!1;e.checkboxName=a.checkboxName,e.setDefaultValue(a.data),this.tagsId=e.tagsId,this.layFilter=e.layFilter=a.layFilter||"plg-"+Prolog.createRandomId(),this.wrapTamplate=r(e.wrapTemplate()),a.renderer&&this.renderTo(a.renderer)};t.prototype.renderTo=function(a){var l=this,t=r("#"+a);t.find("#"+l.tagsId);t.append(l.wrapTamplate);var e=n.form;e.render();var i=[],c={init:function(){var a={},e=t.find(".layui-form-checked");e.length&&(a={value:e.siblings("input").attr("title"),name:e.siblings("input").attr("name")}),"{}"!==JSON.stringify(a)&&(i.push(a),i.forEach(function(a){c.add(a)}))},add:function(a){var e='<span>\n <em name="'.concat(a.name,'">').concat(a.value,'</em>\n <button type="button" class="close">×</button>\n </span>');r("#"+l.tagsId).append(e);var n='<input type="hidden" name="'.concat(a.name,'" \n value="').concat(a.value,'"/>');t.after(n),-1===i.indexOf(a)&&i.push(a)},del:function(n){i&&0<i.length&&i.forEach(function(a,e){a.name===n.name&&i.splice(e,1)}),r("#"+l.tagsId).empty();var t="";i&&0<i.length&&i.forEach(function(a,e){t+='<span><em name="'.concat(a.name,'">').concat(a.value,'</em><button type="button" class="close">×</button></span>')}),r("#"+l.tagsId).append(t),r("#"+l.targetId).find('input[name="'+n.name+'"]').remove()}};c.init(),e.on("checkbox("+l.layFilter+")",function(a){var e=a.elem.checked,n=r(a.elem),t={value:n.attr("title"),name:n.attr("name")};e&&c.add(t),e||c.del(t)}),t.find("#"+l.tagsId).on("click",".close",function(a){var e=r(this).siblings("em"),t={value:e.html(),name:e.attr("name")};c.del(t);var n=l.wrapTamplate.find(".layui-form-checkbox");(n=Array.prototype.slice.call(n))&&0<n.length&&n.forEach(function(a,e){var n=r(r(a).find("span")[0]).html();t.value===n&&l.wrapTamplate.find(".layui-form-checkbox").eq(e).trigger("click")})})},window.PlgInputTags=t}(jQuery,layui);
  21. "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(c){var n=function(e){var n=this;n.options=e,n.getActiveId=function(){return vipspa.indexid},this.fold=!1,this.selectedKeys="",this.submenuElement=null;var t={xScroll:!(this.openMenuId=[]),folding:!(this.openKey=""),defaultOpenMenuId:[],options:"",inlineIndent:24,data:null,renderer:null,url:null,isI18n:window.isI18n||!1,ajaxInit:{url:null,type:"get",dataType:"json"},route:!1,menuClick:null,routerConfig:null};n.options=c.extend(!0,t,n.options),n.options.data?n.promiseGetDate=new Promise(function(e){e(s(n.options.data))}):n.promiseGetDate=function(o){var a=this,l=Object.assign({},o);return new Promise(function(n,t){var e=PlgDialog.loading2(),i=null;l.success=function(e){e.success?(o.success&&o.success(e),i=s(e.data),a.options.data=i):layer.msg("数据加载失败!"),i?n(i):t()},l.error=function(e,n,t){o.error&&o.error(arguments)},l.complete=function(){o.complete&&o.complete(arguments),e()},Prolog.ajax(l)})}.call(this,n.options.ajaxInit),n.document=function(e,n){var t=c("<div>",{class:"sidebar"});return c().localize&&t.localize(),t}.call(n),n.init(n.document)};n.prototype.init=function(e){var i=this;return function(){var n=this,e=c(".plg-layout-sider"),t=c('<i id="plg-logo-fold" class="plg_anticon layui-icon layui-icon-shrink-right"></i>');e&&(e.append(t),t.click(function(e){e.preventDefault(),n.fold=!n.fold,c("body").toggleClass("fold"),c(".plg-menu-toolbar").toggle(),n.fold?c(this).removeClass("layui-icon-shrink-right").addClass("layui-icon-spread-left"):c(this).removeClass("layui-icon-spread-left").addClass("layui-icon-shrink-right"),n.promiseGetDate.then(function(e){})}))}.call(this),this.promiseGetDate.then(function(e){if(i.reset(e),i.options.defaultSelectedMenuId)if(i.options.route){var n=e[i.options.defaultSelectedMenuId],t=function(){return location.hash.replace(/^#/,"")};if(t=t(),location.hash=n.hash,t==n.hash)return location.href="";if(!t&&t==n.hash)return;setTimeout(function(){location.hash=t},200)}else i.setActiveMenuItem(i.options.defaultSelectedMenuId)}),i.options.renderer&&i.renderTo(i.options.renderer),i},n.prototype.updateMenu=function(e){var p=this.options.isI18n,d=this.options.inlineIndent,n=Object.values(e);return c('<div class="plg-menu-scroll">').append(function l(s,u){var r=c("<ul>",{class:"0"==s?"plg-menu":"plg-menu plg-menu-sub"});"0"!==s&&r.hide();var e=function(e,n){var t=new Array;for(var i in n)n[i].parentMenuId==e&&t.push(n[i]);return t}(s,u);return 0<e.length&&e.forEach(function(e){var n=c('<li class="'.concat(e.leaf?"plg-menu-item":"plg-menu-submenu"," ").concat(e.isActive&&e.leaf?"plg-menu-item-selected":""," ").concat(e.isActive&&!e.leaf?"ant-menu-submenu-open":"",'"></li>')),t=c('<div class="plg-menu-submenu-title"></div>'),i=c('<span class="icon-box"><i class="'.concat(e.imagePath,'"></i></span>')),o=c('<i class="right-mover layui-icon layui-icon-down" style="right: 0.28rem;"></i>'),a=c('<a class="itemText" href="'.concat(e.blank?e.path:e.hash&&e.leaf?"#"+e.hash:"javascript:;",'" ').concat(e.blank?"target=_blank":""," ").concat(p&&i18next.exists(e.name.toString())?'data-i18n="'.concat(e.name,'"'):""," menu-id=").concat(e.menuId,">").concat(e.name,"</a>"));e.leaf&&"0"==s?n.append(i).append(a).css("padding-left",d*e.level/100+"rem"):e.leaf||"0"==s?e.leaf||"0"!=s?e.leaf&&"0"!=s&&n.append(a).css("padding-left",d*e.level/100+"rem"):(t.append(i).css("padding-left",d*e.level/100+"rem"),a.append(o),t.append(a),n.append(t)):(t.append(a).append(o).css("padding-left",d*e.level/100+"rem"),n.append(t)),e.leaf||n.append(l(e.menuId,u)),r.append(n)}),r}("0",n))};var t=null;function i(e){var n=this;(document.querySelector(".plg-menu-scroll").scrollWidth<t||e.is(".plg-menu-submenu-open"))&&(n.document.find("li").css({width:""}),n.document.find("ul").css({width:""})),setTimeout(function(){var e=document.querySelector(".plg-menu-scroll").scrollWidth;t||(t=e),n.document.find("li").css({width:e+"px"}),n.document.find("ul").css({width:e+"px"})},300)}function s(e){var i={},l=function(e){e.forEach(function(e,n){delete e.children,delete e.type,delete e.queryId,delete e.operateType,delete e.lastModifyTime,delete e.helpCode,delete e.creatorName,delete e.creatorId,delete e.createTime,delete e.modifierId,delete e.modifierName,delete e.sort});var n={};return e.forEach(function(e){n[e.menuId]=e}),{mapData:n}}(e);return e.forEach(function(e){if(!e.blank&&(e.PY_code=pinyin.makePy(e.name)[0],e.leaf&&e.path)){if(!e.hash){var n=e.path.indexOf("?");e.hash=e.path,-1<n&&(e.hash=e.path.substr(0,n-1)),e.hash=e.hash.substr(1).split("/"),e.hash=e.hash[e.hash.length-2]+"/"+e.hash[e.hash.length-1],-1!=e.hash.indexOf("=")&&(e.hash=e.hash.match("([^=]+)$")[0])}var t=function e(n){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];var o=l.mapData;var a=o[n];if(a&&(t.unshift(a.name),i.unshift(a.menuId),0!=a.parentMenuId))return e(a.parentMenuId,t,i);return{arr:t,idarr:i}}(e.menuId);e.path=function(e){var n=e.path,t=n.indexOf("?");{if(e.iframe)return n;if(-1<t){n.slice(t);return n}var i=n.indexOf(".html");return-1<i?n:n+".html"}}(e),-1<n&&(e.hash=e.menuId),i[e.hash]={templateUrl:e.path,iframe:e.iframe||!1,controller:e.srcPath?e.srcPath+".js":null,name:e.name,menuId:e.menuId,parent_name:t.arr,stateArr:t.idarr},t=null}}),l.mapData}n.prototype.reset=function(e){var n=this.updateMenu(e);return this.document.empty().append(n),function(e){var t=this;return e.find(".plg-menu-submenu-title").click(function(e){e.preventDefault(),e.stopPropagation(),t.fold&&(t.fold=!1,c("body").toggleClass("fold"),c(".plg-menu-toolbar").toggle()),t.submenuElement=c(this),c(this).find(".itemText").attr("menu-id"),t.toggleOpenSubMenu(c(this)),t.options.xScroll&&i.call(t,c(this).parent())}),e.find(".plg-menu-item").click(function(e){e.preventDefault(),e.stopPropagation();var n=c(this).children(".itemText").attr("menu-id");t.setActiveMenuItem(c(this)),n&&t.selectedKeys==n||t.options.xScroll&&i.call(t,c(this).parent())}),e}.call(this,n),this},n.prototype.setActiveMenuItem=function(t){var i,o=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],a=this;this.promiseGetDate.then(function(){var e=(i="object"===_typeof(t)?t:a.document.find(".itemText[menu-id='".concat(t,"']")).parent()).children(".itemText").attr("menu-id");if(a.selectedKeys!=e){a.selectedKeys=e;var n=a.options.data[a.selectedKeys];if(n){if(a.document.find(".plg-menu-item-selected").removeClass("plg-menu-item-selected"),i.addClass("plg-menu-item-selected"),a.document.find(".plg-menu-submenu").removeClass("plg-menu-submenu-selected"),i.parents(".plg-menu-submenu").addClass("plg-menu-submenu-selected"),n.blank)return window.open(n.path);o&&a.leafClick(a.selectedKeys,n,i)}}})},n.prototype.activeItemOpenSubMenu=function(e){var n=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],o=this;if(!o.options.data[e])return this.selectedKeys=e,o.document.find(".plg-menu-item-selected").removeClass("plg-menu-item-selected");if(this.selectedKeys!==e){o.options.data[e].leaf&&this.setActiveMenuItem(e,n);!function e(n){var t=o.options.data[n];if(t){var i=o.document.find(".itemText[menu-id='".concat(n,"']")).parent().parent().is(".plg-menu-submenu-open");return!t.leaf&&!i&&o.toggleOpenSubMenu(t.menuId),"0"!=t.parentMenuId?e(t.parentMenuId):t.menuId}}(o.options.data[e].parentMenuId)}},n.prototype.openChange=function(e){return"function"==typeof e?this.openChange=e:null},n.prototype.leafClick=function(e){return"function"==typeof e?this.leafClick=e:null},n.prototype.toggleOpenSubMenu=function(o){var a=this;this.promiseGetDate.then(function(){var e;"object"===_typeof(o)?(e=o,a.openKey=e.find(".itemText").attr("menu-id")):(a.openKey=o,e=a.document.find(".itemText[menu-id='".concat(a.openKey,"']")).parent());var n=e.parent().children(".plg-menu-sub"),t=e.find(".right-mover");if(a.options.folding&&(a.openMenuId=[]),a.openMenuId.push(a.openKey),e.parent().is(".plg-menu-submenu-open"))a.openMenuId.filter(function(e,n,t){return e==a.openKey&&t.splice(n,1)});else if(a.options.folding){var i=e.parents(".plg-menu-submenu").siblings().filter(".plg-menu-submenu");i.removeClass("plg-menu-submenu-open"),i.children(".plg-menu-sub").slideUp(200),i.find(".right-mover").removeClass("layui-icon-up").addClass("layui-icon-down")}return e.parent().toggleClass("plg-menu-submenu-open"),e.parent().is(".plg-menu-submenu-open")?(n.slideDown(200),t.removeClass("layui-icon-down").addClass("layui-icon-up")):(e.parent().show(),n.slideUp(200),t.removeClass("layui-icon-up").addClass("layui-icon-down")),a.openChange(a.openKey,a.openMenuId,e),a.submenuElement=null,a})},n.prototype.renderTo=function(e){this.options.renderer=e,c("#"+this.options.renderer).addClass("plg-menu-sidebar").empty().append(this.document);return this},window.PlgMenu=n,c.fn.initPlgMenu=function(e){return new n(this,e)}}(jQuery);
  22. "use strict";!function(a){var t=function(n){var t=this;t.options=n;var i={isI18n:window.isI18n||!1,title:"常用功能",ajaxInit:{url:null,type:"get",dataType:"json"},click:null};t.options=a.extend(!0,i,t.options),t.options.data?t.promiseGetDate=new Promise(function(n){n(t.options.data)}):t.promiseGetDate=function(o){var e=this;return new Promise(function(t,i){var n=PlgDialog.loading2();o.success=function(n){n.success?(e.options.data=n.data,t(e.options.data)):(layer.msg("数据加载失败!"),i())},o.error=function(n,t,i){},o.complete=function(){n()},Prolog.ajax(o)})}.call(this,t.options.ajaxInit),t.document=a("<div>",{class:"tool-main"}),t.init(t.document)};t.prototype.init=function(){var n=this;n.reset(),n.options.renderer&&n.renderTo(n.options.renderer)},t.prototype.renderTo=function(n){this.options.renderer=n;var t=a("<div>",{class:"plg-menu-toolbar-title",text:this.options.title});return this.document.append(t),a("#"+this.options.renderer).addClass("plg-menu-toolbar").empty().append(this.document),this},t.prototype.reset=function(i){var o=this;this.promiseGetDate.then(function(n){i&&(i,o.options.data=i);var t=function(n){if(!n)return;var o,t=a('<div class="plg-menu-toolbar-body">\n <div class="layui-carousel" >\n <div carousel-item>\n </div>\n </div>\n\n </div>'),e=t.find("div[carousel-item]");return n.forEach(function(n,t){if(!(12<=t)){t/6%1==0&&(o=a("<div>",{class:"wrapper"}),e.append(a("<div>").append(o)));var i=a('\n <a class="list" href="javascript:;" menu-id="'.concat(n.menuId,'" >\n <div class="p_icon">\n ').concat(n.imagePath?'<i class="'.concat(n.imagePath,'"></i>'):'<i style="font-size:0.18rem">'.concat(n.name[0],"</i>"),'\n </div>\n <span class="name">').concat(n.name,"</span>\n </a>"));o.append(i)}}),layui.carousel.render({elem:e.parent(),width:"100%",height:"2.16rem",arrow:"none",autoplay:!1}),t}(o.options.data);o.document.append(t),function(n){var o=this;n.find(".wrapper .list").click(function(n){n.preventDefault(),n.stopPropagation();var t=a(this).attr("menu-id"),i=o.options.data.find(function(n){return n.menuId===t});"function"==typeof o.options.click&&o.options.click(t,i,a(this))})}.call(o,t)})},window.PlgMenuToolbar=t,a.fn.initPlgMenuToolbar=function(n){return new t(this,n)}}(jQuery);
  23. "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(i,s){s.use(["element"],function(){function l(){var t=this,e={0:"",1:"skin_1",2:"skin_2"};e[t.skin]||(t.skin=0);var a='<div class="layui-card PlgPanel '.concat(e[t.skin]," ").concat(t.className?t.className:"",'" id=').concat(t.getPanelId()," ").concat(t.style?'style="'.concat(t.style,'"'):"",">\n ").concat(t.header.isShow?'<div class="layui-card-header">\n <div class="title io">'.concat(t.header.title,"</div>\n ").concat(t.header.moreBtn&&0<t.header.moreBtn.length?'<div class="more_group">\n '.concat(t.header.moreBtn.map(function(t){return'<a class="'.concat(t.className?"".concat(t.className):"",'" ').concat(t.style?'style="'.concat(t.style,'"'):"",' href="javascript:;"> ').concat(t.icon?'<i class="'.concat(t.icon,'"></i>'):"").concat(t.name,"</a>")}).join(""),"\n </div>"):"","\n </div>\n "):"",'\n <div class="layui-card-body" id=').concat(t.getPanelBodyId(),">\n\n </div>\n ").concat(t.floor?'<div class="layui-card-floor">\n </div>':"","\n </div>\n ");return i(a)}function r(){if(this.defaultBody){var e=this.defaultBody,t=null;if(e.layoutCol<0||e.layoutCol,e.cols)return t='<form class="layui-form cl" style="padding:5px" lay-filter="">\n '.concat(e.cols.map(function(t){return'<div class="layui-row layui-col-space10">\n '.concat(t.map(function(t){return'<div class="layui-col-md'.concat(t.layoutCol||e.layoutCol," ").concat(t.offset?"layui-col-md-offset".concat(t.offset):"",'">\n <div class="layui-form-item">\n <label class="layui-form-label">').concat(t.label,':</label>\n <div class="layui-input-block">\n ').concat(function(t,e){switch(t.type||(t.type="text"),t.type){case"text":var a=i("<div>",{class:"text-info ".concat(e?"bj":"")});return t.value||0===t.value?a.text(t.value):a.html("<span style='color:#c3c3c3'>暂无数据</span>"),a[0].outerHTML;case"input":return t.value||0===t.value||(t.value=""),i("<input>",{type:"text",placeholder:"请输入信息",autocomplete:"off",class:"layui-input",value:t.value.toString()})[0].outerHTML}}(t,e.valueBj),"\n </div>\n </div>\n </div>")}).join(""),"\n\n </div>")}).join(""),"\n\n </form>"),i(t)}}function t(t,e){var a,n=this;if(n.Rand=Prolog.createRandomId(),1===arguments.length){if("object"===_typeof(a=arguments[0])){var o={renderer:"",className:"",style:"",skin:0,title:"",empyt:!0,fromData:null,header:{isShow:!0,title:"",moreBtn:null},grid:null,defaultBody:null,page:!1,floor:!0,totalCount:"totalCount",pageNum:"pageNum",pageSize:"pageSize",params:{pageSize:10,pageNum:1},pageType:"simple",url:null,type:"get",contentType:"application/x-www-form-urlencoded",success:null,listFormData:[],toolbar:[],columns:null};(n=Object.assign(n,o,a)).params="[object Object]"===Object.prototype.toString.call(a.params)?Object.assign(o.params,a.params):o.params,n.getElement=l.call(n),n.header.moreBtn&&0<n.header.moreBtn.length&&n.getElement.find(".more_group>a").each(function(t,e){e.onclick=n.header.moreBtn[t].onClick}),null!=n.defaultBody&&(n.defaultBody.cols&&0<n.defaultBody.cols.length?n.appendPanelBody(r.call(n)):i(n.defaultBody)[0]instanceof HTMLElement&&n.appendPanelBody(n.defaultBody)),n.renderBefore(),n.renderTo(n.renderer)}}else 2===arguments.length&&(t=arguments[0],"object"===_typeof(a=e)&&(n.opts=i.extend(!0,o,a),n.getElement=l(n.opts),n.renderTo(t)))}t.prototype.renderBefore=function(t){return"function"!=typeof t?null:(this.renderBefore=t,this.renderBefore(),this)},t.prototype.setPages=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this,e=t.getElement.find(".layui-card-floor");if(!t.page)return e.empty();var a=null==t.params.pageSize?0:t.params.pageSize,n=null==t.totalCount?0:t.totalCount,o=null==t.params.pageNum?0:t.params.pageNum;e.empty();var l=s.laypage,r=["count","prev","page","next","limit","skip","refresh"];"simple"==t.pageType?r=["count","prev","page","next","refresh"]:"min"==t.pageType&&(r=["count","prev","next"]),l.render({elem:e,count:n,limit:a,curr:o,limits:[5,10,20,30,50,100,200,500],groups:4,theme:"plg",prev:'<i class="layui-icon layui-icon-left"></i>',next:'<i class="layui-icon layui-icon-right"></i>',layout:r,jump:function(t,e){this.params.pageNum=t.curr,this.params.pageSize=t.limit,e||this.getListForm&&this.listReload()}.bind(t)})},t.prototype.renderTo=function(t){if(!t)return this;if("string"==typeof t&&(t=-1<t.indexOf(".")?t:"#"+t),this.renderer=t,this.empyt&&i(t).empty(),i(t).append(this.getElement),this.grid){var e=document.createElement("div");e.id="panel-grid-"+this.Rand,this.appendPanelBody(e),this.grid=new PlgGrid({fixedLast:!0,multiselect:!0,toolbar:this.toolbar,columns:this.columns||[],url:this.url,type:this.type,params:this.params,page:this.page,totalCount:this.totalCount}),this.grid.loadData(),this.grid.renderTo(e.id)}else this.toolbarReload(),this.listReload();return this},t.prototype.getGrid=function(){return this.grid},t.prototype.toolbarReload=function(){var t=this;if(!(Array.isArray(this.toolbar)&&0<this.toolbar.length))return null;var e=document.createElement("div");return e.id="toolbar-"+t.Rand,t.appendPanelBody(e),t.getToolbar=new PlgForm({renderer:e.id,items:t.toolbar}),this},t.prototype.listReload=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=this;if(!(Array.isArray(this.listFormData)&&0<this.listFormData.length))return null;var a,n,o,l=document.createElement("div");return l.id="list-form-"+e.Rand,e.appendPanelBody(l),e.getListForm=new PlgForm({renderer:l.id,items:e.listFormData}),e.url?(a=t,(o={url:(n=e).url,type:n.type,data:n.params,contentType:n.contentType,success:function(t){t.success?(n.params.pageSize=t.data.pageSize,n.totalCount=t.data.totalCount,n.params.pageNum=t.data.pageNum,n.done(n,t.data),n.setPages()):alert(n.url+"=>数据返回错误")}}).data=Object.assign(o.data,a),Prolog.ajax(o),this):void 0},t.prototype.done=function(t){return"function"==typeof t?this.done=t:null},t.prototype.getPanelBodyId=function(){return"PlgPanelBody-"+this.Rand},t.prototype.getPanelId=function(){return"PlgPanel-"+this.Rand},t.prototype.appendPanelBody=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],a=this.getElement.find(".layui-card-body");return e&&a.empty(),a.append(t),this},window.PlgPanel=t})}(jQuery,layui);
  24. "use strict";!function(f){var e=function(n){var e={renderer:null,title:"所有服务",menuData:null,leafClick:null,isI18n:window.isI18n||!1};n=Object.assign(e,n);for(var t in n)this[t]=n[t];this.init(),this.renderer&&this.renderTo(this.renderer)};function o(e,n){return Object.values(n).filter(function(n){return n.parentMenuId==e})}e.prototype.init=function(){return this.vNode=[],this.vNode[0]=function(){return f('\n <div class="product-all">\n <span class="icon-box"><i class="icon iconfont p-icon-all"></i></span>\n <span class="meun-name"> <a href="javascript:;">'.concat(this.title,'</a><i class="right-mover layui-icon layui-icon-right"></i>\n </span>\n </div>\n '))}.call(this),this.vNode[1]=function(){return f('<div class="pr-open">\n <div class="layui-layer-setwin"> <a class="layui-icon layui-icon-close" href="javascript:;"></a></div>\n <div class="pr-search">\n <span class="pr-icon-search-wrapper"><i class="layui-icon layui-icon-search"></i></span>\n\n <input type="text" id="selectInput" class="pr-search-input" autocomplete="off" '.concat(this.isI18n&&i18next.exists("请输入关键词")?"data-i18n=[placeholder]请输入关键词":"placeholder='请输入关键词'",'>\n <div class="search-tip">\n <p><span>以下是与“<strong></strong>”相关的产品:</span></p></div>\n </div>\n\n \x3c!-- 左边搜索出的列表---\x3e\n <div class="pr-left">\n <div id="keyUpList" class="keyUpList"></div>\n <div id="menu-group" class="pr-meungroup-list">\n \x3c!-- 全部菜单列表---\x3e\n </div>\n </div>\n\n \x3c!-- 右边一级菜单---\x3e\n <div class="pr-right">\n <div class="scroll-nav">\n <ul id="right-search-nav" class="right-sidebar">\n \x3c!--展开的菜单--\x3e\n </ul>\n </div>\n </div>\n\n </div>'))}.call(this),function(){var v=this,h=v.vNode[1].find("#keyUpList");f(document).on("click",function(n){v.vNode[1].hasClass("pr-open-show")&&v.close()}),this.vNode[0].click(function(n){n.stopPropagation(),n.preventDefault(),v.vNode[1].toggleClass("pr-open-show")}),this.vNode[1].find("#selectInput").keyup(function(n){n.stopPropagation(),n.preventDefault();var e=v.vNode[1].find("#menu-group"),t=e.find(".list-item"),a=f(this).next(".search-tip"),i=f(this).val();if(!(i=i.toUpperCase()))return a.hide(),e.show(),void h.html("").hide();a.show().find("strong").text(i),e.hide(),h.html("").show();var s=new RegExp("[\\u4E00-\\u9FFF]+","g");s.test(i),t.find("a").each(function(n,e){var t=f(e).attr("menu-id");v.isI18n&&"en"==i18next.language?str=f(e).text().toUpperCase().indexOf(i):(-1<f(e).text().indexOf(i)||-1<f(e).attr("py-code").indexOf(i))&&v.menuData[t]&&(h.append('\n <div class="pr-meun-group"><div class="'.concat(v.menuData[t].leaf?"list-item":"list-item parent",'" >\n ').concat(e.outerHTML,"</div></div>")),h.find("a").removeClass())})}),this.vNode[1].click(function(n){if(n.stopPropagation(),n.preventDefault(),"layui-icon layui-icon-close"==n.target.className)return v.close();var e,t,a,i=f(n.target).parents("#right-search-nav");if(0<i.length){var s=f(n.target).parents(".s-item"),c=(e=v.vNode[3],t=e.find(".list-item"),a={},t.each(function(n,e){var t=e.id;a[t]=parseInt(e.offsetTop)}),a),r=s.find("a").attr("menu-id"),o=v.vNode[3].find(".list-item");for(var l in s.addClass("active").siblings().removeClass("active"),o.each(function(){f(this)[0].id==r?f(this).addClass("select"):f(this).removeClass("select")}),c)l==r&&f(".pr-left").animate({scrollTop:c[l]});return!1}var d=f(n.target).parents("#menu-group");if((0<h.length||0<d.length)&&"A"==n.target.tagName){var l=f(n.target).attr("menu-id"),p=f(n.target).parents(".list-item");0==v.menuData[l].parentMenuId&&(v.vNode[1].find("#menu-group").show(),h.hide(),p=v.vNode[3].find(".list-item a[menu-id=".concat(l,"]")).parent()),d.find(".list-item").removeClass("select"),p.addClass("select");var u=p.children().attr("menu-id"),s=v.vNode[2].find("a[menu-id=".concat(u,"]")).parents(".s-item");return s.addClass("active").siblings().removeClass("active"),"function"==typeof v.leafClick&&(f(n.target).attr("menu-id"),v.leafClick(l,v.menuData[l],f(n.target)),v.menuData[l].leaf&&v.close()),!1}})}.call(this),this},e.prototype.loadData=function(n){var e,t,a;return this.vNode[2]=(e=n,t=this.isI18n,a="",Array.isArray(Object.values(e))&&Object.values(e).filter(function(n){"0"==n.parentMenuId&&(a+='<li class="s-item '.concat(n.isActive?"active":"",'">\n <span class="icon-box"><i class="').concat(n.imagePath,'"></i></span>\n <span class="meun-name">\n <a href="').concat(n.blank?n.path:n.hash?"#"+n.hash:"javascript:;",'" ').concat(n.blank?"target=_blank":""," ").concat(t&&i18next.exists(n.name.toString())?'data-i18n="'.concat(n.name,'"'):""," menu-id=").concat(n.menuId,">").concat(n.name,"</a></span>\n </li>"))}),f(a)),this.vNode[3]=function(a,i){if(a){var n=0,e=f('<div class="pr-meun-group"></div><div class="pr-meun-group"></div><div class="pr-meun-group"></div>'),t=o(0,a),s=function e(n){var t="";return o(n,a).forEach(function(n){t+='<div class="menu-text">\n <a py-code='.concat(n.PY_code," href=").concat(n.hash&&n.leaf?"#"+n.hash:"javascript:;","\n parentmenu-id=").concat(n.parentMenuId,"\n menu-id=").concat(n.menuId,"\n leaf=").concat(n.leaf,"\n ").concat(i&&i18next.exists(n.name.toString())?"data-i18n=".concat(n.name):"",">\n ").concat(n.name,"</a>\n </div>"),n.leaf||(t+=e(n.menuId))}),t};for(var c in t){var r='<div class="list-item '.concat(t[c].isActive?"select":"",'" id=').concat(t[c].menuId,">\n <a py-code=").concat(t[c].PY_code," href=").concat(t[c].hash&&t[c].leaf?"#"+t[c].hash:"javascript:;"," menu-id=").concat(t[c].menuId," ").concat(i&&i18next.exists(t[c].name.toString())?"data-i18n=".concat(t[c].name):""," parentmenu-id=").concat(t[c].parentMenuId,' class="list-title" leaf=').concat(t[c].leaf,">\n ").concat(t[c].name,"</a>");r+=s(t[c].menuId),r+="</div>",n%3==0?e.eq(0).append(r):n%3==1?e.eq(1).append(r):n%3==2&&e.eq(2).append(r),n++}return f(e).find(".menu-text>a[leaf='false']").parent().remove(),f(e)}}(n,this.isI18n),this.vNode[1].find("#right-search-nav").append(this.vNode[2]),this.vNode[1].find("#menu-group").append(this.vNode[3]),this.menuData=n,this},e.prototype.renderTo=function(n){return this.renderer=n,f("#"+this.renderer).addClass("plg-search").empty().append(this.vNode[0]),f("body").append(this.vNode[1]),this},e.prototype.close=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"pr-open-show";this.vNode[1].removeClass(n)},window.PlgSearch=e,f.fn.initPlgSearch=function(n){return new e(this,n)}}(jQuery);
  25. "use strict";!function(n,t){n.fn.PlgSelectPlusTags=function(e){return new r(e)};var r=function(e){this.render(e)};r.prototype.render=function(e){if(n("#"+e.renderer).after('<div class="layui-input-block plg-select-tags"></div>'),e.el="#"+e.renderer,delete e.renderer,e.isAll){var r=e.valueName,l=[];e.data.forEach(function(e){l.push(e[r])}),e.values=l}return e.hasOwnProperty("isAll")&&delete e.isAll,t.selectPlus.render(e)},window.PlgSelectPlusTags=r}(jQuery,layui);
  26. "use strict";function _typeof(n){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}!function(){var a=function(n,a){var t=this,r=t,u=null,e=!0,i={dom:null,documentPanel:null,meunPanelThis:null,template:function(n){var a=this.opes;return $('<div class="plg-sidebar">\n <div class="main-nav">\n <div id="meunSoroll" class="layui-side-scroll">\n\n <div class="plg-logo" >\n <a class="logo-path '.concat("plg"==a.logo&&"plg-logo",'" ></a>\n <i id="plg-logo-fold" class="plg_anticon layui-icon layui-icon-shrink-right"></i>\n </div>\n \x3c!-- 左侧导航区域(可配合layui已有的垂直导航) --\x3e\n <div class="pr-open" data-type="hoot-click">\n <div class="layui-layer-setwin">\n <a class="layui-icon layui-icon-close" href="javascript:;"></a>\n </div>\n <div class="pr-search">\n <span class="pr-icon-search-wrapper"><i class="layui-icon layui-icon-search\n "></i></span>\n\n <input type="text" id="selectInput" class="pr-search-input"\n ').concat(this.isI18n&&i18next.exists("请输入关键词")?"data-i18n=[placeholder]请输入关键词":"placeholder='请输入关键词'",'\n >\n\n <div class="search-tip">\n <p><span>以下是与“<strong></strong>”相关的产品:</span></p></div>\n\n </div>\n <div class="pr-left">\n <div id="keyUpList" class="keyUpList"></div>\n <div class="pr-meungroup-list">\n </div>\n </div>\n <div class="pr-right">\n <div class="scroll-nav">\n <ul class="right-sidebar">\n\n </ul>\n </div>\n </div>\n </div>\n <div class="product-all" data-type="hoot-click">\n <span class="icon-box">\n <i class="icon iconfont p-icon-all"></i>\n </span>\n <span class="meun-name">\n <a class="" href="javascript:;" ').concat(this.isI18n&&i18next.exists("所有服务")?'data-i18n="所有服务"':"",'>所有服务</a>\n <i class="right-mover layui-icon layui-icon-right\n "></i>\n </span>\n </div>\n <div class="nav-last" data-type="hoot-click">\n <ul id="sidebar" class="sidebar">\n\n\n\n\n </ul>\n <div class="nav-hover-child" >\n \x3c!-- 二级菜单 --\x3e\n <div class="layui-side">\n \x3c!--<div class="nav-title"></div>--\x3e\n <ul class="body-nav" lay-filter="test"></ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n '))},mainNav:function(n){if(n){var a="";return n[0].filter(function(n){"0"===n.parentMenuId&&(a+='\n <li class="s-item" id='.concat(n.id," menu-id=").concat(n.menuId,'>\n <span class="icon-box">\n <i class="').concat(n.imagePath,'"></i>\n </span>\n <span class="meun-name"><a href="').concat(n.leaf?n.path:"javascript:;",'"\n ').concat(r.isI18n&&i18next.exists(n.name.toString())?"data-i18n=".concat(n.name):"",'\n title="').concat(n.name,'" alt="').concat(n.name,'"\n >').concat(r.isI18n&&i18next.exists(n.name.toString())?"":n.name,"</a>").concat(n.leaf?"":'<i class="right-mover layui-icon layui-icon-right" style="right: 0.28rem;"></i>',"</span>\n </li>\n "))}),a}},resetOpenMenuList:function(n,e){if(e){var i=$('<div class="pr-meun-group"></div><div class="pr-meun-group"></div><div class="pr-meun-group"></div>');$(this.documentPanel[0]).find(".right-sidebar").html("").append(this.mainNav(e)),e[0].forEach(function(n,a){var t='<div class="list-item" id='.concat(n.menuId,'>\n <a href="').concat(n.leaf?n.path:"javascript:;",'"\n menu-id=').concat(n.menuId,"\n parentmenuid=").concat(n.parentMenuId,'\n class="list-title"\n ').concat(r.isI18n&&i18next.exists(n.name.toString())?"data-i18n=".concat(n.name):"",'\n title="').concat(n.name,'" alt="').concat(n.name,'"\n >\n ').concat(r.isI18n&&i18next.exists(n.name.toString())?"":n.name,"</a>");e[n.menuId]&&e[n.menuId].forEach(function(n){t+='<div class="menu-text">\n <a href='.concat(n.path||"javascript:;","\n menu-id=").concat(n.menuId,"\n parentmenuid=").concat(n.parentMenuId,"\n leaf=").concat(n.leaf,"\n ").concat(r.isI18n&&i18next.exists(n.name.toString())?"data-i18n=".concat(n.name):"",'\n title="').concat(n.name,'" alt="').concat(n.name,'"\n >\n ').concat(r.isI18n&&i18next.exists(n.name.toString())?"":n.name,"\n </a>\n\n </div>"),e[n.menuId]&&e[n.menuId].forEach(function(n){t+='<div class="menu-text">\n <a href='.concat(n.path||"javascript:;","\n menu-id=").concat(n.menuId,'\n title="').concat(n.name,'" alt="').concat(n.name,'"\n parentmenuid=').concat(n.parentMenuId,"\n leaf=").concat(n.leaf,"\n ").concat(r.isI18n&&i18next.exists(n.name.toString())?"data-i18n=".concat(n.name):"","\n >\n ").concat(r.isI18n&&i18next.exists(n.name.toString())?"":n.name,"\n </a>\n </div>")})}),t+="</div>",a%3==0?i.eq(0).append(t):a%3==1?i.eq(1).append(t):a%3==2&&i.eq(2).append(t)}),i.find(".menu-text>a[leaf='false']").hide(),n.append(i)}},setOpenAll:function(s){if(s){var n=this,o=n.dom.meungroupList,a=s.parentData,l=$(n.documentPanel[0]).find("#keyUpList");n.resetOpenMenuList(o,a);var c=new RegExp("[\\u4E00-\\u9FFF]+","g");$(n.documentPanel[0]).find("#selectInput").keyup(function(n){var a=$(this).val();if(!(a=a.toUpperCase()))return $(this).next(".search-tip").hide(),o.show(),void l.html("").hide();$(this).next(".search-tip").show().find("strong").text(a),o.hide();var t="";for(var e in s.mapAll){var i=s.mapAll[e];0<=(r.isI18n&&"en"==i18next.language?i18next.t(i.name).toUpperCase().indexOf(a):c.test(a)?i.name.indexOf(a):i.PY_code.indexOf(a))&&i.leaf&&(t+='<div class="pr-meun-group">\n <div class="list-item" id='.concat(i.menuId,' >\n <div class="menu-text">\n <a title="').concat(i.name,'" alt="').concat(i.name,'" ').concat(r.isI18n?"data-i18n=".concat(i.name):""," href=").concat(i.path||"javascript:;"," parentmenuid=").concat(i.parentMenuId," menu-id=").concat(i.menuId," >\n ").concat(i.name,"\n </a>\n </div>\n </div>\n </div>"))}o.hide(),l.html("").show().append(t),l.localize&&l.localize()})}},meunTopObj:function(e){var n=this.dom.meungroupList.find(".list-item");return e={},n.each(function(n,a){var t=a.id;e[t]=parseInt(a.offsetTop)}),e},removerShowList:function(){this.dom&&this.dom.meunSoroll.removeClass("showList")},clickChild:function(o){var l,c=this,r=c.dom.bodyNav,d=c.meunPanelThis.getData;c.dom.bodyNav.on("click","a",function(n){n.stopPropagation(),n.preventDefault(),l=$(this);var a=u=l.attr("menu-id");if(0<l.parent("li").length&&!d.mapAll[a].leaf)return l.parent("li").toggleClass("itemeds"),e=!1;c.dom.meungroupList.find("a[menu-id='"+a+"']").trigger("click")}),c.dom.prLeft.on("click","a",function(n){n.stopPropagation(),n.preventDefault(),l=$(this);var a=u=$(this).attr("menu-id"),t=r.find("a[menu-id='"+a+"']"),e=(t.parent(),t.siblings(".nav-child"),{getCurrent:d.mapAll[a]}),i=l.parents(".list-item").attr("id"),s=d.mapAll[a].leaf;l.attr("href");l.parents(".pr-open").find(".right-sidebar .s-item[menu-id="+i+"] a").trigger("click"),c.updateChildMeun(i,a),s&&(c.dom.meunSoroll.find(".nav-last").attr("data-show",""),c.removerShowList()),o&&o(e,n)})},EventHanlder:function(r){var d=this;$(document).on("click",function(){d.dom.meunSoroll.hasClass("showList")&&d.removerShowList()}),d.dom.documentPanel.find("#plg-logo-fold").click(function(n){$(this).hasClass("layui-icon-shrink-right")?($(this).removeClass("layui-icon-shrink-right").addClass("layui-icon-spread-left"),$("body").addClass("plg-open-hover")):($(this).removeClass("layui-icon-spread-left").addClass("layui-icon-shrink-right"),$("body").removeClass("plg-open-hover"))}),d.dom.meunSoroll.find(".nav-last").hover(function(n){return e=!0,d.removerShowList(),0<d.dom.bodyNav.find("li").length&&$(this).attr("data-show","show-child"),!1},function(n){return e&&$(this).attr("data-show",""),!(e=!0)}),d.dom.meunSoroll.on("click","[data-type='hoot-click']",function(n){n.stopPropagation(),n.preventDefault();var a=n.target;switch($(this).attr("class")){case"product-all":d.dom.meunSoroll.toggleClass("showList");break;case"pr-open":if(0<$(a).parents(".pr-left").length||"A"!=a.nodeName)return;if("layui-layer-setwin"==a.parentNode.className)return void d.removerShowList();var t=d.meunTopObj(),e=$(a).parents(".s-item"),i=e.attr("menu-id"),s=$(".pr-meungroup-list").find(".list-item");for(var o in e.addClass("active").siblings().removeClass("active"),s.each(function(){$(this)[0].id==i?$(this).addClass("select"):$(this).removeClass("select")}),t)o==i&&d.dom.prLeft.animate({scrollTop:t[o]});break;case"nav-last":var l=$(a).parents(".s-item").attr("menu-id");if(!l)return;var c=Boolean(r.mapAll[l].leaf);if(d.dom.meunSoroll.find(".nav-last").attr("data-show",""),d.removerShowList(),0<$(a).parents("#sidebar").length&&d.dom.meungroupList.find("a[menu-id='"+l+"']").trigger("click"),c)return!1;setTimeout(function(){d.dom.meunSoroll.find(".nav-last").attr("data-show","show-child")},200);break;default:return!1}})},updateChildMeun:function(n,o){var l=this;n=n;$("[menu-id="+n+"]").addClass("active").siblings().removeClass("active");var a=l.meunPanelThis.getData;if(l.dom.bodyNav.empty(),n){if(a.mapAll[n].leaf&&0==a.mapAll[o].parentMenuId)return;var c=a.parentData;c[n]&&c[n].forEach(function(a){var n="item h-link";o&&a.menuId==o&&(n="item h-link active-this itemeds");var t=$("<li>",{class:n}),e=$("<a>",{href:a.path||"javascript:;","menu-id":a.menuId,leaf:a.leaf,level:a.level,id:a.id,title:a.name,alt:a.name,parentMenuId:a.parentMenuId}).html("<span>".concat(a.name,"</span>")),i=r.isI18n&&i18next.exists(a.name.toString());if(i&&e.find("span").attr("data-i18n",a.name),t.append(e),!a.leaf&&c[a.parentMenuId]&&0<c[a.parentMenuId].length){var s='<dl class="nav-child">';c[a.menuId]&&c[a.menuId].forEach(function(n){s+="<dd class= ".concat(o&&n.menuId==o?"active-this":""," >\n <a ").concat(i?"data-i18n=".concat(n.name):"","\n href=").concat(n.path||"javascript:;"," leaf=").concat(n.leaf,'\n alt="').concat(n.name,'"\n title="').concat(n.name,'"\nmain-id=').concat(a.parentMenuId," parentMenuId=").concat(n.parentMenuId," menu-id=").concat(n.menuId,">").concat(i?"":n.name,"</a></dd>")}),s+="</dl>",e.append('<i class="right-mover layui-icon layui-icon-right"></i>'),t.append(s),o&&t.find("dd").each(function(n,a){if("active-this"==$(a).attr("class"))return t.addClass("active-this").addClass("itemeds"),t.find(".nav-child").show()})}l.dom.bodyNav.append(t),l.dom.bodyNav.localize&&l.dom.bodyNav.localize()})}},initPanel:function(n,a){var t=this;return t.meunPanelThis=n,t.opes=a,t.documentPanel=t.template(t),t.documentPanel&&(t.dom={documentPanel:t.documentPanel,meunSoroll:t.documentPanel.find("#meunSoroll"),$sidebar:t.documentPanel.find("#sidebar"),bodyNav:t.documentPanel.find(".body-nav"),meungroupList:t.documentPanel.find(".pr-meungroup-list"),prLeft:t.documentPanel.find(".pr-left"),$tabli:$(".layui-tab-title li"),$nav_hover_child:t.documentPanel.find(".nav-hover-child")}),t.documentPanel}};t.isI18n=window.isI18n||!1,t.getActiveId=function(){return u};t.getFun=i;var s={isTrigger:!1,logo:null,url:null,type:"get",dataType:"json",params:null,defaults:null,menuClick:null,tabsConfing:null};1==arguments.length?(t.opts=n,t.opts=$.extend(!0,s,t.opts),t.init(t.opts)):2==arguments.length&&(t.ele=n,t.opts=a,t.opts=$.extend(!0,s,t.opts),t.init(),t.renderTo(t.ele)),t.opts.tabsConfing&&(t.navTabs=new PlgTabs(t.opts.tabsConfing))};a.prototype.setMapData=function(){var n,i,a=this,s=(n=layer.load(2,{shade:[.6,"#fff"]}),function(){layer.close(n)}),o=null,l=null;o={};var c=null;return new Promise(function(t,e){Prolog.ajax({type:a.opts.type,url:a.opts.url,dataType:a.opts.dataType,data:a.opts.params,success:function(n){var a;n.success&&((i=n.data).forEach(function(n,a){n.PY_code||(n.PY_code=pinyin.makePy(n.name)[0])}),a={},i.forEach(function(n){a[n.parentMenuId]||(a[n.parentMenuId]=[]),a[n.parentMenuId].push(n)}),l=a,i.forEach(function(n){o[n.menuId]=n}),c={dataAll:i,mapAll:o,parentData:l}),c?t(c):e(c)},error:function(n){layer.msg("数据加载失败!"),e(c)},complete:function(){s()}})})},a.prototype.init=function(n){var a=this,t=this.getFun;return"object"===_typeof(a.opts)&&(a.opts=$.extend(!0,a.config,a.opts),a.opts.url,a.getElement=t.initPanel(a,a.opts),a.promiseGetDate=a.setMapData()),this},a.prototype.renderTo=function(e){var i=this,a=this.getFun,n=this.getFun.documentPanel;return $("#"+e).append(n),i.promiseGetDate.then(function(n){return n?(a.meunPanelThis.getData=n,a.dom.$sidebar.append(a.mainNav(n.parentData)),a.setOpenAll(n),a.EventHanlder(n),"function"==typeof i.opts.menuClick?a.clickChild(i.opts.menuClick.bind(i)):a.clickChild(),n):null}).then(function(n){if(n){if(i.opts.isTrigger){var a=$("#"+e).find(".sidebar li:first-child").addClass("active").attr("menu-id");i.getFun.updateChildMeun(null,a)}if(i.opts.defaults){var t=n.mapAll[i.opts.defaults];t&&i.getFun.dom.meungroupList.find("a[menu-id='"+t.menuId+"']").trigger("click")}}}),this},window.PlgSideAccordion=a,$.fn.initPlgSideAccordion=function(n){return new a(this,n)}}();
  27. "use strict";!function(l){var a=function(n){var a=this;a.options=n,a.getActiveId=function(){return vipspa.indexid};var i,e={data:null,renderer:null,url:null,isI18n:window.isI18n||!1,ajaxInit:{url:null,type:"get",dataType:"json"},logo:"",route:!1,menuClick:null,routerConfig:null};a.options=l.extend(!0,e,a.options),a.fold=!0,a.options.data?a.promiseGetDate=new Promise(function(n){n(s(a.options.data))}):a.promiseGetDate=(i=a.options.ajaxInit,new Promise(function(a,e){var n=PlgDialog.loading2(),t=null;i.success=function(n){n.success?t=s(n.data):layer.msg("数据加载失败!"),t?a(t):e()},i.error=function(n,a,e){},i.complete=function(){n()},Prolog.ajax(i)})),a.document=function(n,a){var a=this.options,e=(this.mapData,l('<div class="plg-sidebar">\n <div class="main-nav">\n <div id="meunSoroll" class="layui-side-scroll">\n <div class="plg-logo" >\n <a class="logo-path '.concat("plg"==a.logo&&"plg-logo",'" ></a>\n <i id="plg-logo-fold" class="plg_anticon layui-icon ').concat(this.fold?"layui-icon-shrink-right":"layui-icon-spread-left",'"></i>\n </div>\n \x3c!-- 左侧打开全部导航区域 --\x3e\n <div class="pr-open" data-type="hoot-click">\n <div class="layui-layer-setwin">\n <a class="layui-icon layui-icon-close" href="javascript:;"></a>\n </div>\n <div class="pr-search">\n <span class="pr-icon-search-wrapper"><i class="layui-icon layui-icon-search\n "></i></span>\n\n <input type="text" id="selectInput" class="pr-search-input" ').concat(a.isI18n&&i18next.exists("请输入关键词")?"data-i18n=[placeholder]请输入关键词":"placeholder='请输入关键词'",'>\n <div class="search-tip">\n <p><span>以下是与“<strong></strong>”相关的产品:</span></p></div>\n </div>\n <div class="pr-left">\n <div id="keyUpList" class="keyUpList"></div>\n <div class="pr-meungroup-list">\n \x3c!-- 全部菜单列表---\x3e\n\n\n </div>\n </div>\n <div class="pr-right">\n <div class="scroll-nav">\n <ul class="right-sidebar">\n\n \x3c!--展开的菜单--\x3e\n\n\n </ul>\n </div>\n </div>\n </div>\n <div class="product-all" data-type="hoot-click">\n <span class="icon-box">\n <i class="icon iconfont p-icon-all"></i>\n </span>\n <span class="meun-name">\n <a href="javascript:;" ').concat(a.isI18n&&i18next.exists("所有服务")?'data-i18n="所有服务"':"",'>所有服务</a>\n <i class="right-mover layui-icon layui-icon-right\n "></i>\n </span>\n </div>\n <div class="nav-last" data-show="">\n <ul id="sidebar" class="sidebar">\n\n \x3c!--一级菜单--\x3e\n\n </ul>\n <div class="nav-hover-child" >\n \x3c!-- 二级菜单 --\x3e\n <div class="layui-side">\n\n \x3c!-- 当前hover二级菜单列表---\x3e\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n ')));return l().localize&&e.localize(),l(e)}.call(a),a.init(a.document),a.options.renderer&&a.renderTo(a.options.renderer),a.promiseGetDate.then(function(n){vipspa.routerMap=Object.assign(vipspa.routerMap,n.routeSetting),vipspa.__defineGetter__("mapData",function(){return n.treedata.mapData}),vipspa.loadRoute()}),vipspa.__defineSetter__("mapData",function(n){n&&a.reset(n)}),a.options.routerConfig&&vipspa.start(a.options.routerConfig)};function c(a,n){return Object.values(n).filter(function(n){return n.parentMenuId==a})}function d(n,i,a,t){var e=i[i[n].parentMenuId];e?"0"!==e.parentMenuId&&(e=i[e.parentMenuId]):e=i[n];e.children=function a(e){var t=[];return Object.values(i).forEach(function(n){if(e==n.parentMenuId&&(t.push(n),!n.leaf))return n.children=a(n.menuId)}),t}(e.menuId);var s=e,o='<ul class="body-nav" parentmenu-id='.concat(e.menuId," name=").concat(e.name,">");for(var r in s=s.children)o+='<li class="item h-link '.concat(s[r].isActive?"active-this":""," ").concat(s[r].isActive&&s[r].children?"itemeds":"",'">\n <a href="').concat(s[r].blank?s[r].path:s[r].hash?"#"+s[r].hash:"javascript:;",'" ').concat(s[r].blank?"target=_blank":""," menu-id=").concat(s[r].menuId,' leaf="').concat(s[r].leaf,'" level="').concat(s[r].level,'"><span ').concat(t&&i18next.exists(s[r].name.toString())?"data-i18n=".concat(s[r].name):"",">").concat(s[r].name,"</span>\n ").concat(s[r].children&&!s[r].leaf?'<i class="right-mover layui-icon layui-icon-right"></i>':"","\n </a>\n ").concat(s[r].children&&!s[r].leaf?'<dl class="nav-child" parentmenu-id='.concat(s[r].menuId,">\n ").concat(s[r].children.map(function(n,a,e){return"<dd ".concat(n.isActive?'class="active-this"':"",">\n <a href=").concat(n.blank?n.path:n.hash?"#"+n.hash:"javascript:;","\n ").concat(n.blank?"target=_blank":""," leaf=").concat(n.leaf," menu-id=").concat(n.menuId," level=").concat(n.level," ").concat(t&&i18next.exists(n.name.toString())?"data-i18n=".concat(n.name):"",">").concat(n.name,"</a></dd>")}).join(""),"\n </dl>"):"","\n </li>");return o+="</ul>",a?(a.bodyNav.html(o),l().localize&&a.bodyNav.localize()):(l(".nav-hover-child .layui-side").html(o),l().localize&&l(".nav-hover-child .layui-side").localize()),o}var u=!0;function e(i){var s=this.options.isI18n,o=new RegExp("[\\u4E00-\\u9FFF]+","g");i.meunSoroll.find("#selectInput").keyup(function(n){var e=i.prLeft.find("#keyUpList"),a=l(this).next(".search-tip"),t=l(this).val();if(!(t=t.toUpperCase()))return a.hide(),i.meungroupList.show(),void e.html("").hide();a.show().find("strong").text(t),i.meungroupList.hide(),e.html("").show(),i.meungroupList.find(".list-item").find("a").each(function(n,a){0<=(s&&"en"==i18next.language?l(a).text().toUpperCase().indexOf(t):o.test(t)?l(a).text().indexOf(t):l(a).attr("py-code").indexOf(t))&&Boolean(l(a).attr("leaf"))&&(e.append('<div class="pr-meun-group"><div class="list-item">'.concat(a.outerHTML,"</div></div>")),e.find("a").removeClass())})})}function p(n,a){a||(a="showList"),n.removeClass(a)}function s(n){var t={},o=function(e){e.forEach(function(n,a){delete n.children,delete n.type,delete n.queryId,delete n.operateType,delete n.lastModifyTime,delete n.helpCode,delete n.creatorName,delete n.creatorId,delete n.createTime,delete n.modifierId,delete n.modifierName,delete n.sort,n.enable||delete e[a]});var a={};return e.forEach(function(n){a[n.menuId]=n}),{mapData:a}}(n);return n.forEach(function(n){if(!n.blank&&(n.PY_code=pinyin.makePy(n.name)[0],n.leaf&&n.path)){if(!n.hash){var a=n.path.indexOf("?");n.hash=n.path,-1<a&&(n.hash=n.path.substr(0,a-1)),n.hash=n.hash.substr(1).split("/"),n.hash=n.hash[n.hash.length-2]+"/"+n.hash[n.hash.length-1],-1!=n.hash.indexOf("=")&&(n.hash=n.hash.match("([^=]+)$")[0])}var e=function n(a){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];var i=o.mapData;var s=i[a];if(s&&(e.unshift(s.name),t.unshift(s.menuId),0!=s.parentMenuId))return n(s.parentMenuId,e,t);return{arr:e,idarr:t}}(n.menuId);n.path=function(n){var a=n.path,e=a.indexOf("?");{if(n.iframe)return a;if(-1<e)return a;var t=a.indexOf(".html");return-1<t?a:a+".html"}}(n),-1<a&&(n.hash=n.menuId),t[n.hash]={templateUrl:n.path,iframe:n.iframe||!1,controller:n.srcPath?n.srcPath+".js":null,name:n.name,menuId:n.menuId,parent_name:e.arr,stateArr:e.idarr},e=null}}),{treedata:o,routeSetting:t}}a.prototype.init=function(n){var a=this;return a.$dom={sidebar:n.find("#sidebar"),logoFold:n.find("#plg-logo-fold"),meunSoroll:n.find("#meunSoroll"),navLast:n.find("#meunSoroll .nav-last"),bodyNav:n.find(".nav-hover-child .layui-side"),meungroupList:n.find(".pr-meungroup-list"),prLeft:n.find(".pr-left"),rightSidebar:n.find(".right-sidebar"),nav_hover_child:n.find(".nav-hover-child")},function(r){var i=this,s=this.options,o=function(){return vipspa.mapData};l(document).on("click",function(n){r.meunSoroll.hasClass("showList")&&p(r.meunSoroll)}),r.logoFold.click(function(n){i.fold?(l(this).removeClass("layui-icon-shrink-right").addClass("layui-icon-spread-left"),l("body").addClass("plg-open-hover")):(l(this).removeClass("layui-icon-spread-left").addClass("layui-icon-shrink-right"),l("body").removeClass("plg-open-hover")),i.fold=!i.fold}),r.navLast.hover(function(n){u=!0;var a=l(this).find("li.s-item.active a").attr("menu-id");if(!a||!vipspa.mapData[a].leaf)return p(r.meunSoroll),l(this).attr("data-show","show-child"),!1;r.navLast.attr("data-show","")},function(){return u&&l(this).attr("data-show",""),!1}),r.prLeft.on("click",".list-item a",function(n){var i=l(this).attr("menu-id"),a=l(this).attr("parentmenu-id");return n.preventDefault(),o()[i].leaf&&o()[i].hash?(location.hash="#"+o()[i].hash,o()[i].leaf&&"0"!==o()[i].parentMenuId?d(i,o(),r,s.isI18n):(o()[i].parentMenuId,a=function n(a){var e=o()[a];if(e&&"0"!==e.parentMenuId)return n(e.parentMenuId);d(i,o(),r,s.isI18n);var t=r.bodyNav.find("a[menu-id='".concat(i,"']"));return t.parent().is("dd")&&(t.parents("li.item ").addClass("itemeds"),t.parents("dl.nav-child").show()),t.parent().addClass("active-this").siblings().removeClass("active-this"),a}(a)),void p(r.meunSoroll)):(l(".scroll-nav").find("a[menu-id='"+o()[i].menuId+"']").click(),!1)}),r.sidebar.on("click","li",function(n){var a=l(this),e=l(this).find("a").attr("menu-id");vipspa.indexid=e;var t=l(this).index();if(l(this).addClass("active").siblings().removeClass("active"),s.index=t,vipspa.mapData[e].leaf)return r.navLast.attr("data-show",""),location.hash=l(this).find("a").attr("href"),void(s.menuClick&&s.menuClick.call(i,a));n.preventDefault(),r.navLast.attr("data-show",""),d(e,o(),r,s.isI18n),setTimeout(function(){r.navLast.attr("data-show","show-child")},200),s.menuClick&&s.menuClick.call(i,a)}),r.bodyNav.on("click","li a",function(n){n.stopPropagation();var a=l(this),e="true"==a.attr("leaf"),t=a.siblings("dl.nav-child");if(vipspa.indexid=a.attr("menu-id"),a.parent().addClass("active-this").siblings().removeClass("active-this").find("dd").removeClass("active-this").removeClass("itemeds"),a.parent().is("dd")&&a.parents("li.item").addClass("active-this").siblings().removeClass("active-this").removeClass("itemeds"),s.menuClick&&s.menuClick.call(i,a),!e&&0<t.length)return a.parent().addClass("active-this").siblings().removeClass("active-this").removeClass("itemeds"),t.slideToggle("fast"),a.parent().toggleClass("itemeds").siblings().children(".nav-child").slideUp(),u=!1;"_blank"!=l(this).attr("target")?"javascript:;"!==l(this).attr("href")?(r.navLast.attr("data-show",""),location.hash=l(this).attr("href")):n.preventDefault():r.navLast.attr("data-show","")}),r.meunSoroll.on("click","[data-type='hoot-click']",function(n){n.stopPropagation(),n.preventDefault();var a=n.target;switch(l(this).attr("class")){case"product-all":r.meunSoroll.toggleClass("showList");break;case"pr-open":"layui-layer-setwin"==a.parentNode.className&&p(r.meunSoroll);var e=meunTopObj(r.meungroupList),t=l(a).parents(".s-item"),i=t.find("a").attr("menu-id"),s=r.meungroupList.find(".list-item");for(var o in t.addClass("active").siblings().removeClass("active"),s.each(function(){l(this)[0].id==i?l(this).addClass("select"):l(this).removeClass("select")}),e)o==i&&l(".pr-left").animate({scrollTop:e[o]});document.addEventListener("keyup",function(){});break;default:return!1}})}.call(a,a.$dom),e.call(a,a.$dom),a},a.prototype.reset=function(n){var a,e,t,i=this,s=(a=n,e=i.options.isI18n,t="",Object.values(a).filter(function(n){"0"==n.parentMenuId&&(t+='<li class="s-item '.concat(n.isActive?"active":"",'">\n <span class="icon-box"><i class="').concat(n.imagePath,'"></i></span>\n <span class="meun-name">\n <a href="').concat(n.blank?n.path:n.hash?"#"+n.hash:"javascript:;",'" ').concat(n.blank?"target=_blank":""," ").concat(e&&i18next.exists(n.name.toString())?'data-i18n="'.concat(n.name,'"'):""," menu-id=").concat(n.menuId,">").concat(n.name,"</a>\n ").concat(n.leaf?"":'<i class="right-mover layui-icon layui-icon-right" style="right: 0.28rem;"></i>',"</span>\n </li>"))}),t);i.$dom.sidebar.empty().append(s),i.$dom.rightSidebar.empty().append(s);var o=function(t,i){if(t){var n=0,a=l('<div class="pr-meun-group"></div><div class="pr-meun-group"></div><div class="pr-meun-group"></div>'),e=c("0",t),s=function a(n){var e="";return c(n,t).forEach(function(n){e+='<div class="menu-text">\n <a py-code='.concat(n.PY_code," href=").concat(n.hash&&n.leaf?"#"+n.hash:"javascript:;","\n parentmenu-id=").concat(n.parentMenuId,"\n menu-id=").concat(n.menuId,"\n leaf=").concat(n.leaf,"\n ").concat(i&&i18next.exists(n.name.toString())?"data-i18n=".concat(n.name):"",">\n ").concat(n.name,"</a>\n </div>"),n.leaf||(e+=a(n.menuId))}),e};for(var o in e){var r='<div class="list-item '.concat(e[o].isActive?"select":"",'" id=').concat(e[o].menuId,">\n <a py-code=").concat(e[o].PY_code," href=").concat(e[o].hash&&e[o].leaf?"#"+e[o].hash:"javascript:;"," menu-id=").concat(e[o].menuId," ").concat(i&&i18next.exists(e[o].name.toString())?"data-i18n=".concat(e[o].name):""," parentmenu-id=").concat(e[o].parentMenuId,' class="list-title" leaf=').concat(e[o].leaf,">\n ").concat(e[o].name,"</a>");r+=s(e[o].menuId),r+="</div>",n%3==0?a.eq(0).append(r):n%3==1?a.eq(1).append(r):n%3==2&&a.eq(2).append(r),n++}return l(a).find(".menu-text>a[leaf='false']").hide(),l(a)}}(n,i.options.isI18n);return i.$dom.meungroupList.empty().append(o),i},a.prototype.renderTo=function(n){return this.options.renderer=n,l("#"+this.options.renderer).empty().append(this.document),this},window.PlgSideAccordionRoute=a,l.fn.initPlgSideAccordion=function(n){return new a(this,n)}}(jQuery);
  28. "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(p,t){t.use(["element"],function(){t.element;this._onTab=null,this._onDelete=null;var i=function(t){var n=this;n.layids=[],n.preIndex=-1;var e,i,a,l={className:"",targetLoading:!0,isI18n:window.isI18n||!1,time:100,renderer:null,filter:"plgTabs-"+Prolog.createRandomId(),indexActive:0,activeId:"",closeAll:!1,skin:"brief",fadeIn:!1,allowClose:!1,content:[]};"object"===_typeof(e=t)&&(n.opts=p.extend(!0,l,e),"undefined"!=typeof i18next&&n.opts.isI18n&&0<n.opts.content.length&&(n.opts.content=(i=n.opts.content,a=[],i.map(function(t,e){return a[e]={},a[e]=Object.assign(t,a[e]),"undefined"!=typeof i18next&&t.title&&i18next.exists(t.title.toString())&&(a[e].title=i18next.t(t.title)),a}),a)),n.getElement=function(n){var t=function(t){if(t){var i="",a="";return t.forEach(function(t,e){i+="<li lay-id = ".concat(t.id,' class="').concat(n.indexActive===e?"layui-this":"",'" >').concat(t.title,"</li>"),a+='<div class="layui-tab-item '.concat(n.indexActive===e?"layui-show":"",'" data-fade="">').concat(t.template,"</div>")}),{title:i,content:a}}return""};t=t(n.content);var e='\n\n <ul class="plg-tab-close-all" lay-filter="plg-tab-close-all">\n <div class="plg-tab-close-item">\n <a href="javascript:;" class="layui-icon layui-icon-more"></a>\n <dl class="child">\n <dd><a href="javascript:;" '.concat(n.isI18n&&i18next.exists("关闭其它标签页")?'data-i18n="关闭其它标签页"':"",' >关闭其它标签页</a></dd>\n <dd><a href="javascript:;" ').concat(n.isI18n&&i18next.exists("关闭其它标签页")?'data-i18n="关闭当前标签页"':"",' >关闭当前标签页</a></dd>\n <dd><a href="javascript:;" ').concat(n.isI18n&&i18next.exists("关闭所有标签页")?'data-i18n="关闭所有标签页"':"",">关闭所有标签页</a></dd>\n </dl>\n </li>\n </ul>"),i="\n ".concat("plgLayoutTabs"===n.skin?'<span class="icon-box"><i class="icon iconfont p-icon-home"></i></span>':"",'\n <div class="').concat({normal:"layui-tab",brief:"layui-tab layui-tab-brief",card:"layui-tab layui-tab-card",plgtabs:"layui-tab layui-tab-brief plgtabs",plgLayoutTabs:"layui-tab layui-tab-brief plgtabs plg-layout-tabs"}[n.skin]+" "+n.className,'" ').concat(n.allowClose?'lay-allowClose="true"':"","\n ").concat(n.filter?'lay-filter="'+n.filter+'"':"",">\n ").concat(n.closeAll?e:"",'\n <ul class="layui-tab-title ').concat("plgLayoutTabs"===n.skin?"home":"",'">\n </ul>\n <div class="layui-tab-content"></div>\n </div>');return p(i)}(n.opts),n.opts.closeAll&&(n.getElement.find(".plg-tab-close-all").hover(function(){p(this).find(".child").show()},function(){p(this).find(".child").hide()}),n.getElement.find(".plg-tab-close-all .child").on("click","dd",function(t){t.preventDefault();var a=p(this).index();p(this).parents(".plg-tab-close-all").next().children("li").each(function(t,e){var i=p(e);0!==i.index()&&(i.hasClass("layui-this")?1===a&&n.deleteTabs(i.attr("lay-id")):0===a&&n.deleteTabs(i.attr("lay-id")),2===a&&n.deleteTabs(i.attr("lay-id")))}),p(this).parents(".child").hide()}))),n.opts.renderer&&n.renderTo(this.opts.renderer)};i.prototype.renderTo=function(t){var n=this;p("#"+t).append(this.getElement),this.opts.content.forEach(function(t,e){var i=!1;n.opts.indexActive===e&&(i=!0),n.addTabs(t,i)});var e=this.getElement.find(".layui-tab-title > li").eq(n.opts.indexActive).attr("lay-id");return n.changeTabs(e),this.element.render("nav"),this.element.render("tab",this.opts.filter),this.element.on("tab(".concat(this.opts.filter,")"),function(t){(n.activeId=this.getAttribute("lay-id"),n.activeId)&&(n.layids.find(function(t){return t===n.activeId})||n.layids.push(n.activeId));t.layId=n.layids[t.index],"function"==typeof n._onTab&&n._onTab.call(this,t),n.preIndex=t.index}),this.element.on("tabDelete(".concat(this.opts.filter,")"),function(a){a.id=n.layids.filter(function(t,e,i){return t===n.layids[a.index]&&i.splice(e,1)}),"function"==typeof n._onDelete&&n._onDelete.call(this,a)}),this};var o=-1;i.prototype.addTabs=function(t,e){var s=PlgDialog.loading2("#".concat(this.opts.renderer," .layui-tab-content")),i=t.title.replace(/<[a-zA-z](([\s\S])*?)<\/[a-zA-z]>/gm,""),a=p("<span ".concat(this.opts.isI18n?'data-i18n="'.concat(i,";[title]").concat(i18next.t(i),'"'):"title=".concat(i),' class="name" style="vertical-align: top;" >').concat(i,"</span>"));a.localize&&a.localize(),a=a[0].outerHTML,t.title=t.title.replace(i,a);var r=this;e||(e=null);var c=e;this.preIndex=this.getElement.find(".layui-tab-title li.layui-this").index();var d=this.getElement.find(".layui-tab-title li"),u=Number(d.length),n={title:'<span class="name">新标题</span>',content:"",id:"lay-"+Prolog.createRandomId(),iframe:!1},f=p.extend(!0,n,t);function l(t){try{f.content=t,r.element.tabAdd(r.opts.filter,f),c&&r.changeTabs(f.id)}catch(t){}finally{r.getElement.find(".layui-tab-content .layui-tab-item").attr("data-fade",""),(e=r.getElement.find(".layui-tab-title"),i=e.width()-15,a=e.find("li").eq(0).outerWidth(),n=e.prev()?e.prev().outerWidth():0,l=e.find("li").last().outerWidth(),o=Math.floor(i-a-n)/l,Math.floor(o)-1)<u&&d.eq(1)&&r.deleteTabs(d.eq(1).attr("lay-id")),s()}var e,i,a,n,l,o}f.url&&!f.iframe?Prolog.ajax({type:"get",url:f.url,dataType:"html",success:l,error:function(t,e,i){layer.msg("数据请求失败"),s()}}):(f.template&&!f.iframe||(f.template='<iframe class="plg-iframeClass" frameborder="no" src="'.concat(f.url,'"></iframe>')),l(f.template),s()),r.preIndex=o=r.getElement.find(".layui-tab-title>.layui-this").index()},i.prototype.changeTabs=function(t,e){var i,a;if(/^[0-9]+.?[0-9]*$/.test(t)?i=(a=this.getElement.find(".layui-tab-title>li").eq(t)).attr("lay-id"):(i=t,a=this.getElement.find(".layui-tab-title>li[lay-id='"+i+"']")),o=this.getElement.find(".layui-tab-title>.layui-this").index(),this.element.tabChange(this.opts.filter,i),this.preIndex=o,this.opts.fadeIn){this.getElement.find(".layui-tab-content >.layui-tab-item").attr("data-fade","");var n=this.getElement.find(".layui-tab-content >.layui-tab-item.layui-show");if(n.index()>this.preIndex)n.attr("data-fade","left");else{if(n.index()==this.preIndex)return!1;this.element.tabChange(this.opts.filter,i),n.attr("data-fade","right")}setTimeout(function(){n.attr("data-fade","")},this.opts.time)}return"function"==typeof e&&e(a),this},i.prototype.deleteTabs=function(t){return this.element.tabDelete(this.opts.filter,t),this},i.prototype.element=t.element,i.prototype.on=function(t,e){var i=e,a=t;return"string"==typeof t&&(i=t,a=e),e||(i="tab"),"tab"===i?this._onTab=a:"tabDelete"===i&&(this._onDelete=a),this},window.PlgTabs=i,p.fn.initPlgTabs=function(t){var e=p(this).attr("id");return new i(t).renderTo(e)}})}(jQuery,layui);
  29. "use strict";!function(n){function t(e){this.options={renderer:""},e.leftPlane.columns.push({id:"op",name:"操作",type:"button",width:180,align:"center",render:function(t,i){return e.leftPlane.rowBtn+"^window.transferAddGroup"}});Prolog.createRandomId();e.rightPlane.columns.push({id:"op",name:"操作",type:"button",width:180,align:"center",render:function(t,i){return e.rightPlane.rowBtn+"^window.transferDelGroup"}}),window.transferAddGroup=function(t,i){this.leftPlane.rowBtnClick&&this.leftPlane.rowBtnClick(t,i)}.bind(this),window.transferDelGroup=function(t,i){this.rightPlane.rowBtnClick&&this.rightPlane.rowBtnClick(t,i)}.bind(this);return this.leftPlane={title:"",toolbar:[],columns:null,url:"",type:"get",params:{},page:!0,totalCount:"totalCount"},this.rightPlane={title:"",toolbar:[],columns:null,url:"",type:"get",params:{},page:!0,totalCount:"totalCount"},this.options=n.extend(!0,this.options,e),this.leftPlane=n.extend(!0,this.leftPlane,this.options.leftPlane),this.rightPlane=n.extend(!0,this.rightPlane,this.options.rightPlane),this.element=function(){var t='\n <div class="plg-flex" style="height: calc(100%); overflow: auto;">\n <div id="inputLeft" class="plg-flex-item" style="flex: 1; height: 100%">\n 1\n </div>\n <div class="plg-flex-item" style="height: 100%; flex: 0 0 80px;width:80px;">\n <div class="btnForm">\n <a id="leftPanelBtn" href="javascript:void(0)" class="disable">\n <i class="layui-icon layui-icon-right"></i>\n </a>\n <a id="rightPanelBtn" href="javascript:void(0)" class="disable">\n <i class="layui-icon layui-icon-left"></i>\n </a>\n </div>\n </div>\n <div id="outerRight" class="plg-flex-item" style="flex: 1;height: 100%;">\n 2\n </div>\n </div>';t=n(t);var i=function(t){return{skin:0,className:"flex_panel",grid:!0,columns:this[t].columns,toolbar:this[t].toolbar,header:{isShow:!!this[t].title,title:this[t].title},url:this[t].url,type:this[t].type,params:this[t].params,page:this[t].page,totalCount:this[t].totalCount}}.bind(this);return this.inputLeft=new PlgPanel(i("leftPlane")),this.inputLeft.ids="",this.inputLeft.btn=t.find("#leftPanelBtn"),this.outerRight=new PlgPanel(i("rightPlane")),this.outerRight.ids="",this.outerRight.btn=t.find("#rightPanelBtn"),t}.call(this),this.init(),this}function r(t){t.ids=t.grid.getCheckedIds(),t.ids?t.btn.removeClass("disable"):t.btn.addClass("disable")}function i(n){var l=this;n.grid.on("onRowSelect",function(t,i){return n.grid.setRowSelectCheck(t),r.call(l,n),!1}),n.grid.on("onCheck",function(t,i,e){r.call(l,n)}),n.grid.on("onHeaderClick",function(t,i){1===t&&r.call(l,n)})}t.prototype.init=function(){var t=this;return this.options.renderer&&(t.element.find("#inputLeft").width(t.element.find("#inputLeft").width()),t.element.find("#outerRight").width(t.element.find("#outerRight").width()),this.renderTo(this.options.renderer),this.inputLeft.renderTo(t.element.find("#inputLeft")),this.outerRight.renderTo(t.element.find("#outerRight")),i.call(t,this.inputLeft),i.call(t,this.outerRight),this.inputLeft.btn.click(function(){if(n(this).is(".disable"))return!1;t.leftPlane.rowBtnClick&&t.leftPlane.rowBtnClick(t.inputLeft.ids)}),this.outerRight.btn.click(function(){if(n(this).is(".disable"))return!1;t.rightPlane.rowBtnClick&&t.rightPlane.rowBtnClick(t.outerRight.ids)})),t},t.prototype.getRightPlaneGrid=function(){return this.outerRight.grid},t.prototype.getLeftPlaneGrid=function(){return this.inputLeft.grid},t.prototype.renderTo=function(t){return"string"==typeof t&&(this.options.renderer=-1<t.indexOf(".")?t:"#"+t),this.element=n(this.options.renderer).addClass("plg-transfer").empty().append(this.element),this},window.PlgTransfer=t}(jQuery);
  30. "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(r){var t=r.fn.zTree;var n=function(t,n){var a,o,i,e,s=this,l={initAjax:null,skin:"",toolBar:!1,toolBar2:{isShow:!1,btn:null},renderer:null,setData:null,isExpand:!1,setting:{treeId:Prolog.createRandomId(),view:{selectedMulti:!1},data:{key:{title:"name"},simpleData:{enable:!0,idKey:"menuId",pIdKey:"parentMenuId",rootPId:"0",id:"id"}},callback:{}}};1===arguments.length?"object"===_typeof(a=arguments[0])&&(s.opts=r.extend(!0,l,a),a.setting&&a.setting.callback&&"function"==typeof a.setting.callback.onExpand&&(s.opts.setting.callback.onExpand=function(t,n,o){(function(t,n,o){if(!o.tId){var a=this.getZTreeObj(n),i=a.getNodes();for(var e in i){var s=i[e];s.tId!=o.tId?a.expandNode(s,!1,!1,!1):a.expandNode(s,!0)}}}).bind(s)(t,n,o),a.setting.callback.onExpand.call(s,t,n,o)}),!s.opts.setDate&&s.opts.initAjax&&(s.opts.setData=(o=s.opts.initAjax,i=Prolog.loading2(),e={},o.success=function(t){t.success?e=t.data.map(function(t){return t.isParent=!0,t}):layer.msg("数据加载失败!"),i()},o.error=function(){i()},Prolog.syncAjax(o),e))):2===arguments.length&&(t=arguments[0],a=n),s.opts.renderer&&s.renderTo(this.opts.renderer),setTimeout(window.onresize=function(){var t=r("#"+s.opts.renderer),n=0;s.toolbarBtn2&&(n=s.toolbarBtn2.height());var o=parseInt(t.parent().height()-n);t.find(".ztree").css({width:"100%",height:o,"overflow-y":"auto","pading-bottom":"20px"})},0)};for(var o in t)n.prototype[o]=t[o];n.prototype.renderTo=function(t){r("#"+t).empty();var n=this;this.opts.skin&&r("#"+t).addClass(this.opts.skin);var o,a,i,e,s=r("<ul>",{class:"ztree",id:n.opts.setting.treeId});return this.treeObj=this.init(s,this.opts.setting,this.opts.setData),this.opts.isExpand&&this.treeObj.expandNode(this.treeObj.getNodes()[0],!0,!1,!0,!0),this.opts.toolBar&&(n.toolbarBtn=r('\n\n <div class="toolbar layui-row layui-col-space10 cl">\n\n\n <div class="layui-col-md4">\n <a class="layui-btn layui-btn-primary" href="javascript:void(0)">\n <i class="layui-icon layui-icon-delete"></i>删除\n </a>\n </div>\n <div class="layui-col-md4">\n \n <a class="layui-btn layui-btn-primary" href="javascript:void(0)" >\n <i class="layui-icon layui-icon-edit"></i>编辑</a>\n </div>\n <div class="layui-col-md4">\n \n <a class="layui-btn layui-btn-normal" href="javascript:void(0)">\n <i class="layui-icon layui-icon-add-1"></i>增加\n </a>\n </div>\n \n </div>\n \n \n \n \n '),r("#"+t).append(n.toolbarBtn)),this.opts.toolBar2.isShow&&this.opts.toolBar2.btn&&0<this.opts.toolBar2.btn.length&&(n.toolbarBtn2=(a=(o=n).opts.toolBar2.btn,i=r('\n <div class="toolbar layui-row layui-col-space10 cl">\n '.concat(a.map(function(t){return'<div class="hook layui-col-md'.concat(12/a.length,'">\n <a class="layui-btn ').concat(t.skin?t.skin:"",'" href="javascript:void(0)">\n <i class="').concat(t.icon,'"></i>').concat(t.text,"</a>\n </div>")}).join("")," \n \n </div>")),e=o.treeObj,a.forEach(function(o,t){i.find(".hook").eq(t).find("a").click(function(t){var n=e.getSelectedNodes();o.EventCallback&&o.EventCallback(t,e,n)})}),i),r("#"+t).append(n.toolbarBtn2)),r("#"+t).append(s),this};Prolog.createRandomId(),Prolog.createRandomId();window.PlgZtree=n}(jQuery);
  31. "use strict";window.onload=function(){var i,n,s;i=navigator.userAgent,n=-1<i.indexOf("compatible")&&-1<i.indexOf("MSIE"),i.indexOf("Edge"),s=-1<i.indexOf("Trident")&&-1<i.indexOf("rv:11.0"),(n||s)&&(document.getElementsByTagName("body")[0].innerHTML=['<div class="ieReg">\n <div class="banler">\n <div class="ie_content">\n <div class="header_title">尊敬的用户:您当前浏览器版本过低,本站功能可能无法正常浏览</div>\n\n <div class="topbar">推荐使用以下几种浏览器达到最佳效果</div>\n <ul class="bro_list">\n <li><i class="chrome"></i>\n <p>谷歌浏览器</p>\n </li>\n <li><i class="fires"></i>\n <p>火狐浏览器</p>\n </li>\n <li><i class="Safari"></i>\n <p>Safari苹果浏览器</p>\n </li>\n <li><i class="Edge"></i>\n <p>Microsoft Edge</p>\n </li>\n </ul>\n\n <div class="topbar">如360、QQ、极速浏览器等,请使用极速模式运行!</div>\n <div class="n_2"></div>\n\n\n\n </div>\n </div>\n \n </div>'].join(""))};
  32. "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}layui.define("form",function(e){var k=layui.$,g=layui.form,i=layui.hint(),x="selectPlus",b="layui-form-select",C="layui-form-selected",t={index:layui.selectPlus?layui.selectPlus.index:0,set:function(e){var a=this;return a.config=k.extend({},a.config,e),a},on:function(e,a){return layui.onevent.call(this,x,e,a)}},n=function(e){var a=this;a.index=++t.index,a.config=k.extend({},a.config,t.config,e),a.render()},D=function(e,a){var t="";a.forEach(function(e){t+="<span>\n <em>".concat(e,'</em>\n <button type="button" class="close">×</button>\n </span>')}),k(e).siblings(".plg-select-tags").html(t)};n.prototype.config={type:"checkbox",valueSeparator:"/",labelSeparator:" --- ",data:[],valueName:"title",label:[],values:[],url:"",method:"get",where:"",contentType:"",headers:"",response:"data",parseData:null,config:{checkedName:"SELECTPLUS_CHECKED",indexName:"SELECTPLUS_INDEX"},error:""},n.prototype.render=function(){var t=this.config;"string"==typeof t.el?t.el=k(t.el):t.el,t.reElem=k('<div class="layui-unselect layui-form-select"><div class="layui-select-title"><input type="text" placeholder="请选择" value="" readonly="" class="layui-input layui-unselect" style="color: transparent;"><i class="layui-edge"></i></div><dl class="layui-anim layui-anim-upbit"><dd lay-value="" class="layui-select-tips layui-hide">请选择</dd></dl></div>'),t.reElem.find(".layui-select-title").on("click",function(e){!k(this).parent().hasClass(C)&&k(document).find("."+b).removeClass(C),k(this).parent().toggleClass(C)}),k(document).on("click",function(e){k(e.target).parents("."+b).length<=0&&t.reElem.hasClass(C)&&t.reElem.removeClass(C)}),!Array.isArray(t.values)&&(t.values=[t.values]),t.filter=t.el.parents(".layui-form").attr("lay-filter"),t.el.append(t.reElem),t.url?this.pullData():this.renderData(),t.el.on("click",".layui-select-title",function(){var e=k(this),a=e.next().find("dd").eq(0);a.hasClass("layui-hide")||a.addClass("layui-hide"),e.find("input").val(t.values.join(t.valueSeparator))})},n.prototype.pullData=function(){var a=this,t=a.config;k.ajax({type:t.method||"get",url:t.url,contentType:t.contentType,data:t.where||{},dataType:"json",headers:t.headers||{},success:function(e){"function"==typeof t.parseData&&(e=t.parseData(e)||e[t.response]),Array.isArray(e)?(t.data=a.formatData(e),t.error="",a.renderData()):t.error="数据格式不对"},error:function(e,a){t.error="数据接口请求异常:"+a}})},n.prototype.formatData=function(n){var e=this.config,l=e.valueName,a=e.values,i=e.config.checkedName,c=e.config.indexName;return layui.each(n,function(t,e){"object"!==_typeof(e)&&(n[t]={title:e}),n[t][c]=t,n[t][i]||(n[t][i]=!1),layui.each(a,function(e,a){n[t][l]===a&&(n[t][i]=!0)})}),a.splice(0),n},n.prototype.renderData=function(e){var a=this,m=a.config,t=m.type,n=a.index,l=(e=e?a.formatData(e):a.formatData(m.data),{checkbox:function(e,c,r){var o="layui-form-checkbox",d="layui-form-checked",t=e.reElem.find("dl"),s=e.valueName,u=e.config.checkedName,p=e.config.indexName,f=e.values,h=e.label,a=e.filter,y=e.labelSeparator,n=e.valueSeparator,v=0;t.append(k('<dd lay-value="全选"></dd>')),layui.each(c,function(e,a){t.append(k('<dd lay-value="'+a[s]+'"></dd>'))});var l=t.find("dd").eq(1);l.nextAll().each(function(e){var a=k(this),t=c[e],n=t[s],l=n;0<h.length&&(l="",layui.each(h,function(e,a){l+=t[a],e<h.length-1&&(l+=y)}));var i=k('<input type="checkbox" name="'+x+"checkbox"+r+'" yw-index="'+t[p]+'" lay-skin="primary" title="'+l+'" layui-value="'+n+'">');t[u]&&(i.prop("checked",!0),f.push(n),v++),a.html(i)});var i=k('<input type="checkbox" selectplus-all lay-skin="primary" title="全选" layui-value="全选">');v===c.length&&i.prop("checked",!0),l.html(i),D(e.el,f),l.parent().prev().find("input").val(f.join(n)),l.on("click",function(e){var a=k(this),t="DD"===e.target.nodeName?a.find("."+o).toggleClass(d).hasClass(d):a.find("input").prop("checked");a.parents("."+b).addClass(C),a.find("input").prop("checked",t),a.nextAll().each(function(){var e=k(this);t?e.find("."+o).addClass(d):e.find("."+o).removeClass(d),e.find("input").prop("checked",t)}),layui.event.call(a,x,"checkbox("+x+")",{type:"checkbox",ele:a,eleChecked:t,isAll:t})}),e.el.siblings(".plg-select-tags").on("click",".close",function(e){var a=k(this).siblings("em").html();Array.prototype.slice.call(l.nextAll()).forEach(function(e,c){e.innerText===a&&t.find("dd").eq(c+2).off().on("click",function(e){if(k(this).index()===c+2){var a=k(this),t="DD"===e.target.nodeName?a.find("."+o).toggleClass(d).hasClass(d):a.find("input").prop("checked");a.parents("."+b).addClass(C),a.find("input").prop("checked",t);var n=a.parents("dl").find("dd").eq(1),l=n.nextAll(),i=0;l.each(function(){k(this).find("input").prop("checked")&&i++}),i===l.length?(n.find("input").prop("checked",!0),n.find("."+o).addClass(d)):(n.find("input").prop("checked",!1),n.find("."+o).removeClass(d)),layui.event.call(n,x,"checkbox("+x+")",{type:"checkbox",ele:a,eleChecked:t,isAll:i===l.length})}}).trigger("click")})}),l.nextAll().on("click",function(e){var a=k(this),t="DD"===event.target.nodeName?a.find("."+o).toggleClass(d).hasClass(d):a.find("input").prop("checked");a.parents("."+b).addClass(C),a.find("input").prop("checked",t);var n=a.parents("dl").find("dd").eq(1),l=n.nextAll(),i=0;l.each(function(){k(this).find("input").prop("checked")&&i++}),i===l.length?(n.find("input").prop("checked",!0),n.find("."+o).addClass(d)):(n.find("input").prop("checked",!1),n.find("."+o).removeClass(d)),layui.event.call(n,x,"checkbox("+x+")",{type:"checkbox",ele:a,eleChecked:t,isAll:i===l.length})}),g.render("checkbox",a)},radio:function(e,c,r){var t="layui-form-radio",n="layui-form-radioed",l=["&#xe643;","&#xe63f;"],i="layui-anim-scaleSpring",o=(e.el,e.reElem.find("dl")),d=e.valueName,a=e.config.checkedName,s=e.config.indexName,u=c.filter(function(e){return!0===e[a]}),p=e.values,f=e.label,h=e.filter,y=e.labelSeparator,v=e.valueSeparator;layui.each(c,function(e,a){o.append('<dd lay-value="'+a[d]+'"></dd>')}),g.render("select",m.filter),o.find("dd").eq(0).nextAll().each(function(e){var a=k(this),t=c[e],n=t[d],l=n;0<f.length&&(l="",layui.each(f,function(e,a){l+=t[a],e<f.length-1&&(l+=y)}));var i=k('<input type="radio" name="'+x+"radio"+r+'" yw-index="'+t[s]+'" lay-skin="primary" title="'+l+'" layui-value="'+n+'">');0<u.length&&u[0][s]===t[s]&&(i.prop("checked",!0),p.push(n),a.parent().prev().find("input").val(p.join(v))),a.html(i)}),g.render("radio",h),o.find("dd").on("click",function(e){var a=k(this);a.find("."+t).addClass(n).find("i").addClass(i).html(l[0]),a.find("input").prop("checked",!0),a.siblings().find("."+t).removeClass(n).find("i").removeClass(i).html(l[1]),a.siblings().find("input").prop("checked",!1),layui.event.call(a,x,"radio("+x+")",{type:"radio",ele:a,eleChecked:!0,isAll:!1})})}});layui.onevent.call(a,x,t+"("+x+")",a.checked.bind(a)),l[t]?l[t](m,e,n):i.error("不支持的"+t+"表单渲染")},n.prototype.checked=function(e){var l=this.config,i=l.data,c=l.config.checkedName,a=e.type,t=e.isAll,n=e.ele,r=e.eleChecked,o=l.el.attr("lay-filter");if("checkbox"===a)l.values=[],n.parents("dl").find('[type="checkbox"]').each(function(e){var a=k(this),t=a.attr("yw-index"),n=a.prop("checked");t&&(i[t][c]=n),n&&t&&l.values.push(a.attr("layui-value"))}),D(l.el,l.values),n.parent().prev().find("input").val(l.values.join(l.valueSeparator)),layui.event.call(n,x,x+"("+o+")",{checked:r,isAll:t,values:l.values,checkedData:i.filter(function(e){return!0===e[c]}),ele:n});else if("radio"===a){var d=n.find("input").attr("yw-index"),s=n.find("input").attr("layui-value");l.values=[s],n.parent().prev().find("input").val(s),layui.each(i,function(e,a){a[c]=!1}),i[d][c]=!0,layui.event.call(n,x,x+"("+o+")",{value:s,checkedData:i[d],ele:n})}},n.prototype.getChecked=function(){var e=this.config,a=e.data,t=e.config.checkedName;return{values:e.values,data:a.filter(function(e){return!0===e[t]})}},t.render=function(e,a){var t=new n(e,a);return function(){var e=this;return{getChecked:function(){return e.getChecked.call(e)},config:e.config}}.call(t)},e("selectPlus",t)});