Update InteractiveDoc.vue

pull/4126/head
Tuğçe Küçükoğlu 2023-10-16 15:11:16 +03:00
parent 3d1fe21808
commit 3418204383
1 changed files with 6 additions and 6 deletions

View File

@ -148,10 +148,10 @@ export default {
this.formObject[field] = event.formData[field];
}
this.$router.push(this.items[event.pageIndex + 1].to);
this.$router.push(this.items[event.pageIndex + 1].route);
},
prevPage(event) {
this.$router.push(this.items[event.pageIndex - 1].to);
this.$router.push(this.items[event.pageIndex - 1].route);
},
complete() {
this.$toast.add({severity:'success', summary:'Order submitted', detail: 'Dear, ' + this.formObject.firstname + ' ' + this.formObject.lastname + ' your order completed.'});
@ -238,10 +238,10 @@ const nextPage = (event) => {
formObject.value[field] = event.formData[field];
}
router.push(items.value[event.pageIndex + 1].to);
router.push(items.value[event.pageIndex + 1].route);
};
const prevPage = (event) => {
router.push(items.value[event.pageIndex - 1].to);
router.push(items.value[event.pageIndex - 1].route);
};
const complete = () => {
toast.add({severity:'success', summary:'Order submitted', detail: 'Dear, ' + formObject.value.firstname + ' ' + formObject.value.lastname + ' your order completed.'});
@ -574,10 +574,10 @@ export default {
this.formObject[field] = event.formData[field];
}
this.$router.push(this.items[event.pageIndex + 1].to);
this.$router.push(this.items[event.pageIndex + 1].route);
},
prevPage(event) {
this.$router.push(this.items[event.pageIndex - 1].to);
this.$router.push(this.items[event.pageIndex - 1].route);
},
complete() {
this.$toast.add({ severity: 'success', summary: 'Order submitted', detail: 'Dear, ' + this.formObject.firstname + ' ' + this.formObject.lastname + ' your order completed.' });