修改
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-12-12 10:40:10 +08:00
parent bcfa22a818
commit aed8a77e13
11 changed files with 21 additions and 8 deletions

View File

@ -35,7 +35,8 @@
},
"BasicSystemConfig": {
//
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,

View File

@ -36,7 +36,8 @@
}
},
"BasicSystemConfig": {
//
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,

View File

@ -88,6 +88,8 @@
},
//
"BasicSystemConfig": {
//
"QCRiskControl": true,
//
"OpenUserComplexPassword": false,
//

View File

@ -47,7 +47,8 @@
},
"BasicSystemConfig": {
//
"QCRiskControl": true,
"OpenUserComplexPassword": false,
"OpenSignDocumentBeforeWork": false,

View File

@ -38,7 +38,8 @@
}
},
"BasicSystemConfig": {
//
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,

View File

@ -44,7 +44,8 @@
}
},
"BasicSystemConfig": {
//
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,

View File

@ -48,7 +48,8 @@
}
},
"BasicSystemConfig": {
//
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,

View File

@ -54,7 +54,8 @@
},
"BasicSystemConfig": {
//
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,

View File

@ -7,6 +7,7 @@ namespace IRaCIS.Core.Domain.Share;
[Description("多环境 配置环境实体")]
public class ServiceVerifyConfigOption
{
public bool QCRiskControl { get; set; }
public bool OpenUserComplexPassword { get; set; }
public bool OpenSignDocumentBeforeWork { get; set; }

View File

@ -265,6 +265,7 @@ namespace IRaCIS.Core.Application.Contracts.DTO
{
public bool ExistsManual { get; set; }
public bool IsHaveStudyClinicalData { get; set; }
public bool QCRiskControl { get; set; }
public SubjectClinicalDataDto SubjectClinicalData { get; set; } = new SubjectClinicalDataDto();
public List<NoneDicomStudyView> NoneDicomStudyList { get; set; } = new List<NoneDicomStudyView>();

View File

@ -7,6 +7,7 @@ using IRaCIS.Core.Infrastructure;
using IRaCIS.Core.Infrastructure.Extention;
using MassTransit.Initializers;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using NPOI.SS.Formula.Functions;
using System.Linq;
@ -25,6 +26,7 @@ namespace IRaCIS.Core.Application.Image.QA
IRepository<DicomSeries> _dicomSeriesRepository,
IRepository<NoneDicomStudy> _noneDicomStudyRepository,
IRepository<QCChallenge> _qcChallengeRepository,
IOptionsMonitor<ServiceVerifyConfigOption> _verifyConfig,
IRepository<SubjectVisitImageBackRecord> _subjectVisitImageBackRecordReposiotry,
IRepository<UserRole> _userRoleReposiotry,
IReadingImageTaskService _IReadingImageTaskService, IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer) : BaseService, IQCListService
@ -456,7 +458,7 @@ namespace IRaCIS.Core.Application.Image.QA
return new TrialVisitQADTO
{
QCQuestionAnswerList = qacheckList,
QCRiskControl = _verifyConfig.CurrentValue.QCRiskControl,
SecondReviewList = secondReviewList,
IsHaveStudyClinicalData = await _clinicalDataTrialSetRepository.AnyAsync(x => x.IsConfirm && x.TrialId == sv.TrialId && x.ClinicalDataLevel == ClinicalLevel.Study),