고객 일별 통계

This commit is contained in:
kubo8
2022-12-22 14:03:20 +09:00
parent b20ca86875
commit 68b3b540ee
8 changed files with 504 additions and 420 deletions

View File

@@ -36,6 +36,18 @@
{
"name": "알림톡",
"colspan": 2
},
{
"name": "대체발송SMS",
"colspan": 2
},
{
"name": "대체발송LMS",
"colspan": 2
},
{
"name": "대체발송MMS",
"colspan": 2
}
],
[
@@ -83,6 +95,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

@@ -155,13 +155,16 @@ export default {
{ header: 'LMS', childNames: ['sndCntL', 'succCntRtL'] },
{ header: 'MMS', childNames: ['sndCntM', 'succCntRtM'] },
{ header: '알림톡', childNames: ['sndCntR', 'succCntRtR'] },
{ header: '대체발송SMS', childNames: ['fbSndCntS', 'fbSuccCntRtS'] },
{ header: '대체발송LMS', childNames: ['fbSndCntL', 'fbSuccCntRtL'] },
{ header: '대체발송MMS', childNames: ['fbSndCntM', 'fbSuccCntRtM'] }
],
],
columns: [
{ name: 'sumYmd', header: '날짜', align: 'center', width: '8%' },
{ name: 'custNm', header: '고객사명', align: 'center', width: '12%' },
{ name: 'bizrno', header: '사업자번호', align: 'center', width: '8%' },
{ name: 'sumYmd', header: '날짜', align: 'center', width: '5%' },
{ name: 'custNm', header: '고객사명', align: 'center', width: '9%' },
{ name: 'bizrno', header: '사업자번호', align: 'center', width: '6%' },
{
name: 'sndCnt',
header: '발송건수',
@@ -171,7 +174,7 @@ export default {
let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
width: '5%',
},
{
name: 'succCntRt',
@@ -187,7 +190,7 @@ export default {
'%)</p>'
);
},
width: '7%',
width: '5%',
},
{
name: 'sndCntS',
@@ -198,7 +201,7 @@ export default {
let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
width: '5%',
},
{
name: 'succCntRtS',
@@ -214,7 +217,7 @@ export default {
'%)</p>'
);
},
width: '7%',
width: '5%',
},
{
name: 'sndCntL',
@@ -225,7 +228,7 @@ export default {
let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
width: '5%',
},
{
name: 'succCntRtL',
@@ -241,7 +244,7 @@ export default {
'%)</p>'
);
},
width: '7%',
width: '5%',
},
{
name: 'sndCntM',
@@ -252,7 +255,7 @@ export default {
let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
width: '5%',
},
{
name: 'succCntRtM',
@@ -268,7 +271,7 @@ export default {
'%)</p>'
);
},
width: '7%',
width: '5%',
},
{
name: 'sndCntR',
@@ -279,7 +282,7 @@ export default {
let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '7%',
width: '5%',
},
{
name: 'succCntRtR',
@@ -295,7 +298,88 @@ export default {
')</p>'
);
},
width: '7%',
width: '5%',
},
{
name: 'fbSndCntS',
header: '발송건수',
align: 'center',
cls: 'td_line',
formatter: (props) => {
let result = props.fbSndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '5%',
},
{
name: 'fbSuccCntRtS',
header: '성공건수/(%)',
align: 'center',
cls: 'td_line',
formatter: (props) => {
return (
'<p>' +
props.fbSuccCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') +
'</p>\n<p>(' +
props.succFbRtS +
')</p>'
);
},
width: '5%',
},
{
name: 'fbSndCntL',
header: '발송건수',
align: 'center',
cls: 'td_line',
formatter: (props) => {
let result = props.fbSndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '5%',
},
{
name: 'fbSuccCntRtL',
header: '성공건수/(%)',
align: 'center',
cls: 'td_line',
formatter: (props) => {
return (
'<p>' +
props.fbSuccCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') +
'</p>\n<p>(' +
props.succFbRtL +
')</p>'
);
},
width: '5%',
},
{
name: 'fbSndCntM',
header: '발송건수',
align: 'center',
cls: 'td_line',
formatter: (props) => {
let result = props.fbSndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
return result;
},
width: '5%',
},
{
name: 'fbSuccCntRtL',
header: '성공건수/(%)',
align: 'center',
cls: 'td_line',
formatter: (props) => {
return (
'<p>' +
props.fbSuccCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') +
'</p>\n<p>(' +
props.succFbRtM +
')</p>'
);
},
width: '5%',
},
],
noDataStr: '검색 결과가 없습니다.',