检查 返回配置字段
parent
a9c7c79fb5
commit
47755bc2aa
|
@ -28,7 +28,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
|
||||
[HttpGet]
|
||||
public async Task<List<NoneDicomStudyView>> GetNoneDicomStudyList(
|
||||
public async Task<IResponseOutput<List<NoneDicomStudyView>> > GetNoneDicomStudyList(
|
||||
[FromQuery, NotDefault] Guid subjectVisitId,
|
||||
[FromQuery] Guid? nonedicomStudyId,
|
||||
[FromQuery] bool isFilterZip,
|
||||
|
@ -54,7 +54,10 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
}
|
||||
|
||||
|
||||
return await noneDicomStudyQueryable.ToListAsync();
|
||||
var list = await noneDicomStudyQueryable.ToListAsync();
|
||||
|
||||
var config = await _subjectVisitRepository.Where(t => t.Id == subjectVisitId).Select(t => new { t.Trial.ImageFormatList, t.Trial.StudyNameList ,t.Trial.IsShowStudyName}).FirstOrDefaultAsync();
|
||||
return ResponseOutput.Ok(list, config) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -161,6 +161,13 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
[Comment("阅片任务产生之前 采集影像")]
|
||||
public CollectImagesType CollectImagesEnum { get; set; }
|
||||
|
||||
public List<StudyName> StudyNameList { get; set; }
|
||||
|
||||
|
||||
public List<string> ImageFormatList { get; set; }
|
||||
|
||||
public bool IsShowStudyName { get; set; } = false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -256,7 +256,7 @@ public partial class Trial : BaseFullDeleteAuditEntity
|
|||
/// 图像格式
|
||||
/// </summary>
|
||||
[StringLength(2000)]
|
||||
public List<string> ImageFormatList { get; set; } = new List<string>();
|
||||
public List<string> ImageFormatList { get; set; } = new List<string>() {"jpg","jpeg","png","bmp","pdf","zip" };
|
||||
#endregion
|
||||
|
||||
#region 邮件配置
|
||||
|
|
Loading…
Reference in New Issue