ソースを参照

流程记录增加postLoadLine事件

unknown 5 年 前
コミット
08b6a0fc59
1 ファイル変更4 行追加2 行削除
  1. 4 2
      o2web/source/x_component_process_Xform/Log.js

+ 4 - 2
o2web/source/x_component_process_Xform/Log.js

@@ -541,7 +541,8 @@ MWF.xApplication.process.Xform.Log = MWF.APPLog =  new Class({
         this.fireEvent("postLoadLine",[{
             "data" : task,
             "node" : logTaskNode,
-            "log" : this
+            "log" : this,
+            "type" : isTask ? "task" : "taskCompleted"
         }]);
     },
 
@@ -1559,7 +1560,8 @@ MWF.xApplication.process.Xform.Log = MWF.APPLog =  new Class({
         this.fireEvent("postLoadLine",[{
             "data" : task,
             "node" : logTaskNode,
-            "log" : this
+            "log" : this,
+            "type" : isTask ? "task" : "taskCompleted"
         }]);
     },
     loadMediaOpinion: function(atts, node, type){