WIP Сделала шаблон документов

This commit is contained in:
Daria Golova
2023-04-13 17:40:46 +03:00
parent 62d5dca70e
commit c60b46171a
8 changed files with 165 additions and 10 deletions

View File

@@ -246,3 +246,74 @@ export const routesDictionary = {
"/calendar": "Календарь",
"/medical-card": "Медкарта",
};
export const documentForm = [
{
dataLabel: "Паспорт",
dataKey: "passport",
fields: [
{
key: "series",
label: "Серия",
type: "text",
},
{
key: "number",
label: "Номер",
type: "text",
},
{
key: "issued_by_org",
label: "Кем выдан",
type: "text",
},
{
key: "issued_by_org_code",
label: "Код подраздел.",
type: "text",
},
{
key: "issued_by_date",
label: "Дата выдачи",
type: "date",
},
{
key: "photo",
label: "Фото паспорта",
type: "photo",
},
],
},
{
dataLabel: "СНИЛС",
dataKey: "insuranceNumber",
fields: [
{
key: "insurance_number",
label: "Номер СНИЛС",
type: "text",
},
{
key: "photo_insurance_number",
label: "Фото СНИЛС",
type: "photo",
},
],
},
{
dataLabel: "ИНН",
dataKey: "taxIdentificationNumber",
fields: [
{
key: "tax_identification_number",
label: "Номер ИНН",
type: "text",
},
{
key: "photo_tax_identification_number",
label: "Фото ИНН",
type: "photo",
},
],
},
];