修正 ERP 边界与资产页面一致性(05-30-fix-erp-boundary-asset-consistency)
这个提交包含在:
@@ -56,7 +56,6 @@ const MANAGEMENT_ACTIVE_PATHS = [
|
||||
"/system/reimbursement-templates",
|
||||
"/system/master-data",
|
||||
"/system/notification-channels",
|
||||
"/system/integrations/erp",
|
||||
"/system/users",
|
||||
"/system/departments",
|
||||
"/system/cutover",
|
||||
|
||||
@@ -178,7 +178,9 @@ export function Topbar() {
|
||||
</span>
|
||||
) : null}
|
||||
</div>
|
||||
<div className="mt-0.5 text-xs text-[var(--color-text-secondary)]">{me ? `${me.name} · 当前工作区` : "海音达 OA"}</div>
|
||||
<div className="mt-0.5 text-xs text-[var(--color-text-secondary)]">
|
||||
{me ? `${me.name} · ${me.employeeNo}` : "海音达 OA"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -293,8 +295,8 @@ export function Topbar() {
|
||||
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button data-testid="topbar-profile-trigger" variant="secondary" type="button" className="max-w-[160px] truncate">
|
||||
{me?.name ?? "账号"}
|
||||
<Button data-testid="topbar-profile-trigger" variant="secondary" type="button" className="max-w-[190px] truncate">
|
||||
{me ? `${me.name} · ${me.employeeNo}` : "账号"}
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户