전체 개수 추가
This commit is contained in:
parent
b9c35cb22b
commit
704b8803f5
|
@ -9,6 +9,11 @@
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<v-container>
|
<v-container>
|
||||||
|
<v-row>
|
||||||
|
<v-col class="text-left total-count">
|
||||||
|
전체 <span>{{ total_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">
|
||||||
|
@ -124,6 +129,7 @@ export default {
|
||||||
is_loading: false,
|
is_loading: false,
|
||||||
page: 1,
|
page: 1,
|
||||||
total_page: 0,
|
total_page: 0,
|
||||||
|
total_count: 0,
|
||||||
series_list: []
|
series_list: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -150,6 +156,7 @@ export default {
|
||||||
const data = res.data.data
|
const data = res.data.data
|
||||||
const total_page = Math.ceil(data.totalCount / 10)
|
const total_page = Math.ceil(data.totalCount / 10)
|
||||||
this.series_list = data.items
|
this.series_list = data.items
|
||||||
|
this.total_count = data.totalCount
|
||||||
|
|
||||||
if (total_page <= 0)
|
if (total_page <= 0)
|
||||||
this.total_page = 1
|
this.total_page = 1
|
||||||
|
@ -173,6 +180,12 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style>
|
||||||
|
.total-count {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.total-count > span {
|
||||||
|
color: #3bb9f1;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue