修改一版

Uat_Study
he 2022-06-23 17:24:12 +08:00
parent 2741678aeb
commit 2d9a6898fa
5 changed files with 55 additions and 0 deletions

View File

@ -133,6 +133,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public ReadingTaskState ReadingTaskState { get; set; } public ReadingTaskState ReadingTaskState { get; set; }
} }
public class GetReadingPastResultListOutDto
{
public Guid TaskId { get; set; }
public string TaskName { get; set; }
}
public class GetReadingPastResultListInDto
{
public Guid TrialId { get; set; }
}
public class SaveJudgeVisitTaskResult public class SaveJudgeVisitTaskResult
{ {
public Guid VisitTaskId { get; set; } public Guid VisitTaskId { get; set; }

View File

@ -379,6 +379,18 @@ namespace IRaCIS.Application.Services
return ResponseOutput.Ok(result); return ResponseOutput.Ok(result);
} }
/// <summary>
/// 获取既往结果
/// </summary>
/// <returns></returns>
[HttpPost]
public async Task<List<GetReadingPastResultListOutDto>> GetReadingPastResultList(GetReadingPastResultListInDto inDto)
{
var readingPastResultListawait =await _visitTaskRepository.Where(x => x.TrialId == inDto.TrialId && x.DoctorUserId == _userInfo.Id)
.ProjectTo<GetReadingPastResultListOutDto>(_mapper.ConfigurationProvider).ToListAsync();
return readingPastResultListawait;
}
/// <summary> /// <summary>
/// 找子问题 /// 找子问题
/// </summary> /// </summary>

View File

@ -75,6 +75,8 @@ namespace IRaCIS.Core.Application.Service
#region IR阅片 #region IR阅片
CreateMap<ReadingQuestionTrial, GetTrialReadingQuestionOutDto>() CreateMap<ReadingQuestionTrial, GetTrialReadingQuestionOutDto>()
.ForMember(x=>x.ReadingQuestionTrialId, y=>y.MapFrom(z=>z.Id)); .ForMember(x=>x.ReadingQuestionTrialId, y=>y.MapFrom(z=>z.Id));
CreateMap<VisitTask, GetReadingPastResultListOutDto>();
#endregion #endregion

View File

@ -194,6 +194,16 @@ namespace IRaCIS.Core.Application.Contracts
public bool IsFollowJudgeTaskAutoAssign { get; set; } public bool IsFollowJudgeTaskAutoAssign { get; set; }
/// <summary>
/// 阅片是否显示受试者信息
/// </summary>
public bool IsReadingShowSubjectInfo { get; set; }
/// <summary>
/// 阅片是否显示既往结果
/// </summary>
public bool IsReadingShowPreviousResults { get; set; }
public TaskAllocateDefaultState FollowJudgeTaskAutoAssignDefaultState { get; set; } public TaskAllocateDefaultState FollowJudgeTaskAutoAssignDefaultState { get; set; }
} }
@ -204,6 +214,16 @@ namespace IRaCIS.Core.Application.Contracts
public ReadingTaskViewMethod ReadingTaskViewEnum { get; set; } public ReadingTaskViewMethod ReadingTaskViewEnum { get; set; }
public bool IsReadingTaskViewInOrder { get; set; } = true; public bool IsReadingTaskViewInOrder { get; set; } = true;
/// <summary>
/// 阅片是否显示受试者信息
/// </summary>
public bool IsReadingShowSubjectInfo { get; set; }
/// <summary>
/// 阅片是否显示既往结果
/// </summary>
public bool IsReadingShowPreviousResults { get; set; }
} }
public class TrialJudgeTaskConfig public class TrialJudgeTaskConfig

View File

@ -345,6 +345,16 @@ namespace IRaCIS.Core.Domain.Models
//读片任务显示是否顺序 //读片任务显示是否顺序
public bool IsReadingTaskViewInOrder { get; set; } = true; public bool IsReadingTaskViewInOrder { get; set; } = true;
/// <summary>
/// 阅片是否显示受试者信息
/// </summary>
public bool IsReadingShowSubjectInfo { get; set; } = false;
/// <summary>
/// 阅片是否显示既往结果
/// </summary>
public bool IsReadingShowPreviousResults { get; set; } = false;
//public Guid? ReviewTypeId { get; set; } = Guid.Empty; //public Guid? ReviewTypeId { get; set; } = Guid.Empty;