แก้ออกคำสั่ง
This commit is contained in:
parent
ee2aa136b9
commit
6c09c68c5c
33 changed files with 18908 additions and 626 deletions
|
|
@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||
using Swashbuckle.AspNetCore.Annotations;
|
||||
using Telerik.Reporting;
|
||||
using Telerik.Reporting.Processing;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace BMA.EHR.Report.Service.Controllers
|
||||
{
|
||||
|
|
@ -158,10 +159,12 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
dynamic knowledges = probation.GetType().GetProperty("Knowledge").GetValue(probation);
|
||||
foreach (var knowledge in knowledges)
|
||||
{
|
||||
string output = Regex.Replace(knowledge.description, "<.*?>", string.Empty);
|
||||
output = output.Replace(" ", " ");
|
||||
_knowledgeList.Add(new
|
||||
{
|
||||
Title = knowledge.title,
|
||||
Description =knowledge.description
|
||||
Description = output
|
||||
});
|
||||
}
|
||||
var tblKnowledges = (Telerik.Reporting.Table)report.Items["detailSection1"].Items["table3"];
|
||||
|
|
@ -171,11 +174,13 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
dynamic competencys = probation.GetType().GetProperty("Competency").GetValue(probation);
|
||||
foreach (var competency in competencys)
|
||||
{
|
||||
string output = Regex.Replace(competency.description, "<.*?>", string.Empty);
|
||||
output = output.Replace(" ", " ");
|
||||
_competencysList.Add(new
|
||||
{
|
||||
Id = competency.id,
|
||||
Title = competency.title,
|
||||
Description = competency.description
|
||||
Description = output
|
||||
});
|
||||
}
|
||||
var tblCompetencys = (Telerik.Reporting.Table)report2.Items["detailSection1"].Items["table4"];
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue