ทะเบียนประวัติ: แก้ไขUI
This commit is contained in:
parent
24302d01d7
commit
da3e6ee370
6 changed files with 464 additions and 234 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue