diff --git a/src/api/calculate.js b/src/api/calculate.js index 0304ff4..76065bb 100644 --- a/src/api/calculate.js +++ b/src/api/calculate.js @@ -1,7 +1,7 @@ import Vue from 'vue'; -async function getCalculateCreator(startDate, endDate) { - return Vue.axios.get('/admin/calculate/creator?startDateStr=' + startDate + '&endDateStr=' + endDate); +async function getCalculateLive(startDate, endDate) { + return Vue.axios.get('/admin/calculate/live?startDateStr=' + startDate + '&endDateStr=' + endDate); } -export { getCalculateCreator } +export { getCalculateLive } diff --git a/src/router/index.js b/src/router/index.js index fe84ba3..bf66be8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -111,9 +111,9 @@ const routes = [ component: () => import(/* webpackChunkName: "coin" */ '../views/Can/CanStatus.vue') }, { - path: '/calculate/creator', - name: 'CalculateCreator', - component: () => import(/* webpackChunkName: "calculate" */ '../views/Calculate/CalculateCreator.vue') + path: '/calculate/live', + name: 'CalculateLive', + component: () => import(/* webpackChunkName: "calculate" */ '../views/Calculate/CalculateLive.vue') }, { path: '/calculate/content', diff --git a/src/views/Calculate/CalculateCreator.vue b/src/views/Calculate/CalculateLive.vue similarity index 96% rename from src/views/Calculate/CalculateCreator.vue rename to src/views/Calculate/CalculateLive.vue index fc57fb5..2c305ae 100644 --- a/src/views/Calculate/CalculateCreator.vue +++ b/src/views/Calculate/CalculateLive.vue @@ -2,7 +2,7 @@
- 크리에이터 정산 + 크리에이터 라이브 정산 @@ -38,7 +38,7 @@ color="#9970ff" dark depressed - @click="getCalculateCreator" + @click="getCalculateLive" > 조회 @@ -289,7 +289,7 @@ export default { this.start_date = firstDate.getFullYear() + '-' + firstDateMonth + '-0' + firstDate.getDate() this.end_date = lastDate.getFullYear() + '-' + lastDateMonth + '-' + lastDate.getDate() - await this.getCalculateCreator() + await this.getCalculateLive() }, methods: { @@ -301,11 +301,11 @@ export default { this.$dialog.notify.success(message) }, - async getCalculateCreator() { + async getCalculateLive() { this.is_loading = true try { - const res = await api.getCalculateCreator(this.start_date, this.end_date) + const res = await api.getCalculateLive(this.start_date, this.end_date) if (res.status === 200 && res.data.success === true) { this.items = res.data.data } else {