mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-20 00:42:16 +00:00
implemented subscription page
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
axios.get('/api/subscription/plans/' + this.$route.params.id)
|
||||
axios.get('/api/subscriptions/plans/' + this.$route.params.id)
|
||||
.then(response => {
|
||||
this.plan = response.data.data
|
||||
})
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
this.isSendingRequest = true
|
||||
|
||||
axios
|
||||
.post('/api/subscription/plans/' + this.$route.params.id,
|
||||
.post('/api/subscriptions/plans/' + this.$route.params.id,
|
||||
{
|
||||
data: {
|
||||
name: this.planName
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<PageTab :is-loading="isLoading">
|
||||
<DatatableWrapper @data="subscribers = $event" @init="isLoading = false" :api="`/api/subscription/plans/${this.$route.params.id}/subscribers`" :paginator="true" :columns="columns" class="card shadow-card">
|
||||
<DatatableWrapper @data="subscribers = $event" @init="isLoading = false" :api="`/api/subscriptions/plans/${this.$route.params.id}/subscribers`" :paginator="true" :columns="columns" class="card shadow-card">
|
||||
|
||||
<!--Table data content-->
|
||||
<template slot-scope="{ row }">
|
||||
|
||||
Reference in New Issue
Block a user