에이전트 기능 #97
@@ -11,7 +11,13 @@
|
|||||||
<v-container>
|
<v-container>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col
|
<v-col
|
||||||
cols="12"
|
cols="6"
|
||||||
|
class="text-left"
|
||||||
|
>
|
||||||
|
<strong>{{ settlementMonthLabel }}</strong>
|
||||||
|
</v-col>
|
||||||
|
<v-col
|
||||||
|
cols="6"
|
||||||
class="text-right"
|
class="text-right"
|
||||||
>
|
>
|
||||||
총 에이전트 수: <strong>{{ totalCount | numberFormat }}</strong>
|
총 에이전트 수: <strong>{{ totalCount | numberFormat }}</strong>
|
||||||
@@ -65,36 +71,36 @@
|
|||||||
{{ item.assignedCreatorCount | numberFormat }}
|
{{ item.assignedCreatorCount | numberFormat }}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="text-right clickable"
|
class="text-center clickable"
|
||||||
@click="goSettlement(item, 'live')"
|
@click="goSettlement(item, 'live')"
|
||||||
>
|
>
|
||||||
{{ formatCurrency(item.liveAgentSettlementAmount) }}
|
{{ formatCurrency(item.liveAgentSettlementAmount) }}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="text-right clickable"
|
class="text-center clickable"
|
||||||
@click="goSettlement(item, 'content')"
|
@click="goSettlement(item, 'content')"
|
||||||
>
|
>
|
||||||
{{ formatCurrency(item.contentAgentSettlementAmount) }}
|
{{ formatCurrency(item.contentAgentSettlementAmount) }}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="text-right clickable"
|
class="text-center clickable"
|
||||||
@click="goSettlement(item, 'community')"
|
@click="goSettlement(item, 'community')"
|
||||||
>
|
>
|
||||||
{{ formatCurrency(item.communityAgentSettlementAmount) }}
|
{{ formatCurrency(item.communityAgentSettlementAmount) }}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="text-right clickable"
|
class="text-center clickable"
|
||||||
@click="goSettlement(item, 'content-donation')"
|
@click="goSettlement(item, 'content-donation')"
|
||||||
>
|
>
|
||||||
{{ formatCurrency(item.contentDonationAgentSettlementAmount) }}
|
{{ formatCurrency(item.contentDonationAgentSettlementAmount) }}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="text-right clickable"
|
class="text-center clickable"
|
||||||
@click="goSettlement(item, 'channel-donation')"
|
@click="goSettlement(item, 'channel-donation')"
|
||||||
>
|
>
|
||||||
{{ formatCurrency(item.channelDonationAgentSettlementAmount) }}
|
{{ formatCurrency(item.channelDonationAgentSettlementAmount) }}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td class="text-center">
|
||||||
{{ formatCurrency(totalAmount(item)) }}
|
{{ formatCurrency(totalAmount(item)) }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -146,6 +152,13 @@ export default {
|
|||||||
is_loading: false,
|
is_loading: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
settlementMonthLabel() {
|
||||||
|
const now = new Date()
|
||||||
|
const month = now.getMonth() + 1 // 1~12
|
||||||
|
return `${month}월 정산 내역`
|
||||||
|
}
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.fetchList()
|
this.fetchList()
|
||||||
},
|
},
|
||||||
@@ -221,4 +234,9 @@ export default {
|
|||||||
.clickable {
|
.clickable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
/* 테이블 셀 가운데 정렬 */
|
||||||
|
table th,
|
||||||
|
table td {
|
||||||
|
text-align: center !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user