فهرست منبع

修复数据中心,流程管理,门户管理界面删除、新增应用未刷新分类的问题

unknown 5 سال پیش
والد
کامیت
a703339a75

+ 1 - 0
o2web/source/x_component_portal_PortalExplorer/Main.js

@@ -54,6 +54,7 @@ MWF.xApplication.portal.PortalExplorer.Main = new Class({
                     this.createApplicationItem(json.data, "top");
                     this.createApplicationItem(json.data, "top");
                 }.bind(this));
                 }.bind(this));
 
 
+                this.reloadApplicationCategoryList(true);
                 this.notice(this.lp.application.createApplicationSuccess, "success");
                 this.notice(this.lp.application.createApplicationSuccess, "success");
             }.bind(this));
             }.bind(this));
         }else{
         }else{

+ 2 - 1
o2web/source/x_component_process_ApplicationExplorer/Main.js

@@ -292,6 +292,7 @@ MWF.xApplication.process.ApplicationExplorer.Main = new Class({
 					//this.applications.push(application);
 					//this.applications.push(application);
 				}.bind(this));
 				}.bind(this));
 
 
+				this.reloadApplicationCategoryList(true);
 				this.notice(this.lp.application.createApplicationSuccess, "success");
 				this.notice(this.lp.application.createApplicationSuccess, "success");
 				//    this.app.processConfig();
 				//    this.app.processConfig();
 			}.bind(this));
 			}.bind(this));
@@ -556,7 +557,7 @@ MWF.xApplication.process.ApplicationExplorer.Main = new Class({
 
 
 				var complete = function(){
 				var complete = function(){
 					if (doCount == readyCount){
 					if (doCount == readyCount){
-						_self.reloadApplicationCategoryList();
+						_self.reloadApplicationCategoryList( true );
 						if (errorText){
 						if (errorText){
 							_self.app.notice(errorText, "error");
 							_self.app.notice(errorText, "error");
 						}
 						}

+ 2 - 0
o2web/source/x_component_query_QueryExplorer/Main.js

@@ -56,6 +56,7 @@ MWF.xApplication.query.QueryExplorer.Main = new Class({
                     this.createApplicationItem(json.data, "top");
                     this.createApplicationItem(json.data, "top");
                 }.bind(this));
                 }.bind(this));
 
 
+                this.reloadApplicationCategoryList(true);
                 this.notice(this.lp.application.createApplicationSuccess, "success");
                 this.notice(this.lp.application.createApplicationSuccess, "success");
             }.bind(this));
             }.bind(this));
         }else{
         }else{
@@ -100,6 +101,7 @@ MWF.xApplication.query.QueryExplorer.Main = new Class({
 
 
                 var complete = function(){
                 var complete = function(){
                     if (doCount == readyCount){
                     if (doCount == readyCount){
+                        _self.reloadApplicationCategoryList( true );
                         if (errorText){
                         if (errorText){
                             _self.app.notice(errorText, "error");
                             _self.app.notice(errorText, "error");
                         }
                         }