Создал компонент отображения детальной информации, конфиг для него и добавил данные в мок

This commit is contained in:
DwCay
2022-10-20 23:52:48 +03:00
parent 96b071294d
commit 7f03de6155
7 changed files with 290 additions and 49 deletions

View File

@@ -0,0 +1,23 @@
<template lang="pug">
.w-full.h-fit.pt-4.flex.gap-x-4(class="px-[52px] pb-[30px]")
client-detail-info-section(:section-info="dataDetail.pass" section="pass")
.flex.flex-col.gap-y-2
client-detail-info-section(:section-info="dataDetail.snils" section="snils" )
client-detail-info-section(:section-info="dataDetail.inn" section="inn" )
.flex.flex-col.gap-y-2
client-detail-info-section(:section-info="dataDetail.birthday" section="birthday")
client-detail-info-section(:section-info="dataDetail.addresses" section="addresses")
</template>
<script>
import ClientDetailInfoSection from "@/pages/clients/components/ClientDetailInfoSection";
export default {
name: "ClientDetailInfoWrapper",
components: { ClientDetailInfoSection },
props: {
dataDetail: Object,
},
};
</script>
<style lang="sass" scoped></style>