xf hai 1 ano
pai
achega
94637d3d40
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Hotline.Api/Controllers/WorkflowController.cs

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

@@ -486,7 +486,7 @@ public class WorkflowController : BaseController
     {
         return new
         {
-            //ModuleOptions = WorkflowModule.Modules.ToList(),//todo
+            ModuleOptions = WorkflowModuleConsts.AllModules.Select(d => new KeyValuePair<string, string>(d.Code, d.Name)),
             HandlerTypeOptions = EnumExts.GetDescriptions<EHandlerType>(),
             CountersignMode = EnumExts.GetDescriptions<ECountersignMode>().Where(d => d.Key != 1),
             BusinessPropertyOptions = EnumExts.GetDescriptions<EBusinessProperty>(),