전체 개수 추가
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user