diff --git a/src/views/Calculate/CalculateCommunityPost.vue b/src/views/Calculate/CalculateCommunityPost.vue index 02c3753..105a7fc 100644 --- a/src/views/Calculate/CalculateCommunityPost.vue +++ b/src/views/Calculate/CalculateCommunityPost.vue @@ -43,8 +43,6 @@ 조회 - - @@ -57,6 +55,20 @@ class="elevation-1" hide-default-footer > + + @@ -211,6 +223,10 @@ export default { this.$dialog.notify.error(message) }, + sumField(key) { + return this.items.reduce((a, b) => a + (b[key] || 0), 0) + }, + async next() { await this.getCalculateCommunityPost() },