WIP Ренейминг компонентов
This commit is contained in:
26
src/pages/newMedicalCard/components/MedicalBaseInfo.vue
Normal file
26
src/pages/newMedicalCard/components/MedicalBaseInfo.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template lang="pug">
|
||||
.base-info-wrapper.w-full.flex.gap-x-2
|
||||
medical-sidebar(v-model="currentMenuItem")
|
||||
component(
|
||||
v-if="currentMenuItem",
|
||||
v-bind:is="currentMenuItem"
|
||||
)
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MedicalSidebar from "@/pages/newMedicalCard/components/MedicalSidebar.vue";
|
||||
import MedicalBasicDataWrapper from "@/pages/newMedicalCard/components/MedicalBasicDataWrapper.vue";
|
||||
export default {
|
||||
name: "MedicalBaseInfo",
|
||||
components: { MedicalSidebar, MedicalBasicDataWrapper },
|
||||
data() {
|
||||
return {
|
||||
currentMenuItem: "MedicalBasicDataWrapper",
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="sass" scoped>
|
||||
.base-info-wrapper
|
||||
height: 79.7%
|
||||
</style>
|
||||
Reference in New Issue
Block a user