(function(){"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.scene&&(com.kingdee.bos.extreport.scene={});com.kingdee.bos.extreport.scene.ExtReportManageScene=function(){this.start=function(){A.init();y.setCallback(m);var l=y.createSafety();l.pushSkinCss("qingrpt/launcher","launcher");
l.load();B.hookCollector(function(n,z){u.interestInBehavior(n,z)});u.interestInBehaviorEntrance(u.ENTRANCE_EXTREPORT_MANAGER)};var m=function(){var l=d.decodeParamFromUrl(location.search,"path");l=l?l:"/ierp";var n=com.kingdee.bos.extreport.manage.common.Integration;n.setRemoteUrl(l+"/qing_rpt/manage.do");var z=l+"/qing/resource.do";n.setMessageRemoteUrl(l+"/qing/messageManage.do");n.setExtReportDesignerEntrance(function(f,h,b,a,c,g,e){v.sendLaunchxletCommandOpenExtReportDsigner(f,b,a,c,g,e)});n.setExtReportPreviewEntrance(function(f,
h,b,a,c){b=p.getUrlParamValue();a=l+"/qing_rpt/extReportPreview.do";a=d.appendParamToUrl(a,"extReportId",f);a=d.appendParamToUrl(a,"extReportName",h);a=d.appendParamToUrl(a,"isPreset",c);b&&(a=d.appendParamToUrl(a,"skin",b));q.openNewTab(h,a)});n.setDataSetDesignerEntrance(function(f,h,b,a,c,g,e,k){k?v.sendLaunchxletCommandOpenDataSetDsigner(f,h,b,a,c,g,e):(e=p.getUrlParamValue(),b=l+"/qing_rpt/dataSetDesignerEntrance.do",b=d.appendParamToUrl(b,"dataSetType",a),b=d.appendParamToUrl(b,"dataSetId",
f),b=d.appendParamToUrl(b,"dataSetName",h),b=d.appendParamToUrl(b,"isPreset",c),b=d.appendParamToUrl(b,"isPresetGroupPerm",g),e&&(b=d.appendParamToUrl(b,"skin",e)),f="DATASET_DESIGNER"+f+h+c+g,h=r.get("datasetDesigner","\u6570\u636e\u96c6\u8bbe\u8ba1\u5668")+"-"+h,q.openNewTab(h,b,f))});n.setDataSetPreviewEntrance(function(f,h,b,a,c){b=p.getUrlParamValue();a=l+"/qing_rpt/dataSetPreview.do";a=d.appendParamToUrl(a,"dataSetId",f);a=d.appendParamToUrl(a,"dataSetName",h);a=d.appendParamToUrl(a,"isPreset",
c);b&&(a=d.appendParamToUrl(a,"skin",b));q.openNewTab(h,a,"DATASET_PREVIEW"+f+h+c)});n.setFunPublishRemoteImpl(function(){var f=new com.kingdee.bos.extreport.manage.common.RemoteImpl;f.setRemoteUrl(l+"/qing/publishTo.do");return f});n.setFunPublishContext(function(){var f=new com.kingdee.bos.qing.publish.common.PublishContext;f.setParamPathPrefix(l);f.setLappEntranceUrl(l+"/qing/lappEntrance.do");return f});n.setFunPublishContentEditEntrance(function(){return function(f,h,b){var a=com.kingdee.bos.qing.publish.model.PublishTargetType;
if(b&&a.MOBILE==b){a=f.getPublishId();var c=f.getId()}else a=f.getId();var g=p.getUrlParamValue(),e=t.getUrlParamValue("language");b=l+"/qing/publishContentEditEntrance.do";b=d.appendParamToUrl(b,"skin",g);b=d.appendParamToUrl(b,"language",e);b=d.appendParamToUrl(b,"publishId",a);c&&(b=d.appendParamToUrl(b,"lappId",c));c=b;h&&(a="editPublishedContent-"+a,g=com.kingdee.bos.qing.publish.common.PublishSubscribeHelper,g.putSubscribe(a,h),b=d.appendParamToUrl(b,"subscribeKey",a),b=d.appendParamToUrl(b,
"currentPageClientId",g.getCurrentPageClientId()));com.kingdee.bos.qing.framework.common.TabbedUiUtil.openNewTab(r.get("editPublishedContent","\u7f16\u8f91\u53d1\u5e03\u65b9\u6848-")+f.getName(),b,c)}});n.setImportJSCodeForManager(function(){var f=com.kingdee.bos.qing.CodeLoader;f.setCallback(function(){var h=com.kingdee.bos.qing.theme.message.panel.common.Integration;h.setFunPublishRemoteImpl(n.getFunPublishRemoteImpl());h.setFunQingCenterAndMenuEntrance(function(b,a,c,g){a=p.getUrlParamValue();
var e=l+"/qing/publishEntrance.do";e=d.appendParamToUrl(e,"publishId",b);"extreport"==g?(e=d.appendParamToUrl(e,"appID","qing_rpt"),a&&(e=d.appendParamToUrl(e,"skin",a)),q.openNewTabInAppId(c,e,e,q.QING_RPT)):(a&&(e=d.appendParamToUrl(e,"skin",a)),q.openNewTabInAppId(c,e,e,q.QING_ANALYSIS))});h.setFunPublishContext(n.getFunPublishContext());h.setResourceRemoteUrl(z);h.setDataModelEntrance(function(b,a,c){var g=p.getUrlParamValue();a=r.get("dataModeling","\u6570\u636e\u51c6\u5907")+"-"+a;var e=l+"/qing/dataModelingEntrance.do";
e=d.appendParamToUrl(e,"themeID",b);e=d.appendParamToUrl(e,"isPreset",c);g&&(e=d.appendParamToUrl(e,"skin",g));b=com.kingdee.bos.qing.framework.common.TabbedUiUtil;b.openNewTabInAppId(a,e,e,b.QING_ANALYSIS)});h.setFunTimedPushContentEditEntrance(function(){return function(b){var a=l+"/qing/timedPushContentEditEntrance.do",c=r.get("editTimedPushContent","\u7f16\u8f91\u63a8\u9001\u65b9\u6848");if(b instanceof com.kingdee.bos.qing.timedpush.model.EmailConfig){var g=b.getId(),e=b.getPublishSourceType();
k=b.getSchemaSourceType();a=d.appendParamToUrl(a,"configId",g);a=d.appendParamToUrl(a,"publishSourceType",e);a=d.appendParamToUrl(a,"schemaType",k);a=d.appendParamToUrl(a,"pushTarget","email");c=c+"-"+b.getNameRule().getName();b.isSourceNameNotFound()&&(a=d.appendParamToUrl(a,"errorCode","2301001"))}else{g=b.getId();e=b.getPushTargetType();var k=b.getSchemaType();a=d.appendParamToUrl(a,"configId",g);a=d.appendParamToUrl(a,"pushTargetType",e);a=d.appendParamToUrl(a,"schemaType",k);a=d.appendParamToUrl(a,
"pushTarget","lapp");c=c+"-"+b.getName();b.getSourceName()||(a=d.appendParamToUrl(a,"errorCode","2301001"))}b=p.getUrlParamValue();k=t.getUrlParamValue("language");b&&(a=d.appendParamToUrl(a,"skin",b));k&&(a=d.appendParamToUrl(a,"language",k));b=com.kingdee.bos.qing.framework.common.TabbedUiUtil;b.openNewTabInAppId(c,a,a,b.QING_ANALYSIS)}});h.setFunPublishedEmailAnonymousViewUrl(function(){var b=p.getUrlParamValue(),a=t.getUrlParamValue("language"),c=l+"/index.html?userId=Guest&accountId=(accountId)&appNumber=qing&formId=qing_analysis_pub_email#/dform?appNumber=qing&formId=qing_analysis_pub_email&publishId=(publishId)";
b&&(c=d.appendParamToUrl(c,"skin",b));a&&(c=d.appendParamToUrl(c,"language",a));return c});h.setFunPublishedEmailLoginViewUrl(function(){var b=p.getUrlParamValue(),a=t.getUrlParamValue("language"),c=l+"/qing/publishedEmailEntrance.do?publishId=(publishId)";b&&(c=d.appendParamToUrl(c,"skin",b));a&&(c=d.appendParamToUrl(c,"language",a));return c});h.setFunPublishContentEditEntrance(function(){return function(b,a,c){var g=com.kingdee.bos.qing.publish.model.PublishTargetType;if(c&&g.MOBILE==c){g=b.getPublishId();
var e=b.getId()}else g=b.getId();var k=p.getUrlParamValue(),w=t.getUrlParamValue("language");c=l+"/qing/publishContentEditEntrance.do";c=d.appendParamToUrl(c,"skin",k);c=d.appendParamToUrl(c,"language",w);c=d.appendParamToUrl(c,"publishId",g);e&&(c=d.appendParamToUrl(c,"lappId",e));e=c;a&&(g="editPublishedContent-"+g,k=com.kingdee.bos.qing.publish.common.PublishSubscribeHelper,k.putSubscribe(g,a),c=d.appendParamToUrl(c,"subscribeKey",g),c=d.appendParamToUrl(c,"currentPageClientId",k.getCurrentPageClientId()));
a=com.kingdee.bos.qing.framework.common.TabbedUiUtil;a.openNewTabInAppId(r.get("editPublishedContent","\u7f16\u8f91\u53d1\u5e03\u65b9\u6848-")+b.getName(),c,e,a.QING_ANALYSIS)}});h=com.kingdee.bos.qing.modeler.message.panel.common.Integration;h.setFunOpenModelSetPage(function(b,a){var c=p.getUrlParamValue(),g=r.get("modelSet","\u6a21\u578b\u96c6-")+a,e=l+"/qing_modeler/modelSetMainPage.do";e=d.appendParamToUrl(e,"modelSetId",b);e=d.appendParamToUrl(e,"modelSetName",a);e=d.appendParamToUrl(e,"currentPageClientId",
com.kingdee.bos.qing.framework.common.RemoteFramework.getClientID());c&&(e=d.appendParamToUrl(e,"skin",c));q.openNewTabInAppId(g,e,e,q.QING_MODELER)});h.setFunOpenModelDesign(function(b,a,c,g,e){var k=com.kingdee.bos.qing.modeler.message.panel.common.ModelType,w=p.getUrlParamValue();e=(e=k.getModelTypeText(e))?e+"-"+c:c;k=l+"/qing_modeler/deployDesignerEntrance.do";k=d.appendParamToUrl(k,"modelSetId",b);k=d.appendParamToUrl(k,"modelId",a);k=d.appendParamToUrl(k,"modelName",c);k=d.appendParamToUrl(k,
"modelDeployId",g);w&&(k=d.appendParamToUrl(k,"skin",w));q.openNewTabInAppId(e,k,k,q.QING_MODELER)})});f.loadSkinCss("message","messagepanel");f.loadSkinJs("message","skin");f.loadJs("message/message-content-panel-management.js");f.loadI18n("message","messagepanel");f.loadSkinCss("qingmodeler/message","message-modeler-panel");f.loadSkinJs("qingmodeler/message","skin");f.loadJs("qingmodeler/message/message-content-panel-management.js");f.loadI18n("qingmodeler/message","message-modeler-panel")});var x=
d.decodeParamFromUrl(location.search,"appID");n.setAppId(x);x=new com.kingdee.bos.extreport.manage.ui.Main;v.addRefreshListener(x.funRefreshData);x.createJqUi().appendTo($(document.body))}};var y,p,r,d,t,q,A,v,B,u;(function(){var m=com.kingdee.bos.qing;y=m.CodeLoader;p=m.SkinUtil;t=m.Seer;m=com.kingdee.bos.qing.common;d=m.Util;m=com.kingdee.bos.qing.framework.common;r=m.MultilanguageManager.createPackageAccessor(com.kingdee.bos.extreport.manage.ui);q=m.TabbedUiUtil;A=m.WebPageInitializer;m=com.kingdee.bos.extreport.launcher;
v=m.Launcher;m=com.kingdee.bos.extreport.manage.common;B=m.UserOperationReporter;m=com.kingdee.bos.qing.behavior;u=m.BehaviorManager})()})();
//qingVersionTag: 20250415