修改稽查bug
This commit is contained in:
@@ -2077,42 +2077,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||
|
||||
var visitTask = entityObj as VisitTask;
|
||||
|
||||
switch (_userInfo.RequestUrl)
|
||||
{
|
||||
//申请重阅
|
||||
case "VisitTask/applyReReading":
|
||||
type = type + "/" + (int)visitTask.ReReadingApplyState;
|
||||
break;
|
||||
|
||||
|
||||
//同意重阅
|
||||
case "VisitTask/ConfirmReReading":
|
||||
|
||||
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.APM)
|
||||
{
|
||||
type = type + "/" + 1;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
type = type + "/" + 2;
|
||||
}
|
||||
|
||||
|
||||
//if (visitTask.ReReadingApplyState == ReReadingApplyState.Agree)
|
||||
//{
|
||||
// type = type + "/" + 1;
|
||||
|
||||
//}
|
||||
//else if (visitTask.ReReadingApplyState == ReReadingApplyState.Reject)
|
||||
//{
|
||||
// type = type + "/" + 2;
|
||||
//}
|
||||
break;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
if (type == AuditOpt.Add)
|
||||
{
|
||||
@@ -2135,6 +2099,35 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (_userInfo.RequestUrl)
|
||||
{
|
||||
//申请重阅
|
||||
case "VisitTask/applyReReading":
|
||||
type = type + "/" + (int)visitTask.ReReadingApplyState;
|
||||
break;
|
||||
|
||||
|
||||
//同意重阅
|
||||
case "VisitTask/ConfirmReReading":
|
||||
|
||||
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.APM)
|
||||
{
|
||||
type = type + "/" + 1;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
type = type + "/" + 2;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user