크리에이터 라이브 정산 페이지 추가
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div>
|
||||
<v-toolbar dark>
|
||||
<v-spacer />
|
||||
<v-toolbar-title>크리에이터 정산</v-toolbar-title>
|
||||
<v-toolbar-title>크리에이터 라이브 정산</v-toolbar-title>
|
||||
<v-spacer />
|
||||
</v-toolbar>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
color="#9970ff"
|
||||
dark
|
||||
depressed
|
||||
@click="getCalculateCreator"
|
||||
@click="getCalculateLive"
|
||||
>
|
||||
조회
|
||||
</v-btn>
|
||||
@@ -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 {
|
Reference in New Issue
Block a user