mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-07 08:21:08 +00:00
TSK-1013: add position field to Employee (#2874)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
a49792b731
commit
c6fc35cfaa
@ -162,6 +162,9 @@ export class TEmployee extends TPerson implements Employee {
|
|||||||
|
|
||||||
@Prop(TypeString(), contact.string.DisplayName)
|
@Prop(TypeString(), contact.string.DisplayName)
|
||||||
displayName?: string | null
|
displayName?: string | null
|
||||||
|
|
||||||
|
@Prop(TypeString(), contact.string.Position)
|
||||||
|
position?: string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
@Model(contact.class.EmployeeAccount, core.class.Account)
|
@Model(contact.class.EmployeeAccount, core.class.Account)
|
||||||
|
@ -88,6 +88,7 @@
|
|||||||
"CategoryProjectLead": "Project lead",
|
"CategoryProjectLead": "Project lead",
|
||||||
"CategoryCurrentUser": "Current user",
|
"CategoryCurrentUser": "Current user",
|
||||||
"CategoryOther": "Other",
|
"CategoryOther": "Other",
|
||||||
"NumberMembers": "{count, plural, =0 {no members} =1 {1 member} other {# members}}"
|
"NumberMembers": "{count, plural, =0 {no members} =1 {1 member} other {# members}}",
|
||||||
|
"Position": "Position"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -88,6 +88,7 @@
|
|||||||
"CategoryPreviousAssigned": "Ранее назначенные",
|
"CategoryPreviousAssigned": "Ранее назначенные",
|
||||||
"CategoryProjectLead": "Руководитель проекта",
|
"CategoryProjectLead": "Руководитель проекта",
|
||||||
"CategoryProjectMembers": "Участники проекта",
|
"CategoryProjectMembers": "Участники проекта",
|
||||||
"CategoryOther": "Прочие"
|
"CategoryOther": "Прочие",
|
||||||
|
"Position": "Должность"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -131,6 +131,7 @@ export interface Employee extends Person {
|
|||||||
mergedTo?: Ref<Employee>
|
mergedTo?: Ref<Employee>
|
||||||
statuses?: number
|
statuses?: number
|
||||||
displayName?: string | null
|
displayName?: string | null
|
||||||
|
position?: string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -244,7 +245,8 @@ export const contactPlugin = plugin(contactId, {
|
|||||||
UseColor: '' as IntlString,
|
UseColor: '' as IntlString,
|
||||||
PersonFirstNamePlaceholder: '' as IntlString,
|
PersonFirstNamePlaceholder: '' as IntlString,
|
||||||
PersonLastNamePlaceholder: '' as IntlString,
|
PersonLastNamePlaceholder: '' as IntlString,
|
||||||
DisplayName: '' as IntlString
|
DisplayName: '' as IntlString,
|
||||||
|
Position: '' as IntlString
|
||||||
},
|
},
|
||||||
viewlet: {
|
viewlet: {
|
||||||
TableMember: '' as Ref<Viewlet>,
|
TableMember: '' as Ref<Viewlet>,
|
||||||
|
Loading…
Reference in New Issue
Block a user