Răsfoiți Sursa

流程记录增加postLoadLine事件

unknown 5 ani în urmă
părinte
comite
08b6a0fc59
1 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  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){