날짜별 통계 수정

This commit is contained in:
kubo8
2022-12-23 12:55:04 +09:00
parent 7ef153f334
commit 76da6c8d57
6 changed files with 331 additions and 279 deletions

View File

@@ -27,6 +27,18 @@
{
"name": "알림톡",
"colspan": 2
},
{
"name": "대체발송SMS",
"colspan": 2
},
{
"name": "대체발송LMS",
"colspan": 2
},
{
"name": "대체발송MMS",
"colspan": 2
}
],
[
@@ -74,6 +86,33 @@
{
"key": "succCntR",
"name": "성공건수"
},
{
"key": "fbSndCntS",
"name": "발송건수",
"format": "Format_00"
},
{
"key": "fbSuccCntS",
"name": "성공건수/(%)"
},
{
"key": "fbSndCntL",
"name": "발송건수",
"format": "Format_00"
},
{
"key": "fbSuccCntL",
"name": "성공건수/(%)"
},
{
"key": "fbSndCntM",
"name": "발송건수",
"format": "Format_00"
},
{
"key": "fbSuccCntM",
"name": "성공건수/(%)"
}
]
]

View File

@@ -47,17 +47,23 @@
<div class="table calculate">
<table>
<colgroup>
<col width="7%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="9.3%" />
<col width="4%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
</colgroup>
<thead>
<tr>
@@ -67,6 +73,9 @@
<th colspan="2">LMS</th>
<th colspan="2">MMS</th>
<th colspan="2">알림톡</th>
<th colspan="2">대체발송SMS</th>
<th colspan="2">대체발송LMS</th>
<th colspan="2">대체발송MMS</th>
</tr>
<tr class="total">
<th>발송건수</th>
@@ -79,6 +88,12 @@
<th>성공건수/(%)</th>
<th>발송건수</th>
<th>성공건수/(%)</th>
<th>발송건수</th>
<th>성공건수/(%)</th>
<th>발송건수</th>
<th>성공건수/(%)</th>
<th>발송건수</th>
<th>성공건수/(%)</th>
</tr>
</thead>
<tbody>
@@ -102,6 +117,18 @@
<td>
{{ option.succCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}<br />({{ option.succRtR }}%)
</td>
<td>{{ option.fbSndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}</td>
<td>
{{ option.fbSuccCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}<br />({{ option.succFbRtS }}%)
</td>
<td>{{ option.fbSndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}</td>
<td>
{{ option.fbSuccCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}<br />({{ option.succFbRtL }}%)
</td>
<td>{{ option.fbSndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}</td>
<td>
{{ option.fbSuccCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}<br />({{ option.succFbRtM }}%)
</td>
</tr>
</tbody>
</table>
@@ -306,6 +333,27 @@ export default {
excelData.sndCntR = this.list[i].sndCntR;
excelData.succCntR = succCntR;
// 대체발송 SMS 성공 건수
var fbSuccCntS = this.list[i].fbSuccCntS;
var succFbRtS = this.list[i].succFbRtS;
fbSuccCntS = fbSuccCntS + '(' + succFbRtS + '%)';
excelData.fbSndCntS = this.list[i].fbSndCntS;
excelData.fbSuccCntS = fbSuccCntS;
// 대체발송 LMS 성공 건수
var fbSuccCntL = this.list[i].fbSuccCntL;
var succFbRtL = this.list[i].succFbRtL;
fbSuccCntL = fbSuccCntL + '(' + succFbRtL + '%)';
excelData.fbSndCntL = this.list[i].fbSndCntL;
excelData.fbSuccCntL = fbSuccCntL;
// 대체발송 MMS 성공 건수
var fbSuccCntM = this.list[i].fbSuccCntM;
var succFbRtM = this.list[i].succFbRtM;
fbSuccCntM = fbSuccCntM + '(' + succFbRtM + '%)';
excelData.fbSndCntM = this.list[i].fbSndCntM;
excelData.fbSuccCntM = fbSuccCntM;
excelList.push(excelData);
}