엑셀 다운로드

This commit is contained in:
kubo8
2022-12-23 17:17:17 +09:00
parent c589fea2b4
commit 8eff4464fd
2 changed files with 19 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
},
{
"name": "채널별 발송건수",
"colspan": 5
"colspan": 8
}
],
@@ -31,6 +31,18 @@
{
"key": "sndCntA",
"name": "알림톡"
},
{
"key": "fbSndCntS",
"name": "대체발송SMS"
},
{
"key": "fbSndCntL",
"name": "대체발송LMS"
},
{
"key": "fbSndCntM",
"name": "대체발송MMS"
}]
]
}

View File

@@ -350,6 +350,9 @@ export default {
sndCntLTotal = sndCntLTotal + Number(data.list[i].sndCntL);
sndCntMTotal = sndCntMTotal + Number(data.list[i].sndCntM);
sndCntATotal = sndCntATotal + Number(data.list[i].sndCntA);
fbSndCntSTotal = fbSndCntSTotal + Number(result.data.list[i].fbSndCntS);
fbSndCntLTotal = fbSndCntLTotal + Number(result.data.list[i].fbSndCntL);
fbSndCntMTotal = fbSndCntMTotal + Number(result.data.list[i].fbSndCntM);
}
let totalRow = {
sumYm: '합계',
@@ -358,6 +361,9 @@ export default {
sndCntL: sndCntLTotal,
sndCntM: sndCntMTotal,
sndCntS: sndCntSTotal,
fbSndCntS: fbSndCntSTotal,
fbSndCntL: fbSndCntLTotal,
fbSndCntM: fbSndCntMTotal
};
// 합계 데이터 추가
data.list.unshift(totalRow);