From fa8f338910d402121b1b8e6ed2dfd15e87d2cd42 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 15 Jun 2022 15:10:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Allocation/DTO/VisitTaskViewModel.cs | 15 ++++++++++----- .../Allocation/AllocationRelation.cs | 12 ++++++++++-- IRaCIS.Core.Domain/Allocation/VisitTask.cs | 19 +++++++++++++------ 3 files changed, 33 insertions(+), 13 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs b/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs index 3e6cf1ecb..fcef0dcd6 100644 --- a/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs @@ -88,8 +88,6 @@ namespace IRaCIS.Core.Application.ViewModel public ReadingTaskState ReadingTaskState { get; set; } - //建议完成时间 - public int SuggesteDays { get; set; } public DateTime? SignTime { get; set; } @@ -98,9 +96,16 @@ namespace IRaCIS.Core.Application.ViewModel public string ReReadingOriginalTaskCode { get; set; } - public RequestReturnType RequestReturnType { get; set; } - public DateTime? RequestReturnTime { get; set; } - public string RequestReturnReason { get; set; } = string.Empty; + public RequestReReadingType RequestReReadingType { get; set; } + + public DateTime? RequestReReadingTime { get; set; } + + public string RequestReReadingReason { get; set; } = string.Empty; + + public DateTime? SuggesteFinishedTime { get; set; } + + public RequestReReadingResult RequestReReadingResultEnum { get; set; } + diff --git a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs index 0c580ddb2..478e2a993 100644 --- a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs +++ b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs @@ -80,7 +80,7 @@ namespace IRaCIS.Core.Domain.Share HaveSigned=2 } - public enum RequestReturnType + public enum RequestReReadingType { Default = 0, @@ -89,8 +89,16 @@ namespace IRaCIS.Core.Domain.Share TrialGroupApply = 2 } + public enum RequestReReadingResult + { + Default = 0, + + Agree = 1, + + Reject = 2 + } + - } diff --git a/IRaCIS.Core.Domain/Allocation/VisitTask.cs b/IRaCIS.Core.Domain/Allocation/VisitTask.cs index 727338355..e8c6112d1 100644 --- a/IRaCIS.Core.Domain/Allocation/VisitTask.cs +++ b/IRaCIS.Core.Domain/Allocation/VisitTask.cs @@ -132,9 +132,6 @@ namespace IRaCIS.Core.Domain.Models - //建议完成时间 - public int SuggesteDays { get; set; } - //任务阅片状态 public ReadingTaskState ReadingTaskState { get; set; } @@ -154,11 +151,21 @@ namespace IRaCIS.Core.Domain.Models public VisitTask OriginalReReadingTask { get; set; } //申请回退类型 - public RequestReturnType RequestReturnType { get; set; } + public RequestReReadingType RequestReReadingType { get; set; } - public DateTime? RequestReturnTime { get; set; } + public DateTime? RequestReReadingTime { get; set; } - public string RequestReturnReason { get; set; } = string.Empty; + public string RequestReReadingReason { get; set; } = string.Empty; + + public DateTime? SuggesteFinishedTime { get; set; } + + public RequestReReadingResult RequestReReadingResultEnum { get; set; } + + + + + //建议完成时间 + //public int SuggesteDays { get; set; } } }