add tileUid to StudentHeader, show Tiles only for selection of 1 student, just allow single selection of Mitarbeiter in MitarbeiterHeader

This commit is contained in:
ma0068
2026-02-19 11:57:28 +01:00
parent f2d49e02a7
commit 1e8ec83965
3 changed files with 3 additions and 2 deletions
@@ -269,7 +269,7 @@ export default {
</h5>
</div>
<div class="col-md-1 d-flex flex-column align-items-end justify-content-start ms-auto">
<div v-if="headerData.length == 1" class="col-md-1 d-flex flex-column align-items-end justify-content-start ms-auto">
<div class="d-flex py-1">
<div class="px-2" style="min-width: 100px;">
<slot name="issues"></slot>
@@ -97,6 +97,7 @@ export default {
@reload="reloadList"
fotoEditable
>
<template #uid>{{students[0].uid}}</template>
<template #titleAlphaTile>PersID</template>
<template #valueAlphaTile>{{tile_PersId}}</template>
<template #titleBetaTile>MatrNr</template>
@@ -66,7 +66,7 @@ export default {
persistenceID: 'core-mitarbeiter-2026021701',
footerElement: '<div>&sum; <span id="search_count"></span> / <span id="total_count"></span></div>',
selectableRowsRangeMode: 'click',
selectableRows: true,
selectableRows: 1,
},
tabulatorEvents: [
{