|
|
@ -164,7 +164,7 @@ namespace BBWY.Client.ViewModels |
|
|
|
GlobalContext.User.SonDepartmentNames = string.Join(',', mdsUserResponse.Data.SonDepartmentList.Select(sd => sd.DepartmentName)); |
|
|
|
|
|
|
|
#if RELEASE
|
|
|
|
if (!managerDepartment.Contains(GlobalContext.User.TeamName) && !managerDepartment.Any(m => GlobalContext.User.SonDepartmentNames.Contains(m))) //非管理账号,屏蔽财务端
|
|
|
|
if (!managerDepartment.Contains(GlobalContext.User.TeamName) && !managerDepartment.Any(m =>!string.IsNullOrEmpty(GlobalContext.User.SonDepartmentNames) && GlobalContext.User.SonDepartmentNames.Contains(m))) //非管理账号,屏蔽财务端
|
|
|
|
{ |
|
|
|
App.Current.Dispatcher.Invoke(() => |
|
|
|
{ |
|
|
|