feat(calculate): 크리에이터별 채널 후원 정산 페이지 개발 및 관련 API 수정
1. 크리에이터별 채널 후원 정산 페이지 신규 개발 (/calculate/channel-donation-by-creator) 2. 날짜별 채널 후원 정산 API 경로 변경 (/admin/calculate/channel-donation-by-date) 및 연동 수정 3. 채널 후원 정산 페이지 엑셀 다운로드 방식 유지 (클라이언트 사이드) 4. 크리에이터별 채널 후원 정산 페이지 엑셀 다운로드 인증 추가 (서버 사이드) 5. 크리에이터별 채널 후원 정산 페이지 표에서 날짜 컬럼 제거
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
color="#3bb9f1"
|
||||
dark
|
||||
depressed
|
||||
@click="getCalculateChannelDonationByCreator"
|
||||
@click="getCalculateChannelDonationByDate"
|
||||
>
|
||||
조회
|
||||
</v-btn>
|
||||
@@ -210,7 +210,7 @@ export default {
|
||||
this.start_date = this.formatDate(firstDate)
|
||||
this.end_date = this.formatDate(lastDate)
|
||||
|
||||
await this.getCalculateChannelDonationByCreator()
|
||||
await this.getCalculateChannelDonationByDate()
|
||||
},
|
||||
|
||||
methods: {
|
||||
@@ -226,13 +226,13 @@ export default {
|
||||
},
|
||||
|
||||
async next() {
|
||||
await this.getCalculateChannelDonationByCreator()
|
||||
await this.getCalculateChannelDonationByDate()
|
||||
},
|
||||
|
||||
async getCalculateChannelDonationByCreator() {
|
||||
async getCalculateChannelDonationByDate() {
|
||||
this.is_loading = true
|
||||
try {
|
||||
const res = await api.getCalculateChannelDonationByCreator(
|
||||
const res = await api.getCalculateChannelDonationByDate(
|
||||
this.start_date.substring(0, 10),
|
||||
this.end_date.substring(0, 10),
|
||||
this.page,
|
||||
|
||||
Reference in New Issue
Block a user