전체 개수 추가

This commit is contained in:
Yu Sung 2024-10-15 13:16:06 +09:00
parent b9c35cb22b
commit 704b8803f5
1 changed files with 14 additions and 1 deletions

View File

@ -9,6 +9,11 @@
<br>
<v-container>
<v-row>
<v-col class="text-left total-count">
전체 <span>{{ total_count }}</span>
</v-col>
</v-row>
<v-row>
<v-col>
<v-simple-table class="elevation-10">
@ -124,6 +129,7 @@ export default {
is_loading: false,
page: 1,
total_page: 0,
total_count: 0,
series_list: []
}
},
@ -150,6 +156,7 @@ export default {
const data = res.data.data
const total_page = Math.ceil(data.totalCount / 10)
this.series_list = data.items
this.total_count = data.totalCount
if (total_page <= 0)
this.total_page = 1
@ -173,6 +180,12 @@ export default {
}
</script>
<style scoped>
<style>
.total-count {
padding-bottom: 0;
}
.total-count > span {
color: #3bb9f1;
}
</style>