(function(){"undefined"==typeof com&&(com={});"undefined"==typeof com.kingdee&&(com.kingdee={});"undefined"==typeof com.kingdee.bos&&(com.kingdee.bos={});"undefined"==typeof com.kingdee.bos.qing&&(com.kingdee.bos.qing={});"undefined"==typeof com.kingdee.bos.qing.modeler&&(com.kingdee.bos.qing.modeler={});"undefined"==typeof com.kingdee.bos.qing.modeler.scene&&(com.kingdee.bos.qing.modeler.scene={});com.kingdee.bos.qing.modeler.scene.ModelSetManageScene=function(){var t,u,b,p,q,v,n;(function(){var a=
com.kingdee.bos.qing;p=a.SkinUtil;a=com.kingdee.bos.qing.common;b=a.Util;a=com.kingdee.bos.qing.framework.common;u=a.WebPageInitializer;t=a.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.modeler.modelset.ui);q=a.TabbedUiUtil;a=com.kingdee.bos.qing.modeler.message.common;v=a.MessageManageUtil;a=com.kingdee.bos.qing.modeler.common.model;n=a.ModelType})();var r;this.start=function(){u.init();r=new v;r.createMessageUI({position:"fixed",top:"15px",right:"10px"},5,null);w();var a=com.kingdee.bos.qing.behavior.BehaviorManager;
com.kingdee.bos.qing.modeler.modelset.common.UserOperationReporter.hookCollector(function(h,c){a.interestInBehavior(h,c)});a.interestInBehaviorEntrance(a.ENTRANCE_MODELER_MODELSET_MANAGE)};var w=function(){var a=new com.kingdee.bos.qing.modeler.modelset.ui.Main;a.setMessageResize(x);a.setMessageWidth(r.getMessageWidth()+10);a.createJqUi().appendTo($(document.body));var h=b.decodeParamFromUrl(location.search,"path");h=h?h:"/ierp";a=com.kingdee.bos.qing.modeler.modelset.common.Integration;a.setModelSetMainPageEntrance(function(c,
l,m){var f=p.getUrlParamValue(),k=t.get("modelSet","\u6a21\u578b\u96c6-")+l,d=h+"/qing_modeler/modelSetMainPage.do";d=b.appendParamToUrl(d,"isPreset",m);d=b.appendParamToUrl(d,"modelSetId",c);d=b.appendParamToUrl(d,"modelSetName",l);d=b.appendParamToUrl(d,"currentPageClientId",com.kingdee.bos.qing.modeler.modelset.common.ModelSetSubscribeHelper.getCurrentPageClientId());f&&(d=b.appendParamToUrl(d,"skin",f));q.openNewTab(k,d,d)});a.setModelDesignerPageEntrance(function(c,l,m,f,k){var d=p.getUrlParamValue(),
g=n.modelTypeTransformName(f);g=g?g+"-"+k:k;var e=h;a:{switch(f){case n.DATA_TABLE_MODEL:f="/qing_modeler/designerEntrance.do";break a;case n.METRICS_MODEL:f="/qing_modeler/metricDesignerEntrance.do";break a}f=null}c=b.appendParamToUrl(e+f,"modelSetId",c);c=b.appendParamToUrl(c,"modelSetName",l);c=b.appendParamToUrl(c,"modelId",m);c=b.appendParamToUrl(c,"modelName",k);d&&(c=b.appendParamToUrl(c,"skin",d));q.openNewTab(g,c,c)});a.setDeployModelDesignerPageEntrance(function(c,l,m,f,k){var d=p.getUrlParamValue(),
g=n.modelTypeTransformName(m);g=g?g+"-"+f:f;var e=h+"/qing_modeler/deployDesignerEntrance.do";e=b.appendParamToUrl(e,"modelSetId",c);e=b.appendParamToUrl(e,"modelId",l);e=b.appendParamToUrl(e,"modelName",f);e=b.appendParamToUrl(e,"modelType",m);e=b.appendParamToUrl(e,"modelDeployId",k);d&&(e=b.appendParamToUrl(e,"skin",d));q.openNewTab(g,e,e)})},x=function(){r.resize(null,5,10,null)}}})();
//qingVersionTag: 20250415