Pārlūkot izejas kodu

[流程管理]修复新建流程实例的时候搜索后不能启动的问题

unknown 5 gadi atpakaļ
vecāks
revīzija
48e790ebe5

+ 8 - 1
o2web/source/x_component_process_TaskCenter/Main.js

@@ -906,7 +906,14 @@ MWF.xApplication.process.TaskCenter.Process = new Class({
         this.application = application;
         this.application = application;
         this.applicationData = applicationData;
         this.applicationData = applicationData;
         this.app = this.application.app;
         this.app = this.application.app;
-        this.starter = this.application.starter
+        if( this.application.starter ){
+            this.starter = this.application.starter;
+        }else if( this.application.app && this.application.app.starter ){
+            this.starter = this.application.app.starter;
+        }else if( this.application.app && this.application.app.processStarter ){
+            this.starter = this.application.app.processStarter;
+        }
+        //this.starter = this.application.starter
         this.container = container;
         this.container = container;
         this.css = this.app.css;
         this.css = this.app.css;