From 3cfa73c37be67a820fa7789235051672601903b6 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Mon, 27 May 2024 16:41:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20?= =?UTF-8?q?=EC=A0=95=EC=82=B0=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/calculate.js | 15 +- src/router/index.js | 5 + .../Calculate/CalculateCommunityPost.vue | 239 ++++++++++++++++++ 3 files changed, 258 insertions(+), 1 deletion(-) create mode 100644 src/views/Calculate/CalculateCommunityPost.vue diff --git a/src/api/calculate.js b/src/api/calculate.js index d15f08f..6736418 100644 --- a/src/api/calculate.js +++ b/src/api/calculate.js @@ -22,4 +22,17 @@ async function getCalculateContentDonation(startDate, endDate, page, size) { ); } -export {getCalculateLive, getCalculateContent, getCumulativeSalesByContent, getCalculateContentDonation} +async function getCalculateCommunityPost(startDate, endDate, page, size) { + return Vue.axios.get( + '/creator-admin/calculate/community-post?startDateStr=' + + startDate + '&endDateStr=' + endDate + "&page=" + (page - 1) + "&size=" + size + ); +} + +export { + getCalculateLive, + getCalculateContent, + getCumulativeSalesByContent, + getCalculateContentDonation, + getCalculateCommunityPost +} diff --git a/src/router/index.js b/src/router/index.js index caa22eb..86bf598 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -55,6 +55,11 @@ const routes = [ name: 'CalculateContentDonation', component: () => import(/* webpackChunkName: "calculate" */ '../views/Calculate/CalculateContentDonation.vue') }, + { + path: '/calculate/community-post', + name: 'CalculateCommunityPost', + component: () => import(/* webpackChunkName: "calculate" */ '../views/Calculate/CalculateCommunityPost.vue') + }, { path: '/signature', name: 'SignatureManagement', diff --git a/src/views/Calculate/CalculateCommunityPost.vue b/src/views/Calculate/CalculateCommunityPost.vue new file mode 100644 index 0000000..1c53c2b --- /dev/null +++ b/src/views/Calculate/CalculateCommunityPost.vue @@ -0,0 +1,239 @@ + + +