修改任务分配规则

This commit is contained in:
2022-06-21 17:17:17 +08:00
parent 009fcae3d8
commit 3f9de3c852
4 changed files with 329 additions and 189 deletions
@@ -28,7 +28,7 @@ namespace IRaCIS.Core.Application.ViewModel
public class DoctorVisitTaskStatView: TaskAllocationRuleView
public class DoctorVisitTaskStatView : TaskAllocationRuleView
{
//该医生已经应用的 Subject数量
public int? SelfApplyedSubjectCount { get; set; }
@@ -104,7 +104,7 @@ namespace IRaCIS.Core.Application.ViewModel
public string Note { get; set; } = string.Empty;
}
public class TrialDoctorUserSelectView
public class TrialDoctorUserSelectView
{
public Guid TrialId { get; set; }
@@ -121,6 +121,43 @@ namespace IRaCIS.Core.Application.ViewModel
public UserTypeEnum UserTypeEnum { get; set; }
}
public class GenerateTaskCommand
{
public Guid TrialId { get; set; }
public ReadingCategory ReadingCategory { get; set; }
//针对访视产生任务的 有用
public bool IsAssignSubjectToDoctor { get; set; }
//访视任务产生的时候传递
public List<VisitGenerataTaskDTO> VisitGenerataTaskList { get; set; }
//裁判的时候传递
public List<Guid> JudgeVisitTaskIdList { get; set; } = new List<Guid>();
}
public class VisitGenerataTaskDTO
{
public Guid Id { get; set; }
public Guid SubjectId { get; set; }
public bool IsUrgent { get; set; }
public String VisitName { get; set; }
public String BlindName { get; set; }
public DateTime? CheckPassedTime { get; set; }
}
}