WIP Поправил таблицу зубной формулы и доработал формы информации о клиенте
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user