[WIP] Фикс кнопки
This commit is contained in:
@@ -23,19 +23,15 @@
|
||||
:is-edit="item?.change",
|
||||
:open-edit="()=>openCard(index)",
|
||||
:cancel="()=>closeCard(index)"
|
||||
:tag="fillInspection"
|
||||
:tag="fillInspection || item?.change"
|
||||
)
|
||||
.protocol-body.flex.flex-col
|
||||
.flex.items-center.gap-x-11px(:class="{'open-header': item.change || fillInspection}")
|
||||
.flex.items-center.h-5(v-if="item.change", :style="{color: 'var(--btn-blue-color)'}")
|
||||
q-btn(flat, no-caps)
|
||||
q-icon(left, name="app:plus", size="10px")
|
||||
span.text-smm.font-medium Создать шаблон
|
||||
.flex.gap-x-4(:style="{height: item.change || fillInspection ? '300px' : ''}")
|
||||
.flex.flex-col.gap-y-1(:class="{'open-textarea': item.change || fillInspection}")
|
||||
.tag-wrap.flex.gap-x-1.gap-y-1(v-if="!fillInspection")
|
||||
.tag.flex.items-center.px-3.cursor-pointer(v-for="tag in item.tags" :key="tag.id") {{tag.label}}
|
||||
base-input.px-3(v-if="item.change || fillInspection" type="textarea", autogrow, borderless, placeholder="Введите жалобу...")
|
||||
base-input.px-3(v-if="item.change || fillInspection", type="textarea", autogrow, borderless, placeholder="Введите жалобу...")
|
||||
.filter.flex.flex-col.gap-y-4(v-if="item.change || fillInspection")
|
||||
.flex.gap-x-2
|
||||
base-input(
|
||||
|
||||
Reference in New Issue
Block a user