diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 7b94a48bc..a8beff248 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -506,7 +506,12 @@ namespace IRaCIS.Core.Application.Contracts /// /// 是否是必须 /// - public bool IsRequired { get; set; } + public IsRequired IsRequired { get; set; } + + /// + /// 是否显示 + /// + public ShowQuestion ShowQuestion { get; set; } /// /// 类型值 diff --git a/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs b/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs index c741188c2..2ce8e0b0a 100644 --- a/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs +++ b/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs @@ -232,15 +232,17 @@ namespace IRaCIS.Core.Domain.Share /// Required = 0, - /// - /// 不必填 - /// - NotRequired = 1, - /// /// 依赖父问题 /// - Rely = 2, + Rely = 1, + + /// + /// 不必填 + /// + NotRequired = 2, + + } /// @@ -253,15 +255,15 @@ namespace IRaCIS.Core.Domain.Share /// Show=0, - /// - /// 不显示 - /// - Hide=1, - /// /// 依赖父问题 /// - Rely=2, + Rely=1, + + /// + /// 不显示 + /// + Hide = 2, }