From 787643977dea1f6d8276f77290d9681687bbf58c Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 4 Oct 2023 00:34:22 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EC=A0=95?= =?UTF-8?q?=EC=82=B0=20=ED=8E=98=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 | 7 + src/router/index.js | 7 +- src/views/Calculate/CalculateLive.vue | 323 ++++++++++++++++++++++++++ 3 files changed, 336 insertions(+), 1 deletion(-) create mode 100644 src/api/calculate.js create mode 100644 src/views/Calculate/CalculateLive.vue diff --git a/src/api/calculate.js b/src/api/calculate.js new file mode 100644 index 0000000..ff7d9b6 --- /dev/null +++ b/src/api/calculate.js @@ -0,0 +1,7 @@ +import Vue from 'vue'; + +async function getCalculateLive(startDate, endDate) { + return Vue.axios.get('/creator-admin/calculate/live?startDateStr=' + startDate + '&endDateStr=' + endDate); +} + +export { getCalculateLive } diff --git a/src/router/index.js b/src/router/index.js index dc74484..ddbf7da 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -19,7 +19,12 @@ const routes = [ path: '/content/list', name: 'ContentList', component: () => import(/* webpackChunkName: "content" */ '../views/Content/ContentList.vue') - } + }, + { + path: '/calculate/live', + name: 'CalculateLive', + component: () => import(/* webpackChunkName: "calculate" */ '../views/Calculate/CalculateLive.vue') + }, ] }, { diff --git a/src/views/Calculate/CalculateLive.vue b/src/views/Calculate/CalculateLive.vue new file mode 100644 index 0000000..68a620c --- /dev/null +++ b/src/views/Calculate/CalculateLive.vue @@ -0,0 +1,323 @@ + + +