优化中心联系人展示名称解析
- 新增中心联系人展示名解析服务,支持从逗号分隔用户 ID 解析姓名\n- 中心列表接口返回 contact_display,避免前端依赖项目成员权限才能展示联系人姓名\n- 中心管理和立项会议授权页面优先使用后端联系人展示名\n- 补充联系人解析服务测试和立项会议授权页面展示顺序测试
This commit is contained in:
@@ -153,6 +153,7 @@ const memberNameMap = computed(() => {
|
||||
});
|
||||
|
||||
const contactLabel = (row: any) => {
|
||||
if (row?.contact_display) return row.contact_display;
|
||||
if (!row?.contact) return TEXT.common.fallback;
|
||||
return String(row.contact)
|
||||
.split(",")
|
||||
|
||||
Reference in New Issue
Block a user