|
|
|
@@ -1,6 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<v-data-table class="" :headers="headers" :items="items" |
|
|
|
disable-sort |
|
|
|
fixed-header |
|
|
|
:footer-props="{'items-per-page-options': [30, 40, 50, 60]}" |
|
|
|
:items-per-page="30"> |
|
|
|
@@ -244,18 +245,20 @@ |
|
|
|
</v-toolbar> |
|
|
|
</template> |
|
|
|
<template v-slot:item.actions="{ item }"> |
|
|
|
<v-btn |
|
|
|
icon |
|
|
|
@click="openDialogModify(item)" |
|
|
|
> |
|
|
|
<v-icon>mdi-pencil</v-icon> |
|
|
|
</v-btn> |
|
|
|
<v-icon |
|
|
|
small |
|
|
|
@click="deleteOne(item)" |
|
|
|
> |
|
|
|
mdi-delete |
|
|
|
</v-icon> |
|
|
|
<div class="d-flex"> |
|
|
|
<v-btn |
|
|
|
icon |
|
|
|
@click="openDialogModify(item)" |
|
|
|
> |
|
|
|
<v-icon>mdi-pencil</v-icon> |
|
|
|
</v-btn> |
|
|
|
<v-icon |
|
|
|
small |
|
|
|
@click="deleteOne(item)" |
|
|
|
> |
|
|
|
mdi-delete |
|
|
|
</v-icon> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</v-data-table> |
|
|
|
<!--修改對話--> |
|
|
|
|