增加稽查标识

Test_IRC_Net8
hang 2025-06-09 17:38:41 +08:00
parent 39a6f6a9dc
commit 549f394d43
1 changed files with 5 additions and 1 deletions

View File

@ -3502,11 +3502,12 @@ namespace IRaCIS.Core.Infra.EFCore.Common
{ {
isDistinctionInterface = false;
switch (_userInfo.RequestUrl) switch (_userInfo.RequestUrl)
{ {
//申请重阅 //申请重阅
case "VisitTask/applyReReading": case "VisitTask/applyReReading":
extraIdentification = "/" + (int)entity.ReReadingApplyState; extraIdentification = "/" + (int)entity.ReReadingApplyState;
//PM 申请重阅区分不了是否有SPM参与 //PM 申请重阅区分不了是否有SPM参与
@ -3528,6 +3529,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
//同意重阅 //同意重阅
case "VisitTask/ConfirmReReading": case "VisitTask/ConfirmReReading":
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.APM) if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.APM)
{ {
extraIdentification = "/" + 1; extraIdentification = "/" + 1;
@ -3542,6 +3544,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
case "VisitTask/PMSetTaskBack": case "VisitTask/PMSetTaskBack":
isDistinctionInterface = false;
if (entity.PMBackReason.IsNotNullOrEmpty()) if (entity.PMBackReason.IsNotNullOrEmpty())
{ {
extraIdentification = "/" + "Reason"; extraIdentification = "/" + "Reason";