From e2c58ac74c49ae60360cc27178bd523c87147338 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 15 Sep 2022 15:30:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TrialSiteUser/DTO/TrialConfigDTO.cs | 11 ++++++++++- .../Service/TrialSiteUser/TrialConfigService.cs | 1 + .../Allocation/AllocationRelation.cs | 7 +++++++ IRaCIS.Core.Domain/Trial/Trial.cs | 5 +++++ 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 70197b1d3..d995b91e6 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -352,7 +352,11 @@ namespace IRaCIS.Core.Application.Contracts //读片任务显示是否顺序 public bool IsReadingTaskViewInOrder { get; set; } = true; - + + /// + /// 阅片工具 + /// + public ReadingTool? ReadingTool { get; set; } /// /// 仲裁规则/对象 @@ -760,6 +764,11 @@ namespace IRaCIS.Core.Application.Contracts /// public Guid TrialId { get; set; } + /// + /// 阅片工具 + /// + public ReadingTool? ReadingTool { get; set; } + /// /// 阅片平台 diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index bb6f0c08b..3430cc4d4 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -316,6 +316,7 @@ namespace IRaCIS.Core.Application { await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial() { + ReadingTool=inDto.ReadingTool, //DigitPlaces=inDto.DigitPlaces, IsReadingTaskViewInOrder=inDto.IsReadingTaskViewInOrder, ReadingTaskViewEnum = inDto.ReadingTaskViewEnum, diff --git a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs index 10eb4e13d..dd4b76aa7 100644 --- a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs +++ b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs @@ -215,6 +215,13 @@ namespace IRaCIS.Core.Domain.Share Allocated = 2, } + public enum ReadingTool + { + Dicom=0, + + NoDicom=1, + } + public enum ArbitrationRule { //默认值 看是否需要项目初始化时就给默认值 1 或者2 diff --git a/IRaCIS.Core.Domain/Trial/Trial.cs b/IRaCIS.Core.Domain/Trial/Trial.cs index dfa126e71..8b4a986d6 100644 --- a/IRaCIS.Core.Domain/Trial/Trial.cs +++ b/IRaCIS.Core.Domain/Trial/Trial.cs @@ -396,6 +396,11 @@ namespace IRaCIS.Core.Domain.Models /// public DateTime? ReadingInfoSignTime { get; set; } + /// + /// Ƭ + /// + public ReadingTool? ReadingTool { get; set; } + //public Guid? ReviewTypeId { get; set; } = Guid.Empty; //[ForeignKey("ReviewTypeId")]