1.将职称角色中的“从OA同步企微账号”及设置角色、“员工与部门在「组织架构」中统一维护,此处仅配置职称角色”迁移到组织架构页面中, 2.平台新增成员自动添加到“组织架构”页面自动匹配对应部门; 3.在“组织架构”页面可直接设置角色 4.“组织架构”页面职称按名称、工号、部门查找员工 5.新增成员默认放在最上面按时间倒序排列 6.所有登录平台的用户直接默认打开AI对话页面 7.页面3、4中的”AIDO“改为”和信智汇学院“
This commit is contained in:
1 parent
196478114c
commit
8f225ecea9
26 files changed
+644
-406
No files matched your search
@@ -272,7 +272,7 @@ func newServiceWithRepo() (interfaces.TenantMemberService, *fakeTenantMemberRepo
|
||||
// tests pre-date PR 6 and exercise membership invariants only. The
|
||||
// service's audit and RemoveMember-cleanup hooks are nil-safe, so
|
||||
// passing nil keeps existing coverage intact without forcing stubs.
|
||||
return NewTenantMemberService(r, nil, nil, nil), r
|
||||
return NewTenantMemberService(r, nil, nil, nil, nil), r
|
||||
}
|
||||
|
||||
// cleanupUserRepo is a minimal UserRepository used to assert that
|
||||
@@ -359,7 +359,7 @@ func TestTenantMemberService_RemoveMember_ClearsStaleHomeAndRevokesTokens(t *tes
|
||||
},
|
||||
}}
|
||||
tokenRepo := &cleanupTokenRepo{}
|
||||
svc := NewTenantMemberService(memberRepo, nil, userRepo, tokenRepo)
|
||||
svc := NewTenantMemberService(memberRepo, nil, userRepo, tokenRepo, nil)
|
||||
ctx := context.Background()
|
||||
|
||||
if _, err := svc.EnsureOwner(ctx, "owner", 7); err != nil {
|
||||
@@ -396,7 +396,7 @@ func TestTenantMemberService_RemoveMember_RevokesTokensEvenWhenHomeUnchanged(t *
|
||||
"contrib": {ID: "contrib", TenantID: 1},
|
||||
}}
|
||||
tokenRepo := &cleanupTokenRepo{}
|
||||
svc := NewTenantMemberService(memberRepo, nil, userRepo, tokenRepo)
|
||||
svc := NewTenantMemberService(memberRepo, nil, userRepo, tokenRepo, nil)
|
||||
ctx := context.Background()
|
||||
|
||||
if _, err := svc.EnsureOwner(ctx, "owner", 7); err != nil {
|
||||
|
||||
Reference in new issue
Block a user