change route for booking details

This commit is contained in:
Omair Saleh
2018-12-21 12:04:56 +08:00
parent 3a34519ffa
commit 30919f2b03
10 changed files with 10 additions and 10 deletions
@@ -247,7 +247,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
this.booking_details = response.data;
this.trackerConfig.term = response.data.term;
@@ -366,7 +366,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
this.booking_details = response.data
this.trackerConfig.term = response.data.term;
@@ -301,7 +301,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
this.booking_details = response.data
this.trackerConfig.term = response.data.term;
@@ -300,7 +300,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
this.booking_details = response.data
this.trackerConfig.term = response.data.term;
@@ -347,7 +347,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
this.booking_details = response.data
this.trackerConfig.term = response.data.term;
@@ -363,7 +363,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
loading.close()
this.booking_details = response.data
@@ -292,7 +292,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
this.booking_details = response.data;
this.trackerConfig.term = response.data.term;
@@ -330,7 +330,7 @@
})
axios
.get('/api/admin/booking/' + this.$route.params.id)
.get('/api/admin/booking/' + this.$route.params.id + '/details')
.then((response) => {
this.booking_details = response.data
this.trackerConfig.term = response.data.term;
@@ -152,7 +152,7 @@ export default {
methods: {
getBooking(){
let $this = this
axios.get("/"+this.url+"/"+ this.$route.params.userId).then(response => {
axios.get("/"+this.url+"/"+ this.$route.params.userId+"/userBookings").then(response => {
this.bookingTable = response.data.data;
$this.makePagination(response.data);
})