aboutsummaryrefslogtreecommitdiff
path: root/resources/js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js')
-rw-r--r--resources/js/components/reservation.vue19
1 files changed, 15 insertions, 4 deletions
diff --git a/resources/js/components/reservation.vue b/resources/js/components/reservation.vue
index aa8b209..d733c9d 100644
--- a/resources/js/components/reservation.vue
+++ b/resources/js/components/reservation.vue
@@ -11,11 +11,11 @@
<td><input type="text" v-model="reservation.modes"></td>
<td><input type="text" v-model="reservation.operatorName"></td>
<td><input type="text" v-model="reservation.operatorEmail"></td>
- <td><input type="text" v-model="reservation.operatorCall"></td>
+ <td><input type="text" v-model="reservation.operatorPhone"></td>
<td>
- <button class="btn btn-primary mr-2">Update</button>
- <button class="btn btn-warning mr-2">Restore</button>
- <button class="btn btn-danger">Delete</button>
+ <button class="btn btn-primary mr-2" @click="updateRow">Update</button>
+ <button class="btn btn-warning mr-2" @click="restoreRow">Restore</button>
+ <button class="btn btn-danger" @click="deleteRow">Delete</button>
</td>
</tr>
</template>
@@ -27,6 +27,17 @@ export default {
return {
reservation: this.$store.getters.getData[this.reservationIndex]
}
+ },
+ methods: {
+ updateRow() {
+
+ },
+ restoreRow() {
+
+ },
+ deleteRow() {
+
+ }
}
}
</script>