From 9464bf55e0c90c89658930d1bae5012330161380 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Tue, 3 Oct 2023 18:19:15 +0900 Subject: [PATCH] =?UTF-8?q?=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EC=A0=95=EC=82=B0=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/calculate.js | 6 +++--- src/router/index.js | 6 +++--- .../{CalculateCreator.vue => CalculateLive.vue} | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) rename src/views/Calculate/{CalculateCreator.vue => CalculateLive.vue} (96%) 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 {