[WIP] Добавил форму данных обследования
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
)
|
||||
.button
|
||||
q-btn(
|
||||
icon="app:basket",
|
||||
icon="app:basket",
|
||||
size="20px",
|
||||
:style="{width: '40px', height: '40px', color: 'var(--font-grey-color)'}",
|
||||
padding="0"
|
||||
@@ -25,13 +25,12 @@
|
||||
medical-form-tag(
|
||||
v-if="inspection || fillInspection",
|
||||
:list="list",
|
||||
:inspection="inspection",
|
||||
:fill-inspection="fillInspection"
|
||||
:open-card="openCard",
|
||||
:close-card="closeCard"
|
||||
)
|
||||
div(v-for="form in protocolForms", :key="form.key")
|
||||
component(v-bind:is="form.component", :data="form")
|
||||
component(v-bind:is="form.component", :data="form" :fill-inspection="fillInspection")
|
||||
.protocol.flex.justify-between.p-6(v-if="fillInspection")
|
||||
.flex.h-fit.w-fit.gap-2
|
||||
base-button.text-base.font-semibold(outlined, :size="40") Отменить
|
||||
@@ -43,7 +42,7 @@
|
||||
|
||||
<script>
|
||||
import MedicalFormTag from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/MedicalFormTag.vue";
|
||||
import MedicalFormData from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/MedicalFormData.vue";
|
||||
import DataForm from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/DataForm.vue";
|
||||
import BaseButton from "@/components/base/BaseButton.vue";
|
||||
import IndexForm from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/IndexForm.vue";
|
||||
import { protocolForms } from "@/pages/newMedicalCard/utils/medicalConfig.js";
|
||||
@@ -52,7 +51,7 @@ export default {
|
||||
name: "MedicalProtocolsInspection",
|
||||
components: {
|
||||
MedicalFormTag,
|
||||
MedicalFormData,
|
||||
DataForm,
|
||||
BaseButton,
|
||||
IndexForm,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user