diff --git a/src/views/Agent/AgentList.vue b/src/views/Agent/AgentList.vue index 1f7d87c..6c9527c 100644 --- a/src/views/Agent/AgentList.vue +++ b/src/views/Agent/AgentList.vue @@ -11,7 +11,13 @@ + {{ settlementMonthLabel }} + + 총 에이전트 수: {{ totalCount | numberFormat }} @@ -65,36 +71,36 @@ {{ item.assignedCreatorCount | numberFormat }} {{ formatCurrency(item.liveAgentSettlementAmount) }} {{ formatCurrency(item.contentAgentSettlementAmount) }} {{ formatCurrency(item.communityAgentSettlementAmount) }} {{ formatCurrency(item.contentDonationAgentSettlementAmount) }} {{ formatCurrency(item.channelDonationAgentSettlementAmount) }} - + {{ formatCurrency(totalAmount(item)) }} @@ -146,6 +152,13 @@ export default { is_loading: false, } }, + computed: { + settlementMonthLabel() { + const now = new Date() + const month = now.getMonth() + 1 // 1~12 + return `${month}월 정산 내역` + } + }, created() { this.fetchList() }, @@ -221,4 +234,9 @@ export default { .clickable { cursor: pointer; } +/* 테이블 셀 가운데 정렬 */ +table th, +table td { + text-align: center !important; +}