diff --git a/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs index 27061e524..40c1d4472 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/NoneDicomStudyViewModel.cs @@ -13,6 +13,8 @@ namespace IRaCIS.Core.Application.Contracts public int FileCount { get; set; } + public string StudyName { get; set; } + public List NoneDicomStudyFileList { get; set; } = new List(); diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs index 0b834efa9..6503dfbe7 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs @@ -18,6 +18,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO public int Type { get; set; } + public string StudyName { get; set; } = String.Empty; + public string Modality { get; set; } = String.Empty; public string BodyPart { get; set; } = String.Empty; @@ -386,6 +388,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO public string BodyPartForEdit { get; set; } = String.Empty; + public string StudyName { get; set; } = string.Empty; + public string ModalityForEdit { get; set; } = string.Empty; public bool IsHaveUploadFailed { get; set; } diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs index bf12c9a31..c630017c6 100644 --- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs @@ -762,6 +762,8 @@ namespace IRaCIS.Core.Application.Image.QA study.BodyPartForEdit = updateModalityCommand.BodyPart; study.ModalityForEdit = updateModalityCommand.Modality; + study.StudyName = updateModalityCommand.StudyName; + await _dicomSeriesRepository.BatchUpdateNoTrackingAsync(t => t.StudyId == studyId, r => new DicomSeries() { BodyPartForEdit = updateModalityCommand.BodyPart }); } diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 04e6c7e6b..26162b4ae 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -69,6 +69,23 @@ namespace IRaCIS.Core.Application.Contracts public List ModalityList { get; set; } = new List(); + /// + /// 是否显示检查名称 + /// + public bool IsShowStudyName { get; set; } = false; + + /// + /// 检查名称列表 + /// + public List StudyNameList { get; set; } + + /// + /// 图像格式 + /// + [StringLength(2000)] + public List ImageFormatList { get; set; } = new List(); + + public List TrialObjectNameList { get; set; } diff --git a/IRaCIS.Core.Domain/Trial/Trial.cs b/IRaCIS.Core.Domain/Trial/Trial.cs index f0c0f4eaf..8abb34608 100644 --- a/IRaCIS.Core.Domain/Trial/Trial.cs +++ b/IRaCIS.Core.Domain/Trial/Trial.cs @@ -250,7 +250,7 @@ public partial class Trial : BaseFullDeleteAuditEntity /// /// 检查名称列表 /// - public List StudyNameList { get; set; } = new List(); + public List StudyNameList { get; set; } /// /// 图像格式 @@ -325,6 +325,11 @@ public class StudyName /// 名称 /// public string Name { get; set; } + + /// + /// 英文名称 + /// + public string EnName { get; set; } } [ComplexType]