This commit is contained in:
parent
febc07623b
commit
74f05fccfe
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
// try
|
||||
// {
|
||||
// // Get avatar Image
|
||||
//var picContent = await _minIOExamService.DownloadFileAsync(avatar);
|
||||
var picContent = avatar == null ? null : await _minIOExamService.ImagesPath(avatar);
|
||||
//var pictureBox = (Telerik.Reporting.PictureBox)report.Items["detailSection1"].Items["picAvatar"];
|
||||
//pictureBox.Value = Image.FromStream(new MemoryStream(picContent.FileContent));
|
||||
// }
|
||||
|
|
@ -141,7 +141,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
ContactRelations = candidate.GetType().GetProperty("ContactRelations").GetValue(candidate),
|
||||
ContactTel = candidate.GetType().GetProperty("ContactTel").GetValue(candidate),
|
||||
RegisterDate = candidate.GetType().GetProperty("RegisterDate").GetValue(candidate),
|
||||
Url = "https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg",
|
||||
Url = picContent ?? "https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg",
|
||||
Careers = careers,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue