[WIP] Добавил отображение данных с бэка на форме страховки

This commit is contained in:
megavrilinvv
2023-04-13 17:36:08 +03:00
parent a99cf55200
commit 405ef5ade9
6 changed files with 187 additions and 127 deletions

View File

@@ -181,6 +181,27 @@ export const baseInfoMenu = [
];
export const baseInsuranceForm = [
{
insuranceLabel: "ДМС",
insuranceKey: "insuranceDMS",
fields: [
{
key: "series",
label: "Серия",
type: "text",
},
{
key: "number",
label: "Номер",
type: "text",
},
{
key: "photo",
label: "Фото ДМС",
type: "photo",
},
],
},
{
insuranceLabel: "ОМС",
insuranceKey: "insuranceOMS",
@@ -188,12 +209,12 @@ export const baseInsuranceForm = [
{
key: "series",
label: "Серия",
type: "number",
type: "text",
},
{
key: "number",
label: "Номер",
type: "number",
type: "text",
},
{
key: "photo",
@@ -203,42 +224,22 @@ export const baseInsuranceForm = [
],
},
{
insuranceLabel: "ДМС",
insuranceKey: "insuranceDMS",
insuranceLabel: "Категория льготы",
insuranceKey: "benefit",
discount: "discount",
fields: [
{
key: "series",
label: "Серия",
type: "number",
},
{
key: "number",
label: "Номер",
type: "number",
key: "name",
label: "Категория",
type: "select",
},
{
key: "photo",
label: "Фото ДМС",
label: "Документы",
type: "photo",
},
],
},
// {
// insuranceLabel: "Категория льготы",
// insuranceKey: "benefit",
// fields: [
// {
// key: "benefit",
// label: "Категория",
// type: "text",
// },
// {
// key: "photo",
// label: "Документы",
// type: "photo",
// },
// ],
// },
];
export const routesDictionary = {
"/clients": "Клиенты",