fix(加班申请、工作报告、我的绩效): 重构页面样式、修复一系列bug、对不合理的地方进行调整。

This commit is contained in:
dk
2026-06-22 23:07:21 +08:00
parent b1d52b852f
commit 632c123112
30 changed files with 1574 additions and 451 deletions

View File

@@ -15,6 +15,7 @@ interface BackendUserInfoDTO {
userId: string | number;
userName?: string | null;
nickname?: string | null;
deptId?: string | number | null;
roles?: string[] | null;
buttons?: string[] | null;
}
@@ -61,6 +62,7 @@ function mapUserInfo(data: BackendUserInfoDTO): Api.Auth.UserInfo {
userId: String(data.userId ?? ''),
userName: data.userName ?? '',
nickname: data.nickname ?? '',
deptId: safeStringId(data.deptId),
roles: data.roles ?? [],
buttons: data.buttons ?? []
};