提示语国际化修改

This commit is contained in:
he
2024-09-03 15:51:59 +08:00
parent 320ede4d7b
commit 96462aa4ba
9 changed files with 82 additions and 46 deletions
@@ -26,6 +26,13 @@ namespace IRaCIS.Core.Application.ViewModel
public bool IsUrgent { get; set; }
public bool? IsSelfAnalysis { get; set; }
/// <summary>
/// 是否是一致性分析产生
/// </summary>
public bool IsAnalysisCreate { get; set; }
/// <summary>
/// 加急类型
/// </summary>
@@ -203,6 +210,11 @@ namespace IRaCIS.Core.Application.ViewModel
public bool IsHaveFeedBack { get; set; }
/// <summary>
/// 是否手动生成
/// </summary>
public bool IsManualGeneration { get; set; }
//public bool IsAfterConvertedTask { get; set; }
}
@@ -258,6 +270,12 @@ namespace IRaCIS.Core.Application.ViewModel
//产生重阅的根任务Id
public Guid RootReReadingTaskId { get; set; }
/// <summary>
/// 是否是一致性分析产生
/// </summary>
public bool IsAnalysisCreate { get; set; }
public bool? IsSelfAnalysis { get; set; }
}
@@ -145,6 +145,7 @@ namespace IRaCIS.Core.Application.Service
.ForMember(o => o.HistoryReadingDoctorUserList, t => t.MapFrom(u => u.JudgeVisitList));
CreateMap<VisitTask, ReadingTaskView>().IncludeBase<VisitTask, VisitTaskView>()
.ForMember(o=>o.IsManualGeneration,t=> t.MapFrom(u => !u.TrialReadingCriterion.IsAutoCreate))
.ForMember(o => o.IsHaveFeedBack, t => t.MapFrom(u => u.UserFeedBackList.Any(t=>t.State==0)))
;