前端限制 界面显示,加字段
This commit is contained in:
@@ -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和影像阅片人信息");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user