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 @@
+
+ .form-wrapper.relative.h-fit.rounded
+ transition(name="medical-form", mode="out-in")
+ .loader.absolute.flex.items-center.justify-center.w-full.h-full.rounded(v-if="isLoadingData")
+ base-loader
+ .flex.flex-col.h-full.gap-25px.m-6
+ .flex.w-fit.gap-11px.items-center
+ span.font-bold.text-base {{title}}
+ q-icon.edit-button.text-lg.cursor-pointer(name="app:edit" v-if="!thisEdit" @click="clickEditForm" size="20")
+ slot
+ .flex.h-fit.w-fit.gap-2
+ base-button.text-base.font-semibold(v-if="thisEdit" outlined :size="40" @click="cancelEdit") Отменить
+ base-button.text-base.font-semibold(v-if="thisEdit" :size="40" @click="saveChangeForm") Сохранить изменения
+
+
+
+
+
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: {