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

This commit is contained in:
he
2025-12-12 10:40:10 +08:00
parent bcfa22a818
commit aed8a77e13
11 changed files with 21 additions and 8 deletions
+2 -1
View File
@@ -35,7 +35,8 @@
},
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,
+2 -1
View File
@@ -36,7 +36,8 @@
}
},
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,
@@ -88,6 +88,8 @@
},
// 系统配置
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
// 打开用户复杂密码
"OpenUserComplexPassword": false,
// 是否在开始工作前强制签署电子知情同意书
@@ -47,7 +47,8 @@
},
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
"OpenUserComplexPassword": false,
"OpenSignDocumentBeforeWork": false,
+2 -1
View File
@@ -38,7 +38,8 @@
}
},
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,
+2 -1
View File
@@ -44,7 +44,8 @@
}
},
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,
+2 -1
View File
@@ -48,7 +48,8 @@
}
},
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,
+2 -1
View File
@@ -54,7 +54,8 @@
},
"BasicSystemConfig": {
// 启用质控风险控制功能
"QCRiskControl": true,
"OpenUserComplexPassword": true,
"OpenSignDocumentBeforeWork": true,
@@ -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; }
@@ -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>();
@@ -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),