anrechnungen notiz layout cleanup, use tabulator layout fitDataStretchFrozen

This commit is contained in:
Harald Bamberger
2025-07-07 16:21:04 +02:00
parent e4fc936991
commit 3f9564b686
4 changed files with 17 additions and 19 deletions
+11 -13
View File
@@ -173,12 +173,12 @@ export default {
},
frozen: true
}],
layout: 'fitColumns',
layout: 'fitDataStretchFrozen',
layoutColumnsOnNewData: false,
responsiveLayout: "collapse",
height: '200',
selectableRangeMode: 'click',
selectable: true,
//responsiveLayout: "collapse",
maxHeight: '200px',
//selectableRangeMode: 'click',
//selectable: true,
index: 'notiz_id',
persistenceID: 'core-notiz'
},
@@ -576,16 +576,14 @@ export default {
<form-form ref="formNotiz" @submit.prevent class="row">
<div class="pt-2">
<div class="row mb-3">
<div class="col-sm-7">
<span class="small">[{{notizData.typeId}}]</span>
</div>
</div>
<div class="row mb-3">
<div class="row mt-4 mb-1">
<div class="col-sm-7">
<p v-if="notizData.statusNew" class="fw-bold"> {{$p.t('notiz','notiz_new')}}</p>
<p v-else class="fw-bold">{{$p.t('notiz','notiz_edit')}}</p>
<p>
<span v-if="notizData.statusNew" class="fw-bold">{{$p.t('notiz','notiz_new')}}</span>
<span v-else class="fw-bold">{{$p.t('notiz','notiz_edit')}}</span>
<span class="small"> [{{notizData.typeId}}]</span>
</p>
</div>
</div>
@@ -306,7 +306,7 @@ export default {
template: `
<div class="stv-details-tab_exemptions h-100 pb-3">
<bs-modal ref="anrechnungsnotizModal" dialog-class="modal-dialog-scrollable modal-xl">
<bs-modal ref="anrechnungsnotizModal" dialog-class="modal-dialog-scrollable modal-xl" body-class="p-0">
<template #title>
<h5>
@@ -315,7 +315,7 @@ export default {
</h5>
</template>
<div v-if="showNotizen" class="border p-3 overflow-auto" style="height: 800px;">
<div v-if="showNotizen" class="border p-3 overflow-auto" style="height: 825px;">
<core-notiz
:endpoint="endpoint"
ref="formNotes"
@@ -327,9 +327,9 @@ export default {
:visibleColumns="['titel','text','verfasser','bearbeiter','dokumente']"
@reload="handleReload"
>
</core-notiz>
</bs-modal>
</core-notiz>
</div>
</bs-modal>
<template v-if="config.editableAnrechnungen" >
<core-filter-cmpt
@@ -146,7 +146,7 @@ export default {
frozen: true
},
],
layout: 'fitColumns',
layout: 'fitDataStretchFrozen',
layoutColumnsOnNewData: false,
height: 300,
selectable: true,
@@ -162,7 +162,7 @@ export default {
frozen: true
},
],
layout: 'fitColumns',
layout: 'fitDataStretchFrozen',
layoutColumnsOnNewData: false,
height: 300,
selectable: true,