From 330553b25efb7a5a31e626d6e6db422cfd4ed6a7 Mon Sep 17 00:00:00 2001 From: kubo8 Date: Tue, 20 Dec 2022 17:48:50 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=B5=EA=B3=84=20=EC=9B=90=EB=B3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/stats/views/BsnmMonthList.vue | 115 +++--------------- 1 file changed, 18 insertions(+), 97 deletions(-) diff --git a/frontend/src/modules/stats/views/BsnmMonthList.vue b/frontend/src/modules/stats/views/BsnmMonthList.vue index df3ff08..c7d35be 100644 --- a/frontend/src/modules/stats/views/BsnmMonthList.vue +++ b/frontend/src/modules/stats/views/BsnmMonthList.vue @@ -155,19 +155,21 @@ 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: 'sumYm', header: '날짜', align: 'center', width: '5%' }, - { name: 'custNm', header: '고객사명', align: 'center', width: '9%' }, + { name: 'sumYm', header: '날짜', align: 'center', width: '8%' }, + { name: 'custNm', header: '고객사명', align: 'center', width: '12%' }, { name: 'bizrno', header: '사업자번호', align: 'center', - width: '6%', + width: '8%', + // , formatter: props => { + // let result = props.bizrno.substring(0, 3) + '-' + props.bizrno.substring(3, 5) + '-' + props.bizrno.substring(5, 10) + // return result; + // } }, { name: 'sndCnt', @@ -178,7 +180,7 @@ export default { let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, - width: '5%', + width: '7%', }, { name: 'succCntRt', @@ -194,7 +196,7 @@ export default { '%)

' ); }, - width: '5%', + width: '7%', }, { name: 'sndCntS', @@ -205,7 +207,7 @@ export default { let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, - width: '5%', + width: '7%', }, { name: 'succCntRtS', @@ -221,7 +223,7 @@ export default { '%)

' ); }, - width: '5%', + width: '7%', }, { name: 'sndCntL', @@ -232,7 +234,7 @@ export default { let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, - width: '5%', + width: '7%', }, { name: 'succCntRtL', @@ -248,7 +250,7 @@ export default { '%)

' ); }, - width: '5%', + width: '7%', }, { name: 'sndCntM', @@ -259,7 +261,7 @@ export default { let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, - width: '5%', + width: '7%', }, { name: 'succCntRtM', @@ -275,7 +277,7 @@ export default { '%)

' ); }, - width: '5%', + width: '7%', }, { name: 'sndCntR', @@ -286,7 +288,7 @@ export default { let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, - width: '5%', + width: '7%', }, { name: 'succCntRtR', @@ -302,88 +304,7 @@ export default { ')

' ); }, - 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 ( - '

' + - props.fbSuccCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') + - '

\n

(' + - props.succFbRtS + - ')

' - ); - }, - 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 ( - '

' + - props.fbSuccCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') + - '

\n

(' + - props.succFbRtL + - ')

' - ); - }, - 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 ( - '

' + - props.fbSuccCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') + - '

\n

(' + - props.succFbRtM + - ')

' - ); - }, - width: '5%', + width: '7%', }, ], noDataStr: '검색 결과가 없습니다.',