修改后端提示语国际化
parent
91f61e0a1b
commit
a5016b2ad5
|
@ -25,8 +25,8 @@
|
||||||
"Study_VisitAfterVisitOverError": "The current study batch check time {0} cannot be later than the subject study over time {1} .Please check whether the check data is correct.",
|
"Study_VisitAfterVisitOverError": "The current study batch check time {0} cannot be later than the subject study over time {1} .Please check whether the check data is correct.",
|
||||||
"Study_VisitBeforePrevError": "The current study batch check time {0} cannot be earlier than the previous study batch check time {1}. Please check whether the check data is correct.",
|
"Study_VisitBeforePrevError": "The current study batch check time {0} cannot be earlier than the previous study batch check time {1}. Please check whether the check data is correct.",
|
||||||
"Study_VisitAfterSubseqError": "The current study batch check time {0} cannot be later than the study batch check time {1} .Please check whether the check data is correct.",
|
"Study_VisitAfterSubseqError": "The current study batch check time {0} cannot be later than the study batch check time {1} .Please check whether the check data is correct.",
|
||||||
"Study_UploadArchiving": "Someone is currently uploading and archiving this study !",
|
"Study_UploadArchiving": "Someone is currently uploading and archiving this study batch !",
|
||||||
"Study_VisitEndedNotAllowed": "Subject study is over, and uploading is not allowed!",
|
"Study_VisitEndedNotAllowed": "Subject study batch is over, and uploading is not allowed!",
|
||||||
"Study_ImgAlreadyUploaded": "Uploading is not allowed above here.The current image study has already been uploaded to {1} of Subject {0}.",
|
"Study_ImgAlreadyUploaded": "Uploading is not allowed above here.The current image study has already been uploaded to {1} of Subject {0}.",
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1120,17 +1120,17 @@ namespace IRaCIS.Core.Application.Image.QA
|
||||||
|
|
||||||
if (dbSubjectVisitList.Any(t => t.SubmitState == SubmitStateEnum.None))
|
if (dbSubjectVisitList.Any(t => t.SubmitState == SubmitStateEnum.None))
|
||||||
{
|
{
|
||||||
return ResponseOutput.NotOk("There's visit which did not upload any image, the submission is not allowed.");
|
return ResponseOutput.NotOk("There's study batch which did not upload any image, the submission is not allowed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
//单个提交提示信息
|
//单个提交提示信息
|
||||||
if (dbSubjectVisitList.Count() == 1 && dbSubjectVisitList.First().SubmitState == SubmitStateEnum.Submitted)
|
if (dbSubjectVisitList.Count() == 1 && dbSubjectVisitList.First().SubmitState == SubmitStateEnum.Submitted)
|
||||||
{
|
{
|
||||||
return ResponseOutput.NotOk("Images of the current visit have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
|
return ResponseOutput.NotOk("Images of the current study batch have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
|
||||||
}
|
}
|
||||||
else if (dbSubjectVisitList.Any(t => t.SubmitState == SubmitStateEnum.Submitted))
|
else if (dbSubjectVisitList.Any(t => t.SubmitState == SubmitStateEnum.Submitted))
|
||||||
{
|
{
|
||||||
return ResponseOutput.NotOk("Images of the visits to be submitted in batch, some of which have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
|
return ResponseOutput.NotOk("Images of the study batches to be submitted in batch, some of which have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取确认的临床数据配置
|
//获取确认的临床数据配置
|
||||||
|
|
Loading…
Reference in New Issue