добавлен заведующим складом
Tests / frontend-test (push) Failing after 39s
Tests / backend-test (push) Successful in 1m59s

This commit is contained in:
gorbenko.pavel
2026-08-12 15:26:49 +05:00
parent 509f26de7b
commit 185cc22e34
3 changed files with 7 additions and 3 deletions
@@ -6,5 +6,6 @@ public enum ProjectRole
ProjectManager,
Planner,
ManagerHSE,
Security
Security,
Keeper
}
@@ -52,6 +52,7 @@ public sealed class HttpTnsuPortalClient(
AddIfPresent(executors, ProjectRole.Planner, project.Planner);
AddIfPresent(executors, ProjectRole.ManagerHSE, project.ManagerHSE);
AddIfPresent(executors, ProjectRole.Security, project.Security);
AddIfPresent(executors, ProjectRole.Keeper, project.Keeper);
return executors;
}
@@ -115,5 +116,6 @@ public sealed class HttpTnsuPortalClient(
[property: JsonPropertyName("projectManager")] string? ProjectManager,
[property: JsonPropertyName("planner")] string? Planner,
[property: JsonPropertyName("managerHSE")] string? ManagerHSE,
[property: JsonPropertyName("security")] string? Security);
[property: JsonPropertyName("security")] string? Security,
[property: JsonPropertyName("keeper")] string? Keeper);
}
+2 -1
View File
@@ -22,7 +22,8 @@ export const projectRoleLabels: Record<ProjectRole, string> = {
[ProjectRole.ProjectManager]: 'Руководитель проекта',
[ProjectRole.Planner]: 'Планировщик',
[ProjectRole.ManagerHSE]: 'Менеджер HSE',
[ProjectRole.Security]: 'Безопасность'
[ProjectRole.Security]: 'Безопасность',
[ProjectRole.Keeper]: 'Заведующий склада'
};
export const headTypeLabels: Record<HeadType, string> = {