mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
change route for booking details
This commit is contained in:
@@ -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);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user