管理绩效BUG修复

parent b264cfe8
......@@ -2374,6 +2374,11 @@ public List<DeptDataDetails> DeptComputeDetailList(int userId, int allotId, out
var allot = perallotRepository.GetEntity(t => t.ID == allotId);
isShowManage = computeService.IsShowManage(allotId);
// 未下发或未归档 则不可见
var status = new int[] { (int)AllotStates.GenerateSucceed, (int)AllotStates.Archive };
if (!status.Contains(allot.States)) return deptDatas;
var userrole = userroleRepository.GetEntity(t => t.UserID == userId);
var role = roleRepository.GetEntity(t => t.ID == userrole.RoleID);
Dictionary<int, List<string>> dict = new Dictionary<int, List<string>>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment