(function(){function w(){var d,h,f,q=[];this.setUid=function(p){d=p};this.getUid=function(){return d};this.setClientId=function(p){h=p};this.getClientId=function(){return h};this.setCommand=function(p){f=p};this.getCommand=function(){return f};this.setInformation=function(p){q=p};this.getInformation=function(){return q};this.fromJsonObject=function(p){d=p.uuid;h=p.clientId;f=p.command;q=p.information};this.toJsonObject=function(){var p={};p.uuid=d;p.clientId=h;p.command=f;p.information=q;return p}}
function W(){I.call(this);var d=this,h=this.protectedMethod,f,q;(function(){h.setTitle(m.get("checkJRE","\u8fd0\u884c\u73af\u5883\u68c0\u6d4b"));d.setSize(600,450);h.setSelectable(!0);h.setContentPaneCreator(function(){return p()});h.setFooterPaneCreator(function(b){var l=new J(m.get("cancel","\u53d6\u6d88"));l.setHighlight(!1);var e=l.getJqUi();e.addClass("sa-ctrl-dialog-footer-cancel");e.css("margin-left","-50px");e.appendTo(b);l.addActionListener(function(n){h.destroy();return!0})});h.setClosingAction(function(b){})})();
var p=function(){if(!f){f=$("<div>");var b=$("<div>");K.background(b,"msg-warning");u.layoutCtrlWithLRTB(b,235,null,97,20,null,78);f.append(b);b=120;var l=60,e=$("<div class='tips'>");e.text(m.get("unableToCheckJREFromBrowser","\u56e0\u6d4f\u89c8\u5668\u5dee\u5f02\uff0c\u65e0\u6cd5\u901a\u8fc7\u6d4f\u89c8\u5668\u5224\u65ad\u60a8\u7684\u7cfb\u7edf\u662f\u5426\u5b89\u88c5JRE(Java Runtime Environment)\u3002"));u.layoutCtrlWithLRTB(e,0,null,null,b,null,48);f.append(e);b+=l;e=$("<div class='tips'>");e.text(m.get("performFollowingOperations",
"\u60a8\u53ef\u4ee5\u505a\u4ee5\u4e0b\u64cd\u4f5c:"));u.layoutCtrlWithLRTB(e,0,null,null,b,null,24);f.append(e);l=40;b+=l;e=$("<div class='tips'></div>");e.text(m.get("notInstalledJRE","\u82e5\u60a8\u7684\u7cfb\u7edf\u6ca1\u6709\u5b89\u88c5JRE\uff0c\u8bf7\u70b9\u51fb"));var n="<u class='linkButton'>"+m.get("download","\u4e0b\u8f7d")+"</u>;";n=$(n);n.on("click",function(){h.destroy();var t=new X;t.setOpenJNLPFileFun(q);t.showDialog()});e.append(n);u.layoutCtrlWithLRTB(e,40,null,null,b,null,24);f.append(e);
b+=l;e=$("<div class='tips'>");e.html(m.get("installedJRE","\u82e5\u60a8\u7684\u7cfb\u7edf\u5df2\u7ecf\u5b89\u88c5JRE\uff0c\u8bf7\u70b9\u51fb"));u.layoutCtrlWithLRTB(e,40,null,null,b,null,24);n="<u class='linkButton'>"+m.get("start","\u542f\u52a8 ")+"</u>;";n=$(n);n.on("click",function(){h.destroy();q&&q()});e.append(n);f.append(e)}return f};this.setOpenJNLPFileFun=function(b){q=b}}function fa(){I.call(this);var d=this,h=this.protectedMethod,f,q,p,b;(function(){h.setTitle(m.get("operateConfirm","\u64cd\u4f5c\u786e\u8ba4"));
d.setSize(600,450);h.setSelectable(!0);h.setContentPaneCreator(function(){return l()});h.setFooterPaneCreator(function(e){var n=new J(m.get("cancel","\u53d6\u6d88"));n.setHighlight(!1);var t=n.getJqUi();t.addClass("sa-ctrl-dialog-footer-cancel");t.css("margin-left","-50px");t.appendTo(e);n.addActionListener(function(y){h.destroy();return!0})});h.setClosingAction(function(e){})})();var l=function(){if(!f){f=$("<div>");var e=$("<div>");K.background(e,"msg-warning");u.layoutCtrlWithLRTB(e,235,null,97,
20,null,78);f.append(e);e=120;var n=60,t=$("<div class='tips'>");t.text(m.get("failedToConnectQingReportAppReason","\u8fde\u63a5\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6\u8d85\u65f6\uff0c\u539f\u56e0\u53ef\u80fd\u662f\uff1a"));u.layoutCtrlWithLRTB(t,0,null,null,e,null,24);f.append(t);n=40;e+=n;t=$("<div class='tips'></div>");t.text(m.get("startingQingReport","1\u3001\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6\u6b63\u5728\u542f\u52a8\u4e2d\uff0c\u60a8\u53ef\u4ee5\u70b9\u51fb"));
var y="<u class='linkButton'>"+m.get("reconnect","\u91cd\u65b0\u8fde\u63a5")+"</u>;";y=$(y);y.on("click",function(){h.destroy();p&&p()});t.append(y);u.layoutCtrlWithLRTB(t,0,null,null,e,null,24);f.append(t);e+=n;t=$("<div class='tips'>");t.html(m.get("notStartedQingReport","2\u3001\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6\u672a\u542f\u52a8\uff0c\u60a8\u53ef\u4ee5\u70b9\u51fb"));u.layoutCtrlWithLRTB(t,0,null,null,e,null,24);y="<u class='linkButton'>"+m.get("restart","\u91cd\u65b0\u542f\u52a8")+
"</u>;";y=$(y);y.on("click",function(){h.destroy();q&&q()});t.append(y);f.append(t);e+=n;t=$("<div class='tips'>");t.html(m.get("failToStartQingReport","3\u3001\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6\u542f\u52a8\u5931\u8d25\uff0c\u60a8\u53ef\u4ee5\u70b9\u51fb"));u.layoutCtrlWithLRTB(t,0,null,null,e,null,24);y="<u class='linkButton'>"+m.get("downloadRunScript","\u4e0b\u8f7d\u5e76\u8fd0\u884c\u811a\u672c")+"</u>;";y=$(y);y.on("click",function(){h.destroy();b&&b()});t.append(y);
f.append(t)}return f};this.setOpenJNLPFileFun=function(e){q=e};this.setConnectLocalLauncher=function(e){p=e};this.setDownloadRunScript=function(e){b=e}}function X(){I.call(this);var d=this,h=this.protectedMethod,f,q;(function(){h.setTitle(m.get("downloadJavaRuntime","\u4e0b\u8f7dJRE(Java Runtime Environment)"));d.setSize(600,450);h.setSelectable(!0);h.setContentPaneCreator(function(){return p()});h.setFooterPaneCreator(function(b){var l=new J(m.get("lastStep","\u4e0a\u4e00\u6b65"));l.setHighlight(!1);
var e=l.getJqUi();e.addClass("sa-ctrl-dialog-footer-cancel");e.css("margin-left","-50px");e.appendTo(b);l.addActionListener(function(n){h.destroy();n=new W;n.setOpenJNLPFileFun(function(){q&&q()});n.showDialog()})});h.setClosingAction(function(b){})})();this.setOpenJNLPFileFun=function(b){q=b};var p=function(){if(!f){f=$("<div>");var b=$("<div>");K.background(b,"msg-warning");u.layoutCtrlWithLRTB(b,235,null,97,20,null,78);f.append(b);var l=120,e=60;b=$("<div class='tips'>");b.text(m.get("downloadJavaDescription",
"1\u3001\u8bf7\u60a8\u6309\u5f53\u524d\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\uff0c\u4e0b\u8f7d\u5e76\u6267\u884cJava\u5b89\u88c5\u7a0b\u5e8f\u3002"));u.layoutCtrlWithLRTB(b,0,null,null,l,null,24);f.append(b);e=40;deployJava.isWindowsOs()?(l+=e,b=$("<div class='tips'>"),b.text(m.get("windows","Windows\u7cfb\u7edf:")),u.layoutCtrlWithLRTB(b,25,null,180,l,null,null),f.append(b),b=$("<u class='linkButton'>"+m.get("version32","32\u4f4d\u7248\u672c")+"</u>"),u.layoutCtrlWithLRTB(b,
210,null,100,l,null,null),b.on("click",function(){window.open("https://download.kdcloud.com/jredown/jre-8u202-windows-i586.exe","_self")}),f.append(b),b=$("<u class='linkButton'>"+m.get("version64","64\u4f4d\u7248\u672c")+"</u>"),u.layoutCtrlWithLRTB(b,340,null,100,l,null,null),b.on("click",function(){window.open("https://download.kdcloud.com/jredown/jre-8u202-windows-x64.exe","_self")})):deployJava.isMacOs()?(l+=e,b=$("<div class='tips'>"),b.text(m.get("mac","Mac\u7cfb\u7edf:")),u.layoutCtrlWithLRTB(b,
25,null,180,l,null,null),f.append(b),b=$("<u class='linkButton'>"+m.get("version64","64\u4f4d\u7248\u672c")+"</u>"),u.layoutCtrlWithLRTB(b,210,null,100,l,null,null),b.on("click",function(){window.open("https://download.kdcloud.com/jredown/jdk-8u202-macosx-x64.dmg","_self")})):(l+=e,b=$("<div class='tips'>"),b.text(m.get("linux","Linux\u7cfb\u7edf:")),u.layoutCtrlWithLRTB(b,0,null,null,l,null,null),f.append(b),b=$("<u class='linkButton'>"+m.get("version32","32\u4f4d\u7248\u672c")+"</u>"),u.layoutCtrlWithLRTB(b,
180,null,100,l,null,null),b.on("click",function(){window.open("https://download.kdcloud.com/jredown/jre-8u202-linux-i586.rpm","_self")}),f.append(b),b=$("<u class='linkButton'>"+m.get("version64","64\u4f4d\u7248\u672c")+"</u>"),u.layoutCtrlWithLRTB(b,310,null,100,l,null,null),b.on("click",function(){window.open("https://download.kdcloud.com/jredown/jre-8u202-linux-x64.rpm","_self")}));f.append(b);l+=e;b=$("<div class='tips'>");b.text(m.get("downloadJavaDescription2","2\u3001\u6253\u5f00Java\u63a7\u5236\u9762\u677f\uff0c\u5728\u201c\u66f4\u65b0\u201d\u9875\u7b7e\u4e2d\u53d6\u6d88\u52fe\u9009\u201c\u81ea\u52a8\u68c0\u67e5\u66f4\u65b0\u201d"));
u.layoutCtrlWithLRTB(b,0,null,null,l,null,24);f.append(b);b=$("<div class='tips'>");var n="<u class='linkButton'>"+m.get("saveSetting","\u5e76\u4fdd\u5b58\u8bbe\u7f6e\u3002")+"</u>;";n=$(n);n.css({"margin-left":"25px","text-decoration":"none"});b.append(n);u.layoutCtrlWithLRTB(b,0,null,null,l+e,null,24);f.append(b);l=l+e+e;b=$("<div class='tips'>");b.html(m.get("afterInstalledJRE","\u5b8c\u6210\u4e0a\u8ff0\u64cd\u4f5c\u540e\uff0c\u8bf7\u70b9\u51fb "));u.layoutCtrlWithLRTB(b,0,null,null,l,null,24);
l="<u class='linkButton'>"+m.get("start","\u542f\u52a8")+"</u>;";l=$(l);l.on("click",function(){h.destroy();q&&q()});b.append(l);f.append(b)}return f}}function ha(){var d,h;this.getJqUi=function(){if(null==d){d=$("<div>");d.addClass("sa-extreport-common-loading-modallayer");d.css({"background-color":"rgba(255,255,255,0.6)"});d.css({"z-index":"99999"});u.layoutCtrl(d,0,0,"100%","100%");var f=$("<div>");f.addClass("sa-extreport-common-loading-panel");f.css({"margin-left":"-100px","margin-top":"-115px"});
f.appendTo(d);u.layoutCtrl(f,"50%","50%",200,80);var q=$("<div>");q.addClass("sa-common-loading-icon");q.css("background-image",Y.getIconUrl("common","loading.gif"));q.css({"margin-left":"-20px","margin-top":"-30px"});q.appendTo(f);u.layoutCtrl(q,"50%","50%",40,40);h=$("<div>");h.addClass("sa-common-loading-text");h.css({"margin-left":"-307px","margin-top":"15px",color:"#999","font-size":"14px"});h.appendTo(f);u.layoutCtrl(h,"50%","50%",620,20)}return d};this.show=function(f,q){f?(h.text(q),d.show()):
d&&d.hide()}}function ia(d,h,f,q){Z.call(this,d,h,f,q);var p=this.protectedMethod;this.checkConnection=function(){p.remote("checkConnection",{})};this.sendCommand=function(b){p.remote("sendCommand",{command:b})};this.getResponse=function(b){p.remote("getResponse",{clientId:b})}}function ja(){aa.call(this);var d;this.getRemoteUrl=function(){return d};this.setRemoteUrl=function(h){d=h}}"undefined"==typeof com&&(com={});"undefined"==typeof com.kingdee&&(com.kingdee={});"undefined"==typeof com.kingdee.bos&&
(com.kingdee.bos={});"undefined"==typeof com.kingdee.bos.extreport&&(com.kingdee.bos.extreport={});"undefined"==typeof com.kingdee.bos.extreport.launcher&&(com.kingdee.bos.extreport.launcher={});var ba=com.kingdee.bos.extreport.launcher,G,L,v,u,Y,m,Z,aa,ca,M,I,J,K;(function(){var d=com.kingdee.bos.qing;G=d.Seer;L=d.SkinUtil;d=com.kingdee.bos.qing.common;v=d.Util;u=d.DomUtil;d=com.kingdee.bos.qing.framework.common;Y=d.Resource;m=d.MultilanguageManager.createPackageAccessor(ba);Z=d.AbstractFacade;aa=
d.AbstractRemoteCall;ca=d.RemoteFramework;M=d.TabbedUiUtil;d=com.kingdee.bos.qing.ui.component;I=d.AbstractModalDialog;J=d.Button;K=d.Icons})();w.COMMAND_LAUNCH_XLET="LAUNCH_XLET";w.COMMAND_WEB_REFRESH="WEB_REFRESH";w.COMMAND_WEB_CUSTOM_HYPER="WEB_CUSTOM_HYPER";w.COMMAND_WEB_BILL_HYPER="WEB_BILL_HYPER";w.COMMAND_WEB_STOP_POLLING="WEB_STOP_POLLING";w.COMMAND_WEB_PREVIEW_RPT="WEB_PREVIEW_RPT";w.COMMAND_WEB_DATASET_DESIGNER="WEB_DATASET_DESIGNER";w.COMMAND_WEB_DATASET_PREVIEW="WEB_DATASET_PREVIEW";var ka=
function(){var d=G.getUrlParamValue("access_token");if(null!=d)return d;d=G.getUrlParamValue("cookieName");d=v.getCookie(d);return null!=d&&""!=d?d:d=v.getCookie("KERPSESSIONID")},la=function(){var d=G.getUrlParamValue("path");d||(d=window.location.toString(),d=d.substring(0,d.indexOf("/qinganalysis")));"/"==d[d.length-1]&&(d=d.substring(0,d.length-1));if(0!=d.indexOf("http")){var h=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"");d="/"==d[0]?
h+d:h+"/"+d}return d};ba.Launcher=new function(){function d(a,c,g){return new ia(ma(),a,function(k,r){return c?c(k,r):!1},g)}function h(a,c){return function(){n&&!e&&(e=!0,da(a,c))}}function f(){try{var a=navigator.userAgent,c=-1<a.indexOf("compatible")&&-1<a.indexOf("MSIE"),g=-1<a.indexOf("Trident")&&-1<a.indexOf("rv:11.0");c||g?window.focus():window.open("",window.name+"-1","").close()}catch(k){}}var q,p,b=ka(),l=la(),e=!1,n,t,y,Q={},E=ca.getClientID(),H={},D={},ma=function(){if(!q){var a=v.decodeParamFromUrl(window.location.search,
"path");a=(a?a:"/ierp")+"/qing_rpt/launcher.do";q=new ja;q.setRemoteUrl(a)}return q};this.addRefreshListener=function(a){var c=Q[E];c||(c=[]);c.push(a);Q[E]=c};var da=function(a,c){var g=d(function(k){e=!1;(p=k)?a():c()},function(){e=!1;c();return!0});g.setShowBlocking(!1);g.checkConnection()},na=function(a){H[a.getUid()]&&(clearTimeout(D[a.getUid()]),delete D[a.getUid()],delete H[a.getUid()],A(!1))},R=function(a,c){A(!0,m.get("loading","\u52a0\u8f7d\u4e2d"));var g=new w;g.fromJsonObject(a);D[g.getUid()]&&
clearTimeout(D[g.getUid()]);D[g.getUid()]=setTimeout(function(){D[g.getUid()]&&delete D[g.getUid()];delete H[g.getUid()];A(!1);c&&c()},1E4)},S=function(a,c,g){var k=new w;k.fromJsonObject(a);H[k.getUid()]=k;a=JSON.stringify(a);if(p){t&&(clearInterval(t),t=null);t=setInterval(oa,3E3);var r=d(function(z){(p=z)?c&&c():g&&g()},function(){p=!1;D[k.getUid()]&&(clearTimeout(D[k.getUid()]),delete D[k.getUid()]);delete H[k.getUid()];g&&g();return!0});r.setShowBlocking(!1);r.sendCommand(a)}},oa=function(){var a=
d(function(c){if(c&&0!=c.length){console.log("LauncherResponse: ",c);for(var g=0;g<c.length;g++){var k=new w;k.fromJsonObject(c[g]);var r=k.getCommand();if(!r)break;switch(r){case w.COMMAND_LAUNCH_XLET:na(k);break;case w.COMMAND_WEB_REFRESH:y&&clearTimeout(y);y=setTimeout(function(){var z=k,B=Q[z.getClientId()];if(B&&0<B.length)for(var C=0;C<B.length;C++){var x=B[C];x&&x(z)}},1E3);break;case w.COMMAND_WEB_CUSTOM_HYPER:pa(k);break;case w.COMMAND_WEB_BILL_HYPER:qa(k);break;case w.COMMAND_WEB_STOP_POLLING:r=
k.getClientId();r&&E!=r||!t||(clearInterval(t),t=null);break;case w.COMMAND_WEB_PREVIEW_RPT:setTimeout(function(){var z=k.getInformation(),B=z[0],C=z[1];z=z[2];var x=v.decodeParamFromUrl(location.search,"path");x=x?x:"/ierp";var F=L.getUrlParamValue();f();x=v.appendParamToUrl(x+"/qing_rpt/extReportPreview.do","isGuiPreview","true");x=v.appendParamToUrl(x,"dataName",B);x=v.appendParamToUrl(x,"extReportName",C);x=v.appendParamToUrl(x,"extReportId",z);F&&(x=v.appendParamToUrl(x,"skin",F));M.openNewTab(C,
x)},500);break;case w.COMMAND_WEB_DATASET_DESIGNER:ra(k);break;case w.COMMAND_WEB_DATASET_PREVIEW:sa(k)}}}},function(){return!0});a.setShowBlocking(!1);a.getResponse(E)},pa=function(a){var c=G.getUrlParamValue("clientID"),g=v.decodeParamFromUrl(location.search,"pageId");a=a.getInformation();a={methodParams:JSON.stringify({pageId:g,cacheId:a[0],customTargetClass:a[1]}),methodName:"linkageJump"};top.window.invokeCustomEvent?(f(),top.window.invokeCustomEvent(g,"",[c,"QING_ANALYSIS",JSON.stringify(a)])):
console.error("not support custom linkage!")},ra=function(a){var c=a.getInformation(),g=c[0];a=c[1];var k="true"==c[2],r="true"==c[3];f();var z=L.getUrlParamValue();c=v.decodeParamFromUrl(location.search,"path");c=v.appendParamToUrl((c?c:"/ierp")+"/qing_rpt/dataSetDesignerEntrance.do","dataSetId",g);c=v.appendParamToUrl(c,"dataSetName",a);c=v.appendParamToUrl(c,"isPreset",k);c=v.appendParamToUrl(c,"isPresetGroupPerm",r);z&&(c=v.appendParamToUrl(c,"skin",z));g="DATASET_DESIGNER"+g+a+k+r;a=m.get("datasetDesigner",
"\u6570\u636e\u96c6\u8bbe\u8ba1\u5668")+"-"+a;M.openNewTab(a,c,g)},sa=function(a){var c=a.getInformation();a=c[0];var g=c[1];c="true"==c[2];f();var k=L.getUrlParamValue(),r=v.decodeParamFromUrl(location.search,"path");r=v.appendParamToUrl(r+"/qing_rpt/dataSetPreview.do","dataSetId",a);r=v.appendParamToUrl(r,"dataSetName",g);r=v.appendParamToUrl(r,"isPreset",c);k&&(r=v.appendParamToUrl(r,"skin",k));M.openNewTab(g,r,"DATASET_PREVIEW"+a+g+c)},qa=function(a){var c=G.getUrlParamValue("clientID"),g=v.decodeParamFromUrl(location.search,
"pageId");a=a.getInformation();a={methodParams:JSON.stringify({pageId:g,cacheId:a[0],rptBillInfo:a[1]}),methodName:"linkageJump"};top.window.invokeCustomEvent?(f(),top.window.invokeCustomEvent(g,"",[c,"QING_ANALYSIS",JSON.stringify(a)])):console.error("not support bill linkage!")},ua=function(a){A(!0,m.get("checkExtReportAppRuntimeEvn","\u6b63\u5728\u68c0\u6d4b\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6\u8fd0\u884c\u65f6\u73af\u5883..."));if(deployJava.isNoPluginWebBrowser())ta(a);
else{if(deployJava.versionCheck("1.8+"))return N(a),!0;A(!1);var c=new X;c.setOpenJNLPFileFun(function(){N(a)});c.showDialog()}return!1},T=function(a){A(!0,m.get("connectingExtReportApp","\u6b63\u5728\u8fde\u63a5\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6\uff0c\u6839\u636e\u60a8\u7684\u7f51\u7edc\u73af\u5883\uff0c\u8fc7\u7a0b\u53ef\u80fd\u6301\u7eed\u6570\u5341\u79d2\u5230\u51e0\u5206\u949f\uff0c\u8bf7\u7a0d\u4f5c\u7b49\u5f85..."));var c=(new Date).getTime(),g=!0;n||(n=setInterval(h(function(){n&&
(clearInterval(n),n=null);g=!1;a()},function(){g&&3E4<=(new Date).getTime()-c&&(n&&(clearInterval(n),n=null),O(a))}),1E3),e=!1)},U=function(){if(0==l.indexOf("http://")){var a=l.substring(7);a="jnlp://"+a+"/auth/launcher/jnlp.do?token="+b+"&version="+(new Date).getTime()}else 0==l.indexOf("https://")&&(a=l.substring(8),a="jnlps://"+a+"/auth/launcher/jnlp.do?token="+b+"&version="+(new Date).getTime());return a},N=function(a){A(!0,m.get("startingExtReportApp","\u6b63\u5728\u542f\u52a8\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6..."));
document.location=U();setTimeout(function(){T(a)},3E3)},va=function(a){A(!0,m.get("startingExtReportApp","\u6b63\u5728\u542f\u52a8\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6..."));setTimeout(function(){T(a)},3E3)},V=function(a){var c=!0,g=function(){c&&ua(a)},k=function(){c=!1;a()};p?a(null,g):(A(!0,m.get("connectingExtReportApp","\u6b63\u5728\u8fde\u63a5\u91d1\u8776\u4e91\u82cd\u7a79\u8f7b\u62a5\u8868\u5957\u4ef6\uff0c\u6839\u636e\u60a8\u7684\u7f51\u7edc\u73af\u5883\uff0c\u8fc7\u7a0b\u53ef\u80fd\u6301\u7eed\u6570\u5341\u79d2\u5230\u51e0\u5206\u949f\uff0c\u8bf7\u7a0d\u4f5c\u7b49\u5f85...")),
da(k,g))};this.sendLaunchxletCommandOpenExtReportDsigner=function(a,c,g,k,r,z){var B=function(C,x){var F={uuid:v.createUUID(),clientId:E,command:w.COMMAND_LAUNCH_XLET,information:["RPT_DESIGNER",a,c,g,k,r]};S(F,function(){R(F,function(){O(B)})},x);A(!1);z&&z()};V(B)};this.sendLaunchxletCommandOpenDataSetDsigner=function(a,c,g,k,r,z,B){var C=function(x,F){var ea={uuid:v.createUUID(),clientId:E,command:w.COMMAND_LAUNCH_XLET,information:["RPT_DS_DESIGNER",a,c,g,k,r,z]};S(ea,function(){R(ea,function(){O(C)})},
F);A(!1);B&&B()};V(C)};this.sendLaunchxletCommandOpenExtReportSnapEditor=function(a,c,g,k){var r=function(z,B){var C={uuid:v.createUUID(),clientId:E,command:w.COMMAND_LAUNCH_XLET,information:["RPT_SNAP_DESIGNER",a,c,g]};S(C,function(){R(C,function(){O(r)})},B);A(!1);k&&k()};V(r)};var O=function(a){A(!1);var c=new fa;c.setOpenJNLPFileFun(function(){N(a)});c.setConnectLocalLauncher(function(){T(a)});c.setDownloadRunScript(function(){if(deployJava.isWindowsOs()){var g="KingdeeQingReport.bat";var k='@echo off\nif "%2"=="h" goto begin\nstart mshta vbscript:createobject("wscript.shell").run("""%~0"" ""'+
U()+'"" h",0)(window.close)&&exit\n:begin\nset newJnlp=%1\njavaws "%newJnlp%"\n'}else g="KingdeeQingReport.sh",k='javaws -verbose "'+U()+'"';k=new Blob([k],{encoding:"UTF-8",type:"text/plain;charset=UTF-8"});if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(k,g);else{var r=document.createElement("a");r.download=g;r.href=URL.createObjectURL(k);r.click();URL.revokeObjectURL(k)}va(a)});c.showDialog()},ta=function(a){A(!1);var c=new W;c.setOpenJNLPFileFun(function(){N(a)});
c.showDialog()},P,A=function(a,c){null==P&&(P=new ha,P.getJqUi().appendTo($(document.body)));P.show(a,c)}}})();
//qingVersionTag: 20250415