[WIP] Добавил хедер и формы Состояния здоровья

This commit is contained in:
DwCay
2023-06-23 19:36:16 +03:00
parent 7586952066
commit a1af8d196f
6 changed files with 123 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
<template lang="pug">
medical-form-wrapper(:title="`${data?.year} год`")
.flex.flex-col.comments.rounded.py-3.px-4
.flex(v-for="comment in data.comments")
base-input.comment.w-full(
v-model="comment.comment",
borderless,
dense,
)
</template>
<script>
import MedicalFormWrapper from "@/pages/newMedicalCard/components/MedicalFormWrapper.vue";
import BaseInput from "@/components/base/BaseInput";
export default {
name: "HealthStateForm",
components: { MedicalFormWrapper, BaseInput },
props: {
data: Object,
},
};
</script>
<style lang="sass" scoped>
.comments
border: 1px solid var(--border-light-grey-color)
</style>