Prechádzať zdrojové kódy

流程记录增加postLoadLine事件

unknown 5 rokov pred
rodič
commit
08b6a0fc59

+ 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){