feat(权限优化)1.AI对话中点击快捷标签问题时,明明已经配置了默认默写为什么还会提示配置?必须点击一下保存并关闭才可以这个不对,只要配置了就可以问答不需要再让用户过来点击一次!如图一、二所示
deploy-hxtesting / build-and-deploy (push) Successful in 1m20s

2.知识库中的企业培训(课件)、企业培训(试题)、配置中心、组织架构、共享空间如图三所示可查看权限归属到超级管理员权限中!如何对
This commit is contained in:
runny committed 2026-11-27 14:49:06 +08:00
1 parent 353f60a175
commit 043e0485e2
14 files changed
+368 -74

No files matched your search

+3 -3
View File
@@ -367,9 +367,9 @@ const roleDict = ref<TrainingRoleDef[]>([])
// 本人职称角色(权限门控口径与培训页一致:人事/经理/空间管理员可维护)
const rawRoles = ref<string[]>([])
const myRoles = computed(() => expandRoles(rawRoles.value, roleDict.value))
const canManage = computed(
() => authStore.hasRole('admin') || myRoles.value.some((r) => r === 'hr' || r === 'exec'),
)
// 000163 权限收口:组织架构页仅平台超级管理员可查看/维护
// (路由 requiresSystemAdmin 守卫为主,此处为页面内兜底)。
const canManage = computed(() => authStore.isSystemAdmin)
const rolesVisible = ref(false)
const activeEmployee = ref<OrgEmployee | null>(null)