From d98d211bb2ae038c973f7b25eac55219c0e229c5 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Mon, 12 Dec 2022 12:09:31 +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 | 12 +++++++++++- .../Service/TrialSiteUser/TrialConfigService.cs | 3 ++- .../ReadingQuestionCriterionTrial.cs | 7 ++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index a13217055..fc9e596b1 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -337,6 +337,11 @@ namespace IRaCIS.Core.Application.Contracts /// public Guid TrialId { get; set; } + /// + /// 是否有全局阅片任务 + /// + public bool IsGlobalTask { get; set; } = true; + public bool IsSystemCriterion { get @@ -796,7 +801,12 @@ namespace IRaCIS.Core.Application.Contracts /// /// eCRF报告是否显示在图像页面 /// - public bool IseCRFShowInDicomReading { get; set; } + public bool IseCRFShowInDicomReading { get; set; } + + /// + /// 是否有全局阅片任务 + /// + public bool IsGlobalTask { get; set; } = true; public string GlobalUpdateType { get; set; } = string.Empty; diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index 828ed1950..364740003 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -457,8 +457,9 @@ namespace IRaCIS.Core.Application await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial() { ReadingTool=inDto.ReadingTool, + IsGlobalTask=inDto.IsGlobalTask, //DigitPlaces=inDto.DigitPlaces, - IsReadingTaskViewInOrder=inDto.IsReadingTaskViewInOrder, + IsReadingTaskViewInOrder =inDto.IsReadingTaskViewInOrder, ReadingTaskViewEnum = inDto.ReadingTaskViewEnum, DigitPlaces= inDto.DigitPlaces, //IsImageIabeled = inDto.IsImageIabeled, diff --git a/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs b/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs index 699d8c1ba..4e1269f1f 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs @@ -168,10 +168,15 @@ namespace IRaCIS.Core.Domain.Models public ReadingMethod ReadingType { get; set; } = ReadingMethod.Double; /// - /// 全局阅片 + /// 阅片期 /// public bool IsGlobalReading { get; set; } = true; + /// + /// 是否有全局阅片任务 + /// + public bool IsGlobalTask { get; set; } = true; + /// /// 仲裁阅片 ///