fix: правки форм рекрутинга (заявка на подбор, реферальная рекомендация)
Tests / frontend-test (push) Successful in 1m12s
Tests / frontend-test (push) Successful in 1m12s
- убраны поля «Премии» и «Бонусы» из заявки на подбор - разделы и поля формы «Реферальная рекомендация» пронумерованы
This commit is contained in:
@@ -64,8 +64,6 @@ export interface IFormData {
|
||||
// Условия работы
|
||||
RateProbation: string;
|
||||
RateAfterProbation: string;
|
||||
Awards: string;
|
||||
Bonuses: string;
|
||||
PieceworkPay: boolean;
|
||||
WorkSchedule: string;
|
||||
WorkScheduleOther: string;
|
||||
@@ -126,8 +124,6 @@ export const EMPTY_DATA: IFormData = {
|
||||
BusinessTripsDetailsOther: '',
|
||||
RateProbation: '',
|
||||
RateAfterProbation: '',
|
||||
Awards: '',
|
||||
Bonuses: '',
|
||||
PieceworkPay: false,
|
||||
WorkSchedule: '',
|
||||
WorkScheduleOther: '',
|
||||
|
||||
+9
-24
@@ -3,7 +3,6 @@ import {
|
||||
CollapseSection,
|
||||
FormField,
|
||||
TextInput,
|
||||
TextArea,
|
||||
MoneyInput,
|
||||
Toggle,
|
||||
Select,
|
||||
@@ -40,28 +39,14 @@ export const ConditionsSection: React.FC<ISectionProps> = ({
|
||||
onChange={(v) => set("RateAfterProbation", v)}
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.3 Премии" htmlFor="Awards" full>
|
||||
<TextArea
|
||||
id="Awards"
|
||||
value={data.Awards}
|
||||
onChange={(v) => set("Awards", v)}
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.4 Бонусы" htmlFor="Bonuses" full>
|
||||
<TextArea
|
||||
id="Bonuses"
|
||||
value={data.Bonuses}
|
||||
onChange={(v) => set("Bonuses", v)}
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.5 Сдельная оплата труда">
|
||||
<FormField label="5.3 Сдельная оплата труда">
|
||||
<Toggle
|
||||
checked={data.PieceworkPay}
|
||||
onChange={(v) => set("PieceworkPay", v)}
|
||||
onLabel="Да"
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.6 График работы" htmlFor="WorkSchedule">
|
||||
<FormField label="5.4 График работы" htmlFor="WorkSchedule">
|
||||
<Select
|
||||
id="WorkSchedule"
|
||||
value={data.WorkSchedule}
|
||||
@@ -82,7 +67,7 @@ export const ConditionsSection: React.FC<ISectionProps> = ({
|
||||
/>
|
||||
</FormField>
|
||||
)}
|
||||
<FormField label="5.7 Время работы" htmlFor="WorkHours">
|
||||
<FormField label="5.5 Время работы" htmlFor="WorkHours">
|
||||
<Select
|
||||
id="WorkHours"
|
||||
value={data.WorkHours}
|
||||
@@ -103,14 +88,14 @@ export const ConditionsSection: React.FC<ISectionProps> = ({
|
||||
/>
|
||||
</FormField>
|
||||
)}
|
||||
<FormField label="5.8 Материальная ответственность (строительные площадки, склады)">
|
||||
<FormField label="5.6 Материальная ответственность (строительные площадки, склады)">
|
||||
<Toggle
|
||||
checked={data.MaterialResponsibility}
|
||||
onChange={(v) => set("MaterialResponsibility", v)}
|
||||
onLabel="Да"
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.9 Обеспечение рабочего места" full>
|
||||
<FormField label="5.7 Обеспечение рабочего места" full>
|
||||
<MultiChoiceField
|
||||
value={data.WorkplaceProvision}
|
||||
onChange={(v) => set("WorkplaceProvision", v)}
|
||||
@@ -119,14 +104,14 @@ export const ConditionsSection: React.FC<ISectionProps> = ({
|
||||
placeholder="Выберите категорию"
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.10 Охватывается реферальной программой">
|
||||
<FormField label="5.8 Охватывается реферальной программой">
|
||||
<Toggle
|
||||
checked={data.ReferralProgram}
|
||||
onChange={(v) => set("ReferralProgram", v)}
|
||||
onLabel="Да"
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.11 Предполагаемый наставник">
|
||||
<FormField label="5.9 Предполагаемый наставник">
|
||||
<PeopleField
|
||||
context={context}
|
||||
value={data.ProposedMentor}
|
||||
@@ -134,7 +119,7 @@ export const ConditionsSection: React.FC<ISectionProps> = ({
|
||||
placeholder={PERSON_PLACEHOLDER}
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.12 Непосредственный руководитель">
|
||||
<FormField label="5.10 Непосредственный руководитель">
|
||||
<PeopleField
|
||||
context={context}
|
||||
value={data.DirectManager}
|
||||
@@ -142,7 +127,7 @@ export const ConditionsSection: React.FC<ISectionProps> = ({
|
||||
placeholder={PERSON_PLACEHOLDER}
|
||||
/>
|
||||
</FormField>
|
||||
<FormField label="5.13 Кто принимает решение о приеме (собеседования)" full>
|
||||
<FormField label="5.11 Кто принимает решение о приеме (собеседования)" full>
|
||||
<PeopleFieldMulti
|
||||
context={context}
|
||||
value={data.HiringDecisionMaker}
|
||||
|
||||
Reference in New Issue
Block a user