diff --git a/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs b/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs index d0ab9fc1a..d680022ac 100644 --- a/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs @@ -298,6 +298,8 @@ namespace IRaCIS.Core.Application.ViewModel public bool IsUrgent => UnReadCanReadTaskList.Any(t => t.IsUrgent); + public bool IsSubjectJudge => UnReadCanReadTaskList.All(t => t.ReadingCategory == ReadingCategory.Judge); + public int UnReadTaskCount { get; set; } public int UnReadCanReadTaskCount { get; set; } @@ -340,10 +342,8 @@ namespace IRaCIS.Core.Application.ViewModel public int UrgentCount { get; set; } - // public int UrgentCount => UnReadCanReadTaskList.Count(t => t.IsUrgent); public List UnReadCanReadTaskList { get; set; } = new List(); - // public List UnReadCanReadTaskList => UnReadTaskList.Where(y => y.IsFrontTaskNeedSignButNotSign == false && (y.IsNeedClinicalDataSign == false || y.IsClinicalDataSign == true)).ToList(); public List UnReadTaskList { get; set; } = new List(); } diff --git a/IRaCIS.Core.Application/TestService.cs b/IRaCIS.Core.Application/TestService.cs index 19ecc3597..f6d75b024 100644 --- a/IRaCIS.Core.Application/TestService.cs +++ b/IRaCIS.Core.Application/TestService.cs @@ -112,7 +112,6 @@ namespace IRaCIS.Application.Services public string TestName { get; set; } - } diff --git a/IRaCIS.Core.Test/IRaCIS.Core.Test.csproj b/IRaCIS.Core.Test/IRaCIS.Core.Test.csproj index 46a07fc5e..39a20fd0c 100644 --- a/IRaCIS.Core.Test/IRaCIS.Core.Test.csproj +++ b/IRaCIS.Core.Test/IRaCIS.Core.Test.csproj @@ -14,6 +14,12 @@ bin + + + + + + @@ -72,7 +78,6 @@ - @@ -88,6 +93,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +