This commit is contained in:
he
2022-04-24 09:23:11 +08:00
parent 1eac030958
commit 9741b7a438
6 changed files with 85 additions and 11 deletions
@@ -35,6 +35,7 @@ namespace IRaCIS.Api.Controllers
private readonly IStudyService _studyService;
private readonly IDicomArchiveService _dicomArchiveService;
private readonly ILogger<StudyController> _logger;
private readonly IDictionaryService _dictionaryService;
private readonly IInspectionService _inspectionService;
private IEasyCachingProvider _provider;
private IUserInfo _userInfo;
@@ -44,6 +45,7 @@ namespace IRaCIS.Api.Controllers
public StudyController(IStudyService studyService,
IDicomArchiveService dicomArchiveService,
ILogger<StudyController> logger,
IDictionaryService dictionaryService,
IInspectionService inspectionService,
IEasyCachingProvider provider, IUserInfo userInfo
)
@@ -53,6 +55,7 @@ namespace IRaCIS.Api.Controllers
_studyService = studyService;
_dicomArchiveService = dicomArchiveService;
_logger = logger;
this._dictionaryService = dictionaryService;
this._inspectionService = inspectionService;
}
@@ -237,7 +240,7 @@ namespace IRaCIS.Api.Controllers
Identification = "Edit|Visit|Status|Visit-Image Upload|Add Image",
JsonDetail = JsonConvert.SerializeObject(new
{
SubmitState = "待提交",
SubmitState = await _dictionaryService.GetBasicDataTranslateItem("SubmitState", savedInfo.SubmitState),
})
});