Browse Source

fixed: 退回默认指派到原办理人

xf 2 months ago
parent
commit
497930995f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Hotline/FlowEngine/Workflows/WorkflowDomainService.cs

+ 3 - 1
src/Hotline/FlowEngine/Workflows/WorkflowDomainService.cs

@@ -2086,6 +2086,8 @@ namespace Hotline.FlowEngine.Workflows
             {
             {
                 EBusinessType.Seat => ECounterSignType.Center,
                 EBusinessType.Seat => ECounterSignType.Center,
                 EBusinessType.Send => ECounterSignType.Center,
                 EBusinessType.Send => ECounterSignType.Center,
+                EBusinessType.CenterMonitor => ECounterSignType.Center,
+                EBusinessType.CenterLeader => ECounterSignType.Center,
                 EBusinessType.Department => ECounterSignType.Department,
                 EBusinessType.Department => ECounterSignType.Department,
                 EBusinessType.DepartmentLeader => ECounterSignType.Department,
                 EBusinessType.DepartmentLeader => ECounterSignType.Department,
                 EBusinessType.File => null,
                 EBusinessType.File => null,
@@ -2889,7 +2891,7 @@ namespace Hotline.FlowEngine.Workflows
             newStep.StepExpiredTime = expiredTime;
             newStep.StepExpiredTime = expiredTime;
             newStep.InitId();
             newStep.InitId();
 
 
-            newStep.Assign(step);
+            newStep.Assign(step, EFlowAssignType.User);
 
 
             stepConfig?.Invoke(workflow, stepDefine, step, newStep);
             stepConfig?.Invoke(workflow, stepDefine, step, newStep);