From 268d965cb598da55b58148a6207eaafdb4200ac6 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 13 Oct 2022 15:02:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 2 ++ IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs | 4 ++++ .../Service/Reading/ReadingImageTaskService.cs | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs index d1e3faea9..e89639d40 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs @@ -60,6 +60,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto public string QuestionName { get; set; } + public bool IsCanEditPosition { get; set; } = false; + public string SplitOrMergeLesionName { get; set; } diff --git a/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs b/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs index 502dab06c..5001aa493 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadModuleService.cs @@ -365,6 +365,10 @@ namespace IRaCIS.Application.Services + } + else + { + return ResponseOutput.NotOk("请先添加全局阅片"); } break; } diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs index bbd52fb6e..085603706 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs @@ -596,7 +596,8 @@ namespace IRaCIS.Application.Services QuestionName = question.OrderMark + x.RowIndex.GetLesionMark(), SplitOrMergeLesionName = x.MergeName.IsNullOrEmpty() ? x.SplitName : x.MergeName, SplitOrMergeType = x.SplitOrMergeType, - RowIndex=x.RowIndex, + IsCanEditPosition=x.IsCanEditPosition, + RowIndex =x.RowIndex, }).ToList();