Test_Study_Net8
parent
4983def85b
commit
400421a337
IRaCIS.Core.Application/Service/Reading/ReadingImageTask
IRaCIS.Core.Infrastructure/_IRaCIS/Output
|
|
@ -2351,7 +2351,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
if (currentSubject == null)
|
if (currentSubject == null)
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"]);
|
throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"], ApiResponseCodeEnum.CloseCurrentWindows);
|
||||||
}
|
}
|
||||||
|
|
||||||
task = currentSubject.UnReadCanReadTaskList.Select(x => new GetReadingTaskDto()
|
task = currentSubject.UnReadCanReadTaskList.Select(x => new GetReadingTaskDto()
|
||||||
|
|
@ -2424,7 +2424,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
if (task == null)
|
if (task == null)
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"]);
|
throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"], ApiResponseCodeEnum.CloseCurrentWindows);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (task.SubjectCode.IsNullOrEmpty())
|
if (task.SubjectCode.IsNullOrEmpty())
|
||||||
|
|
|
||||||
|
|
@ -24,11 +24,15 @@ namespace IRaCIS.Core.Infrastructure.Extention
|
||||||
ProgramException = 4,
|
ProgramException = 4,
|
||||||
|
|
||||||
//需要提示 ,需要提示 从Result 取数据 ( 0 可以继续处理提交 ,1 不能进行继续处理提交 ,2 刷新列表 )
|
//需要提示 ,需要提示 从Result 取数据 ( 0 可以继续处理提交 ,1 不能进行继续处理提交 ,2 刷新列表 )
|
||||||
NeedTips = 5,
|
NeedTips = 5,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 关闭当前页面
|
||||||
|
/// </summary>
|
||||||
|
CloseCurrentWindows=6,
|
||||||
|
|
||||||
//在其他地方登陆,被迫下线
|
//在其他地方登陆,被迫下线
|
||||||
LoginInOtherPlace = -1,
|
LoginInOtherPlace = -1,
|
||||||
|
|
||||||
//没有带token访问(未登陆)
|
//没有带token访问(未登陆)
|
||||||
NoToken=10,
|
NoToken=10,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue