[WIP] Фикс пропсов

This commit is contained in:
megavrilinvv
2023-05-12 18:41:08 +03:00
parent 8907e156ba
commit a51b2b6508
3 changed files with 37 additions and 67 deletions

View File

@@ -25,12 +25,13 @@
medical-form-tag(
v-if="inspection || fillInspection",
:list="list",
:abc="abc",
: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", :fill-inspection="fillInspection")
component(v-bind:is="form.component", :data="form", :fill-inspection="fillInspection", :abc="abc")
.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") Отменить
@@ -102,6 +103,39 @@ export default {
],
},
],
abc: [
"А",
"Б",
"В",
"Г",
"Д",
"Е",
"Ё",
"Ж",
"З",
"И",
"Й",
"К",
"Л",
"М",
"Н",
"О",
"П",
"Р",
"С",
"Т",
"У",
"Ф",
"Х",
"Ц",
"Ч",
"Ш",
"Щ",
"Ы",
"Э",
"Ю",
"Я",
],
};
},
methods: {