This commit is contained in:
he
2022-12-22 16:47:32 +08:00
committed by {872297557@qq.com}
parent 4a2143e549
commit d59dbc8369
13 changed files with 131 additions and 48 deletions
@@ -87,7 +87,7 @@ namespace IRaCIS.Application.Services
var taskInfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).FirstNotNullAsync();
if (taskInfo.ReadingCategory != ReadingCategory.Global)
{
throw new BusinessValidationFailedException("当前任务不是全局阅片任务");
throw new BusinessValidationFailedException(_localizer["ReadingGlobal_NotGlobal"]);
}
GetGlobalReadingInfoOutDto result = new GetGlobalReadingInfoOutDto()
{
@@ -186,7 +186,7 @@ namespace IRaCIS.Application.Services
new GlobalQuestionInfo()
{
Answer = globalReadingQuestion.Where(y => y.TaskId == x.VisitTaskId && y.GlobalAnswerType == GlobalAnswerType.AgreeOrNot).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
QuestionName = "是否同意访视整体评估",
QuestionName = "",
Type = "input",
GlobalAnswerType=GlobalAnswerType.AgreeOrNot,
GlobalReadingShowType= GlobalReadingShowType.AllShow,