影响上传导出

This commit is contained in:
2022-11-04 16:16:26 +08:00
parent 1d82214520
commit fbc9955715
9 changed files with 206 additions and 45 deletions
@@ -55,7 +55,7 @@ namespace IRaCIS.Core.Application.Contracts
public Guid TrialId { get; set; }
public Guid[] SubjectVisitIds { get; set; }=new Guid[0];
public Guid[] SubjectVisitIds { get; set; } = new Guid[0];
}
@@ -120,7 +120,9 @@ namespace IRaCIS.Core.Application.Contracts
public class CRCVisitExportDTO
{
public ChallengeStateEnum ChallengeState { get; set; }
public ChallengeStateEnum ChallengeState { get; set; }
[DictionaryTranslateAttribute("YesOrNo")]
public bool IsUrgent { get; set; }
public string BlindName { get; set; } = String.Empty;
public string VisitName { get; set; } = string.Empty;
@@ -134,7 +136,7 @@ namespace IRaCIS.Core.Application.Contracts
public DateTime? SubmitTime { get; set; }
[DictionaryTranslateAttribute("SubmitState")]
public SubmitStateEnum SubmitState { get; set; }
@@ -149,6 +151,78 @@ namespace IRaCIS.Core.Application.Contracts
}
public class QCChanllengeExportDto
{
[DictionaryTranslateAttribute("Subject_Visit_Status")]
public SubjectStatus SubjectState { get; set; }
public string ChallengeCode { get; set; } = String.Empty;
public String TrialSiteCode { get; set; } = String.Empty;
public string SubjectCode { get; set; } = String.Empty;
public string VisitName { get; set; } = string.Empty;
public DateTime? CreateTime { get; set; }
public string CreateUserName { get; set; } = String.Empty;
public DateTime? LatestMsgTime { get; set; }
public string LatestReplyUserName { get; set; } = String.Empty;
public string Content { get; set; } = string.Empty;
[DictionaryTranslateAttribute("YesOrNo")]
public bool IsClosed { get; set; }
public DateTime? ClosedTime { get; set; }
public DateTime? DeadlineTime { get; set; }
[DictionaryTranslateAttribute("YesOrNo")]
public bool IsOverTime => IsClosed ? ClosedTime > DeadlineTime : DateTime.Now > DeadlineTime;
public string ChallengeDuration
{
get
{
if (!ClosedTime.HasValue)
return "";
else return string.Format("{0}天{1}小时{2}分钟", (ClosedTime - CreateTime)?.Days, (ClosedTime - CreateTime)?.Hours, (ClosedTime - CreateTime)?.Minutes);
}
}
//public QCChanllengeReuploadEnum ReuploadEnum { get; set; }
//public SubmitStateEnum SubmitState { get; set; }
//public string? CurrentActionUserName { get; set; }
//public bool IsUrgent { get; set; }
//public DateTime? ReUploadedTime { get; set; }
//public RequestBackStateEnum RequestBackState { get; set; }
//public string PreliminaryAuditUserName { get; set; } = String.Empty;
//public AuditStateEnum AuditState { get; set; }
//public CurrentQC CurrentQCEnum { get; set; }
//public string ChallengeType { get; set; } = string.Empty;
//public string Note { get; set; } = string.Empty;
}
public class QCCRCVisitViewModel : QCVisitBasicListViewModel
{
@@ -174,7 +248,7 @@ namespace IRaCIS.Core.Application.Contracts
public bool IsHaveClinicalData { get; set; }
public string MedicalNo { get; set; }
public string MedicalNo { get; set; }
public int? Age { get; set; }
public string Sex { get; set; } = string.Empty;
@@ -386,9 +460,9 @@ namespace IRaCIS.Core.Application.Contracts
public class CheckDialogDTO
{
public QCCheckViewModel SubjectVisitCheck { get; set; }
public QCCheckViewModel SubjectVisitCheck { get; set; }
public List<CheckChanllengeDialogDTO> DialogList { get; set; }
public List<CheckChanllengeDialogDTO> DialogList { get; set; }
}
public class QCCheckViewModel