From 711e74e33e60cf6283cee3da8264950e264e5126 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Fri, 28 Oct 2022 17:27:34 +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/Reading/Dto/ReadingImageTaskViewModel.cs | 5 +++++
.../Reading/ReadingImageTask/ReadingGlobalTaskService.cs | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
index df3479601..fe8891a71 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
@@ -776,6 +776,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
///
public string DictionaryCode { get; set; } = string.Empty;
+ ///
+ /// 全局阅片显示类型
+ ///
+ public GlobalReadingShowType GlobalReadingShowType { get; set; } = GlobalReadingShowType.AllShow;
+
///
/// 问题类型
///
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingGlobalTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingGlobalTaskService.cs
index 0893a3b58..19f4fdba9 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingGlobalTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingGlobalTaskService.cs
@@ -119,7 +119,7 @@ namespace IRaCIS.Application.Services
QuestionType = y.ReadingQuestionTrial.QuestionType,
QuestionGenre = y.ReadingQuestionTrial.QuestionGenre,
DictionaryCode = y.ReadingQuestionTrial.DictionaryCode,
-
+ GlobalReadingShowType=y.ReadingQuestionTrial.GlobalReadingShowType,
AnswerCombination = y.ReadingQuestionTrial.AnswerCombination,
JudgeType = y.ReadingQuestionTrial.JudgeType,
@@ -153,6 +153,7 @@ namespace IRaCIS.Application.Services
QuestionType = lr.question.QuestionType,
QuestionGenre = lr.question.QuestionGenre,
DictionaryCode = lr.question.DictionaryCode,
+ GlobalReadingShowType = lr.question.GlobalReadingShowType,
Type = lr.question.Type,
GlobalAnswerType = GlobalAnswerType.Question,
AnswerGroup = lr.question.AnswerGroup,