namespace Admin.NET.Plugin.AiDOP.Service.S8; public class S8DictionaryService : ITransient { public object? GetDictionary(string dictType) => dictType.ToUpperInvariant() switch { "S8_EXCEPTION_STATUS" => new[] { new { value = "NEW", label = "新建" }, new { value = "ASSIGNED", label = "已指派" }, new { value = "IN_PROGRESS", label = "处理中" }, new { value = "RESOLVED", label = "已处理" }, new { value = "PENDING_VERIFICATION", label = "待检验" }, new { value = "CLOSED", label = "已关闭" }, new { value = "REJECTED", label = "已驳回" }, new { value = "ESCALATED", label = "已升级" }, }, "S8_EXCEPTION_SEVERITY" => new[] { new { value = "CRITICAL", label = "紧急" }, new { value = "HIGH", label = "高" }, new { value = "MEDIUM", label = "中" }, new { value = "LOW", label = "低" }, }, "S8_SOURCE_TYPE" => new[] { new { value = "MANUAL", label = "人工提报" }, new { value = "RULE", label = "规则触发" }, new { value = "SYSTEM", label = "系统自动" }, }, "S8_PRIORITY_LEVEL" => new[] { new { value = "P1", label = "最高优先" }, new { value = "P2", label = "高优先" }, new { value = "P3", label = "中优先" }, new { value = "P4", label = "低优先" }, }, _ => null }; }