From 3ea002a5e5b85609280276176fabae551fa25cd3 Mon Sep 17 00:00:00 2001 From: DwCay Date: Thu, 30 Mar 2023 19:41:41 +0300 Subject: [PATCH] =?UTF-8?q?WIP=20=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=B2=D1=80=D0=B0=D0=BF=D0=BF=D0=B5=D1=80=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D1=84=D0=BE=D1=80=D0=BC=20=D0=BC=D0=B5=D0=B4=20=D0=BA=D0=B0?= =?UTF-8?q?=D1=80=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/BasicDataForm.vue | 8 +++ .../components/MedicalFormWrapper.vue | 69 +++++++++++++++++++ .../newMedicalCard/utils/configMedical.js | 35 ++++++++++ tailwind.config.js | 1 + 4 files changed, 113 insertions(+) create mode 100644 src/pages/newMedicalCard/components/BasicDataForm.vue create mode 100644 src/pages/newMedicalCard/components/MedicalFormWrapper.vue create mode 100644 src/pages/newMedicalCard/utils/configMedical.js diff --git a/src/pages/newMedicalCard/components/BasicDataForm.vue b/src/pages/newMedicalCard/components/BasicDataForm.vue new file mode 100644 index 0000000..61b61ee --- /dev/null +++ b/src/pages/newMedicalCard/components/BasicDataForm.vue @@ -0,0 +1,8 @@ + + + diff --git a/src/pages/newMedicalCard/components/MedicalFormWrapper.vue b/src/pages/newMedicalCard/components/MedicalFormWrapper.vue new file mode 100644 index 0000000..8ccf8da --- /dev/null +++ b/src/pages/newMedicalCard/components/MedicalFormWrapper.vue @@ -0,0 +1,69 @@ + + + + + diff --git a/src/pages/newMedicalCard/utils/configMedical.js b/src/pages/newMedicalCard/utils/configMedical.js new file mode 100644 index 0000000..dbf3509 --- /dev/null +++ b/src/pages/newMedicalCard/utils/configMedical.js @@ -0,0 +1,35 @@ +export const baseDataForm = [ + { + fieldName: "Личные данные", + fields: [ + { + key: "last_name", + label: "Фамилия", + }, + { + key: "first_name", + label: "Имя", + }, + { + key: "patronymic", + label: "Отчество", + }, + { + key: "patronymic", + label: "Отчество", + }, + { + key: "gender", + label: "Пол", + }, + { + key: "birth_date", + label: "Дата рождения", + }, + { + key: "photo", + label: "Фото", + }, + ], + }, +]; diff --git a/tailwind.config.js b/tailwind.config.js index 961885d..ab60bc1 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -31,6 +31,7 @@ module.exports = { "7px": "7px", "11px": "11px", "30px": "30px", + "25px": "25px", 43: "43px", }, spacing: {