diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs index 4290f27ef..729cbdbe4 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs @@ -292,8 +292,7 @@ namespace IRaCIS.Core.Application.Contracts public string LatestReplyUserName { get; set; } = String.Empty; public string Content { get; set; } = string.Empty; - - public string ContentReplaced => Content.Replace("
","").Replace("
", "").Replace("
",""); + public string ContentReplaced => Content.Replace("
","").Replace("
", "").Replace("
", "").Replace("
",""); [DictionaryTranslateAttribute("ChallengeIsClosed")] public bool IsClosed { get; set; } @@ -352,6 +351,8 @@ namespace IRaCIS.Core.Application.Contracts public string UserName { get; set; } public string Content { get; set; } + + public string ContentReplaced => Content.Replace("
", "").Replace("
", "").Replace("
", "").Replace("
", "").Replace("
", ""); } @@ -726,10 +727,10 @@ namespace IRaCIS.Core.Application.Contracts public string CheckResult { get; set; } = String.Empty; - public string CheckResultReplaced => CheckResult.Replace("
", "").Replace("
", "").Replace("
", ""); + //public string CheckResultReplaced => CheckResult.Replace("
", "").Replace("
", "").Replace("
", ""); public List CheckDialogList { get; set; } - public string CheckDialogStr => string.Join("\n\n", CheckDialogList.OrderBy(t => t.CreateTime).Select(c => c.UserName + " (" + ExportExcelConverterDate.DateTimeInternationalToString(c.CreateTime) + ") :" + c.Content)); + public string CheckDialogStr => string.Join("\n\n", CheckDialogList.OrderBy(t => t.CreateTime).Select(c => c.UserName + " (" + ExportExcelConverterDate.DateTimeInternationalToString(c.CreateTime) + ") :" + c.ContentReplaced)); public DateTime? CheckBackTime { get; set; }