Merge pull request '전체 크리에이터 수 추가' (#42) from test into main
Reviewed-on: #42
This commit is contained in:
commit
f06e2d41e0
|
@ -46,6 +46,11 @@
|
||||||
</v-text-field>
|
</v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
<v-row>
|
||||||
|
<v-col class="text-left total-creator">
|
||||||
|
전체 <span>{{ total_creator_count }}</span> 명
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
<v-simple-table class="elevation-10">
|
<v-simple-table class="elevation-10">
|
||||||
|
@ -159,6 +164,7 @@ export default {
|
||||||
is_loading: false,
|
is_loading: false,
|
||||||
page: 1,
|
page: 1,
|
||||||
total_page: 0,
|
total_page: 0,
|
||||||
|
total_creator_count: 0,
|
||||||
search_word: '',
|
search_word: '',
|
||||||
accounts: [],
|
accounts: [],
|
||||||
account: {},
|
account: {},
|
||||||
|
@ -234,6 +240,7 @@ export default {
|
||||||
const data = res.data.data
|
const data = res.data.data
|
||||||
|
|
||||||
const total_page = Math.ceil(data.totalCount / 20)
|
const total_page = Math.ceil(data.totalCount / 20)
|
||||||
|
this.total_creator_count = data.totalCount;
|
||||||
this.accounts = data.items
|
this.accounts = data.items
|
||||||
|
|
||||||
if (total_page <= 0)
|
if (total_page <= 0)
|
||||||
|
@ -269,6 +276,12 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style>
|
||||||
|
.total-creator {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.total-creator > span {
|
||||||
|
color: #3bb9f1;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue