Explorar o código

流程记录增加postLoadLine事件

unknown %!s(int64=5) %!d(string=hai) anos
pai
achega
08b6a0fc59
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  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){