diff --git a/src/pages/newCalendar/components/HeaderRecordForm.vue b/src/pages/newCalendar/components/HeaderRecordForm.vue
index f815467..26a4c91 100644
--- a/src/pages/newCalendar/components/HeaderRecordForm.vue
+++ b/src/pages/newCalendar/components/HeaderRecordForm.vue
@@ -46,13 +46,20 @@
.flex.gap-x-1
.name.flex.items-center.px-4.pt-2.pb-1.gap-x-2.rounded-md
.photo.flex.h-10.w-10.items-center.justify-center
- q-icon.icon(name="app:noname", size="24px")
+ img.w-10.h-10.rounded-full(v-if="patient", :src="patient.avatar")
+ q-icon.icon(v-else, name="app:noname", size="24px")
.flex.flex-col.font-medium
- .dark-blue Имя Фамилия
- .grey-color.text-xsx.rounded-md Дата
+ .dark-blue {{patient ? trimPatientName(patient.last_name, patient.first_name, patient.patronymic) : "Имя Фамилия"}}
+ .grey-color.text-xsx.rounded-md {{patient ? patient.birthday : "Дата"}}
.change.flex.items-center.rounded-md
- q-btn(dense, padding="18px 4px")
+ q-btn(dense, padding="18px 4px", @click="isShowMedcards = true")
q-icon.icon(name="app:folder", size="20px")
+ base-modal(v-model="isShowMedcards", title="Медкарты", modal-padding)
+ medcards-modal(
+ :save-medcard="saveMedcard",
+ :close-medcards="closeModalMedcards",
+ :patients="patients"
+ )
diff --git a/src/pages/newCalendar/components/MedcardsModal.vue b/src/pages/newCalendar/components/MedcardsModal.vue
new file mode 100644
index 0000000..a4932b8
--- /dev/null
+++ b/src/pages/newCalendar/components/MedcardsModal.vue
@@ -0,0 +1,141 @@
+
+ .wrapper.flex.flex-col.pt-6.dark-blue.font-medium
+ .flex.flex-col.gap-y-4
+ .flex.justify-between.w-full
+ base-input.search(
+ placeholder="Поиск",
+ :width="422",
+ iconLeft,
+ size="M"
+ )
+ template(v-slot:iconLeft)
+ q-icon(name="app:search", size="20px", style="color: var(--font-grey-color)")
+ q-btn.ml-2(
+ @click="sortPerson(patients)",
+ :style="{width: '45px', height: '40px', border: '1px solid var(--gray-secondary)'}",
+ padding="0px",
+ :class="sortingClass"
+ )
+ calendar-sidebar-svg(name-svg="sort", :active="sort")
+ .medcards-wrapper.flex.flex-col.overflow-auto
+ .medcard.flex.items-center.cursor-pointer(
+ v-for="patient in patients",
+ @click="selectMedcard(patient)"
+ )
+ .flex.justify-between.w-full.items-center
+ .info-block.flex.justify-between.gap-x-2
+ img.h-10.w-10.object-cover.rounded-full(:src="patient.avatar")
+ .flex.flex-col.gap-y-1
+ .text-m {{trimPatientName(patient.last_name, patient.first_name, patient.patronymic)}}
+ .grey-color.text-smm {{patient.birthday}}
+ q-icon.ok-icon(name="app:ok", v-if="patient.check" size="24px")
+ .footer.flex.gap-2
+ base-button(type="secondary", label="Отменить", width="125px", @click="closeMedcards")
+ base-button(
+ width="132px",
+ label="Сохранить",
+ @click="saveMedcard(selectedMedcard)",
+ :disabled="!selectedMedcard"
+ )
+
+
+
+
+