|  |  | 
 |  |  |                             result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; | 
 |  |  |                         } | 
 |  |  |                         break; | 
 |  |  |                     case "customerOutRuleEnum": | 
 |  |  |                         { | 
 |  |  |                             List<object> data = new List<object>(); | 
 |  |  |  | 
 |  |  |                             { | 
 |  |  |                                 Type type = typeof(CustomerOutRuleEnum); | 
 |  |  |                                 List<int> enums = Enum.GetValues(typeof(CustomerOutRuleEnum)).Cast<int>().ToList(); | 
 |  |  |                                 int index = 0; | 
 |  |  |                                 foreach (var item in enums) | 
 |  |  |                                 { | 
 |  |  |                                     FieldInfo? fieldInfo = typeof(CustomerOutRuleEnum).GetField(((CustomerOutRuleEnum)item).ToString()); | 
 |  |  |                                     DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); | 
 |  |  |                                     if (description != null) | 
 |  |  |                                     { | 
 |  |  |                                         data.Add(new { key = item.ToString(), value = description.Description }); | 
 |  |  |                                     } | 
 |  |  |                                     else | 
 |  |  |                                     { | 
 |  |  |                                         data.Add(new { key = item.ToString(), value = item.ToString() }); | 
 |  |  |                                     } | 
 |  |  |                                     index++; | 
 |  |  |                                 } | 
 |  |  |                             } | 
 |  |  |  | 
 |  |  |                             result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; | 
 |  |  |                         } | 
 |  |  |                         break; | 
 |  |  |                 } | 
 |  |  |                 return result; | 
 |  |  |             } |