Sla #11
@@ -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);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,8 @@ export enum ProjectRole {
|
||||
ProjectManager = 'ProjectManager',
|
||||
Planner = 'Planner',
|
||||
ManagerHSE = 'ManagerHSE',
|
||||
Security = 'Security'
|
||||
Security = 'Security',
|
||||
Keeper = 'Keeper'
|
||||
}
|
||||
|
||||
export enum HeadType {
|
||||
|
||||
@@ -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> = {
|
||||
|
||||
Reference in New Issue
Block a user