[WIP] Добавил отображение данных с бэка на форме страховки
This commit is contained in:
@@ -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": "Клиенты",
|
||||
|
||||
Reference in New Issue
Block a user