diff --git a/src/pages/newMedicalCard/components/MedicalProtocolsInspection.vue b/src/pages/newMedicalCard/components/MedicalProtocolsInspection.vue
index d404ef1..d3fc2ff 100644
--- a/src/pages/newMedicalCard/components/MedicalProtocolsInspection.vue
+++ b/src/pages/newMedicalCard/components/MedicalProtocolsInspection.vue
@@ -1,42 +1,127 @@
.protocols-wrapper.h-full.flex.flex-col.gap-y-2
- .protocol.flex.justify-between.p-6
- .flex.font-bold.text-6xl Первичный осмотр 2024
- .flex.gap-x-4
- .icon.flex.rounded.w-10.h-10.items-center.justify-center
- q-icon(
- name="print",
- size="20px",
- style="color: var(--font-grey-color)"
- )
- .icon.flex.rounded.w-10.h-10.items-center.justify-center
- q-icon(
- name="app:basket",
- size="20px",
- style="color: var(--font-grey-color)"
- )
- //- .protocol-body
- .protocol.flex.justify-between.p-6
- .flex.h-fit.w-fit.gap-2
- base-button.text-base.font-semibold(outlined, :size="40") Отменить
- base-button.text-base.font-semibold(:size="40") Сохранить
- .flex.items-center.gap-x-3(:style="{color: 'var(--font-grey-color)'}")
- .flex.font-semibold.text-7xl 0%
- .flex.font-medium.text-smm.w-20 заполнение осмотра
+ .flex.font-bold.text-6xl.items-center.h-full.justify-center(
+ v-if="!inspection"
+ :style="{color: 'var(--font-grey-color)'}"
+ ) Выберите осмотр
+ .flex.flex-col.gap-y-2(v-else)
+ .protocol.flex.justify-between.p-6(v-for="elem in list")
+ .flex.font-bold.text-6xl {{elem.label}}
+ .flex.gap-x-4
+ .icon.flex.rounded.w-10.h-10.items-center.justify-center
+ q-icon(
+ name="print",
+ size="20px",
+ style="color: var(--font-grey-color)"
+ )
+ .icon.flex.rounded.w-10.h-10.items-center.justify-center
+ q-icon(
+ name="app:basket",
+ size="20px",
+ style="color: var(--font-grey-color)"
+ )
+ .protocol-body.flex.flex-col.p-6(v-for="item in list[0].data")
+ .header.flex.justify-between.items-center
+ .flex.font-bold.text-xm {{item.name}}
+ .flex.items-center.h-5(:style="{color: 'var(--btn-blue-color)'}")
+ q-btn(flat, no-caps)
+ q-icon(left, name="app:plus", size="10px")
+ span.text-smm.font-medium Создать шаблон
+ .flex.gap-x-4(:style="{height: '300px'}")
+ .textarea.flex.flex-col.gap-y-1
+ .tag-wrap.flex.gap-x-1.gap-y-1
+ .tag.flex.items-center.px-3.cursor-pointer(v-for="tag in item.tags") {{tag.label}}
+ base-input.px-3(type="textarea", autogrow, borderless placeholder="Введите жалобу...")
+ .filter.flex
+ .flex.gap-x-2
+ base-input(
+ placeholder="Поиск",
+ outlined,
+ :width="232",
+ iconLeft
+ )
+ q-icon(
+ name="app:icon-search",
+ size="20px",
+ style="color: var(--font-grey-color)"
+ )
+ .button
+ q-btn(
+ icon="filter_alt"
+ :style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
+ padding="0"
+ )
+ .button
+ q-btn(
+ icon="app:sort-number"
+ :style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
+ padding="0"
+ )
+ .protocol.flex.justify-between.p-6
+ .flex.h-fit.w-fit.gap-2
+ base-button.text-base.font-semibold(outlined, :size="40") Отменить
+ base-button.text-base.font-semibold(:size="40") Сохранить
+ .flex.items-center.gap-x-3(:style="{color: 'var(--font-grey-color)'}")
+ .flex.font-semibold.text-7xl 0%
+ .flex.font-medium.text-smm.w-20 заполнение осмотра
diff --git a/src/pages/newMedicalCard/components/MedicalProtocolsList.vue b/src/pages/newMedicalCard/components/MedicalProtocolsList.vue
index b026cfa..49f9d20 100644
--- a/src/pages/newMedicalCard/components/MedicalProtocolsList.vue
+++ b/src/pages/newMedicalCard/components/MedicalProtocolsList.vue
@@ -24,7 +24,7 @@
.flex.py-4.w-full.color-grey.text-base.justify-center
span.opacity-50 Осмотров: 5
.flex.gap-y-2
- .w-full.border.rounded.border-grey.p-4
+ .w-full.border.rounded.border-grey.p-4(@click="openInspection")
.flex.justify-between.mb-7
.flex.flex-col.gap-y-1
span.text-xl.font-bold.color-blue.line-height 2023 г.
@@ -42,6 +42,7 @@ import BaseSelect from "@/components/base/BaseSelect.vue";
export default {
name: "MedicalProtocolsList",
components: { BaseSelect },
+ props: { openInspection: Function },
data() {
return {
sorting: false,
diff --git a/src/pages/newMedicalCard/components/MedicalProtocolsWrapper.vue b/src/pages/newMedicalCard/components/MedicalProtocolsWrapper.vue
index 83bf1c7..41adec4 100644
--- a/src/pages/newMedicalCard/components/MedicalProtocolsWrapper.vue
+++ b/src/pages/newMedicalCard/components/MedicalProtocolsWrapper.vue
@@ -1,7 +1,7 @@
.wrapper.flex.gap-x-2
- medical-protocols-list
- medical-protocols-inspection
+ medical-protocols-list(:open-inspection="openInspection")
+ medical-protocols-inspection(:inspection="inspection")