前端限制 界面显示,加字段

This commit is contained in:
2023-07-17 10:41:46 +08:00
parent 2f5a4d5515
commit 366aba68ce
3 changed files with 15 additions and 3 deletions
@@ -750,9 +750,9 @@ namespace IRaCIS.Core.Application.Contracts
{
var currentUserList = siteUserList.Where(t => t.TrialSiteSurveyId == trialSiteSurveyId).ToList();
if(!currentUserList.Any(t=>t.Code=="1") || !currentUserList.Any(t => t.Code == "4"))
if(!currentUserList.Any(t=>t.Code=="1") || !currentUserList.Any(t => t.Code == "5"))
{
throw new BusinessValidationFailedException("本次提交,必须有CRC和影像负责人信息");
throw new BusinessValidationFailedException("本次提交,必须有CRC和影像阅片人信息");
}
}