xf há 1 ano atrás
pai
commit
a4f787e6d3

+ 5 - 0
src/Hotline.Share/Dtos/FlowEngine/DefinedStepDto.cs

@@ -3,6 +3,8 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using Hotline.Share.Enums.FlowEngine;
+using XF.Utility.EnumExtensions;
 
 namespace Hotline.Share.Dtos.FlowEngine
 {
@@ -18,5 +20,8 @@ namespace Hotline.Share.Dtos.FlowEngine
         public DateTime ExpiredTime { get; set; }
 
         public IReadOnlyList<string> Components { get; set; }
+
+        public IEnumerable<KeyValuePair<int, string>> CommunicationModeOptions =>
+            EnumExts.GetDescriptions<ERealCommunicationMode>();
     }
 }

+ 5 - 4
src/Hotline.Share/Dtos/FlowEngine/StepExtension.cs

@@ -5,11 +5,12 @@ public class StepExtension
     /// <summary>
     /// 省延期申请
     /// </summary>
-    public bool? ApplyDelayProvince { get; set; }
+    public bool? IsProvinceDelay { get; set; }
 
     /// <summary>
-    /// 工单重办理由
+    /// 是否短信通知
     /// </summary>
-    public string? OrderRedoReason { get; set; }
-    public string? OrderRedoReasonCode { get; set; }
+    public bool? IsSms { get; set; }
+
+
 }