refs #6420 scss fix
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-01-08 14:17:40 +01:00
parent 651cc6b1ee
commit 63b1c53ca9
2 changed files with 14 additions and 19 deletions

View File

@ -115,6 +115,11 @@ async function insert() {
<style lang="scss" scoped> <style lang="scss" scoped>
.q-card { .q-card {
max-width: 80em; max-width: 80em;
&__section {
overflow-x: hidden;
word-wrap: break-word;
}
} }
.q-dialog .q-card { .q-dialog .q-card {
width: 400px; width: 400px;

View File

@ -36,15 +36,6 @@ const claimDmsFilter = ref({
], ],
where: { claimFk: entityId.value }, where: { claimFk: entityId.value },
}); });
const claimObservationsRef = ref();
const claimObservationsFilter = ref({
include: [
{
relation: 'observation',
},
],
where: { claimFk: entityId.value },
});
onMounted(async () => { onMounted(async () => {
salixUrl.value = await getUrl(''); salixUrl.value = await getUrl('');
@ -167,11 +158,6 @@ function setClaimDms(data) {
}); });
} }
const claimObservations = ref([]);
function setClaimObservations(data) {
claimObservations.value = [];
}
function openDialog(dmsId) { function openDialog(dmsId) {
multimediaSlide.value = dmsId; multimediaSlide.value = dmsId;
multimediaDialog.value = true; multimediaDialog.value = true;
@ -225,15 +211,12 @@ function openDialog(dmsId) {
</template> </template>
</VnLv> </VnLv>
</QCard> </QCard>
<QCard class="vn-max"> <QCard class="vn-max claimVnNotes">
<a class="header" :href="`#/claim/${entityId}/notes`"> <a class="header" :href="`#/claim/${entityId}/notes`">
{{ t('claim.summary.notes') }} {{ t('claim.summary.notes') }}
<QIcon name="open_in_new" color="primary" /> <QIcon name="open_in_new" color="primary" />
</a> </a>
<ClaimNotes :add-note="false" style="height: 600px" /> <ClaimNotes :add-note="false" style="height: 350px" order="created ASC" />
<!-- <QVirtualScroll :items="observations" separator
>
</QVirtualScroll> -->
</QCard> </QCard>
<QCard class="vn-max" v-if="salesClaimed.length > 0"> <QCard class="vn-max" v-if="salesClaimed.length > 0">
<a class="header" :href="`#/claim/${entityId}/notes`"> <a class="header" :href="`#/claim/${entityId}/notes`">
@ -386,6 +369,13 @@ function openDialog(dmsId) {
</template> </template>
</CardSummary> </CardSummary>
</template> </template>
<style lang="scss">
.claimVnNotes {
.q-card {
max-width: 100%;
}
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.q-dialog__inner--minimized > div { .q-dialog__inner--minimized > div {
max-width: 80%; max-width: 80%;