| @@ -1,6 +1,7 @@ | |||||
| <template> | <template> | ||||
| <div> | <div> | ||||
| <v-data-table class="" :headers="headers" :items="items" | <v-data-table class="" :headers="headers" :items="items" | ||||
| disable-sort | |||||
| fixed-header | fixed-header | ||||
| :footer-props="{'items-per-page-options': [30, 40, 50, 60]}" | :footer-props="{'items-per-page-options': [30, 40, 50, 60]}" | ||||
| :items-per-page="30"> | :items-per-page="30"> | ||||
| @@ -244,18 +245,20 @@ | |||||
| </v-toolbar> | </v-toolbar> | ||||
| </template> | </template> | ||||
| <template v-slot:item.actions="{ item }"> | <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> | </template> | ||||
| </v-data-table> | </v-data-table> | ||||
| <!--修改對話--> | <!--修改對話--> | ||||