Merge branch 'ASTRA-73' into 'master'

[WIP] Фикс кнопки

See merge request andrusyakka/urban-couscous!352
This commit is contained in:
Vasiliy Gavrilin
2023-05-05 12:45:18 +00:00

View File

@@ -23,19 +23,15 @@
:is-edit="item?.change", :is-edit="item?.change",
:open-edit="()=>openCard(index)", :open-edit="()=>openCard(index)",
:cancel="()=>closeCard(index)" :cancel="()=>closeCard(index)"
:tag="fillInspection" :tag="fillInspection || item?.change"
) )
.protocol-body.flex.flex-col .protocol-body.flex.flex-col
.flex.items-center.gap-x-11px(:class="{'open-header': item.change || fillInspection}") .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.gap-x-4(:style="{height: item.change || fillInspection ? '300px' : ''}")
.flex.flex-col.gap-y-1(:class="{'open-textarea': item.change || fillInspection}") .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-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}} .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") .filter.flex.flex-col.gap-y-4(v-if="item.change || fillInspection")
.flex.gap-x-2 .flex.gap-x-2
base-input( base-input(