Merge branch 'ASTRA-81' into 'master'

[WIP] Фикс багов

See merge request andrusyakka/urban-couscous!381
This commit is contained in:
Vasiliy Gavrilin
2023-05-22 08:34:36 +00:00
2 changed files with 11 additions and 2 deletions

View File

@@ -188,7 +188,10 @@ export default {
fillInspection: { fillInspection: {
immediate: true, immediate: true,
handler(newVal) { handler(newVal) {
if (newVal) this.change = false; if (newVal) {
this.change = false;
this.data.results.files.forEach((e) => (e.data = []));
}
}, },
}, },
}, },
@@ -201,6 +204,11 @@ export default {
<style lang="sass" scoped> <style lang="sass" scoped>
#upload :deep(.q-field__native) #upload :deep(.q-field__native)
cursor: pointer cursor: pointer
height: 100%
padding: 0
#upload :deep(.q-field__control)
height: 100%
.changed .changed
height: 300px height: 300px

View File

@@ -4,7 +4,8 @@
:is-edit="change", :is-edit="change",
:open-edit="openCard", :open-edit="openCard",
:cancel="closeCard", :cancel="closeCard",
:tag="fillInspection || change" :tag="fillInspection || change",
template
) )
.disease-body.flex .disease-body.flex
.flex.flex-col.gap-y-17px.w-full(v-if="fillInspection || change") .flex.flex-col.gap-y-17px.w-full(v-if="fillInspection || change")