Uat_Study
parent
f1d8324b3a
commit
324a5e43f5
|
@ -176,7 +176,15 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public bool IsCurrentTask { get; set; }
|
public bool IsCurrentTask { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class GetReadingToolInDto
|
||||||
|
{
|
||||||
|
public Guid VisitTaskId { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class GetReadingToolOutDto
|
||||||
|
{
|
||||||
|
public ReadingTool? ReadingTool { get; set; }
|
||||||
|
}
|
||||||
public class ChangeDicomReadingQuestionAnswerInDto
|
public class ChangeDicomReadingQuestionAnswerInDto
|
||||||
{
|
{
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
|
@ -110,6 +110,19 @@ namespace IRaCIS.Application.Services
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据任务ID获取ReadingTool
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="indto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<GetReadingToolOutDto> GetReadingTool(GetReadingToolInDto indto)
|
||||||
|
{
|
||||||
|
var visitTaskInfo = await _visitTaskRepository.Where(x => x.Id == indto.VisitTaskId).FirstNotNullAsync();
|
||||||
|
GetReadingToolOutDto result = new GetReadingToolOutDto();
|
||||||
|
result.ReadingTool = await _trialRepository.Where(x => x.Id == visitTaskInfo.TrialId).Select(x => x.ReadingTool).FirstNotNullAsync();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
#region 表格问题相关
|
#region 表格问题相关
|
||||||
|
|
||||||
|
@ -1869,7 +1882,6 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
new ReadingCalculateData (){
|
new ReadingCalculateData (){
|
||||||
QuestionType=QuestionType.SOD,
|
QuestionType=QuestionType.SOD,
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -216,6 +216,8 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public ReadingMethod ReadingType { get; set; }
|
public ReadingMethod ReadingType { get; set; }
|
||||||
|
|
||||||
|
public ReadingTool ReadingTool { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 阅片是否显示受试者信息
|
/// 阅片是否显示受试者信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in New Issue