xf 1 year ago
parent
commit
c8444e6e16
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Hotline.Api/Controllers/WorkflowController.cs

+ 2 - 1
src/Hotline.Api/Controllers/WorkflowController.cs

@@ -463,7 +463,8 @@ public class WorkflowController : BaseController
             HandlerTypeOptions = EnumExts.GetDescriptions<EHandlerType>(),
             CountersignMode = EnumExts.GetDescriptions<ECountersignMode>().Where(d => d.Key != 1),
             BusinessPropertyOptions = EnumExts.GetDescriptions<EBusinessProperty>(),
-            StepPropertiesOptions = await _systemDomainService.GetSysDicDataByCodeAsync(SysDicTypeConsts.WorkflowStepComponent, HttpContext.RequestAborted)
+            StepPropertiesOptions = await _systemDomainService.GetSysDicDataByCodeAsync(SysDicTypeConsts.WorkflowStepComponent, HttpContext.RequestAborted),
+            PathPolicyOptions = EnumExts.GetDescriptions<EPathPolicy>(),
         };
     }