WIP Поправил таблицу зубной формулы и доработал формы информации о клиенте

This commit is contained in:
DwCay
2023-02-22 15:46:26 +03:00
parent 83449a9153
commit af47b06a7c
10 changed files with 116 additions and 28 deletions

View File

@@ -1,10 +1,15 @@
<template lang="pug">
.section-wrapper.flex.flex-col.h-fit.cursor-pointer(:style="{height: `${height}px`}")
.section-header.flex.items-center.justify-between.pl-4.pr-3.py-4.mb-3
.section-wrapper.flex.flex-col.h-fit.cursor-pointer
.section-header.flex.items-center.justify-between.pl-4.pr-3.py-3
span.text-sm.font-semibold.whitespace-normal {{title}}
.flex.flex-col.items-center.gap-y-4.px-4
slot(v-if="!isNoData")
.flex.gap-y-4.px-4.py-3(
:style="{height: `${height}px`}"
v-if="!isNoData"
:class="{'flex-col': !directionRow}"
)
slot
.section-add.flex.justify-center.items-center.cursor-pointer(
:style="{height: `${height}px`}"
v-if="isNoData"
@click="openAddDoc"
) Добавить данные
@@ -17,6 +22,7 @@ export default {
title: String,
height: Number,
data: Object,
directionRow: Boolean,
},
data() {
return {