ทะเบียนประวัติ: แก้ไขUI

This commit is contained in:
Oat 2024-03-05 15:53:38 +07:00
parent 24302d01d7
commit da3e6ee370
6 changed files with 464 additions and 234 deletions

View file

@ -178,7 +178,7 @@ const visibleColumns = ref<string[]>([
v-model="mode"
dense
class="no-shadow"
toggle-color="grey-5"
toggle-color="grey-4"
:options="[
{ value: 'table', slot: 'table' },
{ value: 'card', slot: 'card' },
@ -205,11 +205,11 @@ const visibleColumns = ref<string[]>([
</div>
<TableView
v-if="mode === 'table'"
:columns="columns"
v-model:visibleColumns="visibleColumns"
v-model:mode="mode"
/>
<CardView v-if="mode === 'card'" />
<!-- <CardView v-if="mode === 'card'" /> -->
</div>
</template>