From 060d3998fa6067f6301dea4c8510630e97abe1c4 Mon Sep 17 00:00:00 2001 From: kimjhjjang Date: Wed, 30 Nov 2022 13:30:52 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=97=85=EC=9E=90=EB=B3=84=ED=86=B5?= =?UTF-8?q?=EA=B3=84=20>=20=EC=9B=94=EB=B3=84/=EC=9D=BC=EB=B3=84=20?= =?UTF-8?q?=EC=A7=91=EA=B3=84=EA=B2=B0=EA=B3=BC=20=ED=85=8C=EC=9D=B4?= =?UTF-8?q?=EB=B8=94=20width=20=EA=B0=92=20=EC=A0=95=EB=A6=AC,=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=EC=8B=9C=20=EC=97=94=ED=84=B0=EB=A1=9C=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=EB=90=98=EB=8F=84=EB=A1=9D=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/assets/css/style.css | 2 +- .../src/modules/stats/views/BsnmDayList.vue | 26 ++++++++++++++++--- .../src/modules/stats/views/BsnmMonthList.vue | 17 ++++++++++-- 3 files changed, 38 insertions(+), 7 deletions(-) diff --git a/frontend/src/assets/css/style.css b/frontend/src/assets/css/style.css index 740006b..815b5a5 100644 --- a/frontend/src/assets/css/style.css +++ b/frontend/src/assets/css/style.css @@ -950,7 +950,7 @@ header .user_wrap .user_info .logout { } .contents .table.calculate.scroll table{ - min-width: 1500px; + /*min-width: 1500px;*/ width:100%; table-layout: fixed; white-space: nowrap; diff --git a/frontend/src/modules/stats/views/BsnmDayList.vue b/frontend/src/modules/stats/views/BsnmDayList.vue index 21aa3ce..fc225dd 100644 --- a/frontend/src/modules/stats/views/BsnmDayList.vue +++ b/frontend/src/modules/stats/views/BsnmDayList.vue @@ -45,7 +45,14 @@
- +
@@ -55,6 +62,7 @@ id="name" placeholder="검색어 입력" v-model.trim="grid.params.bizrno" + @keypress.enter="search" @keypress="onlyNum" @input="onlyNum" maxlength="10" @@ -151,9 +159,9 @@ export default { ], columns: [ - { name: 'sumYmd', header: '날짜', align: 'center' }, - { name: 'custNm', header: '고객사명', align: 'center' }, - { name: 'bizrno', header: '사업자번호', align: 'center' }, + { name: 'sumYmd', header: '날짜', align: 'center', width: '8%' }, + { name: 'custNm', header: '고객사명', align: 'center', width: '12%' }, + { name: 'bizrno', header: '사업자번호', align: 'center', width: '8%' }, { name: 'sndCnt', header: '발송건수', @@ -163,6 +171,7 @@ export default { let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, + width: '7%', }, { name: 'succCntRt', @@ -178,6 +187,7 @@ export default { '%)

' ); }, + width: '7%', }, { name: 'sndCntS', @@ -188,6 +198,7 @@ export default { let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, + width: '7%', }, { name: 'succCntRtS', @@ -203,6 +214,7 @@ export default { '%)

' ); }, + width: '7%', }, { name: 'sndCntL', @@ -213,6 +225,7 @@ export default { let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, + width: '7%', }, { name: 'succCntRtL', @@ -228,6 +241,7 @@ export default { '%)

' ); }, + width: '7%', }, { name: 'sndCntM', @@ -238,6 +252,7 @@ export default { let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, + width: '7%', }, { name: 'succCntRtM', @@ -253,6 +268,7 @@ export default { '%)

' ); }, + width: '7%', }, { name: 'sndCntR', @@ -263,6 +279,7 @@ export default { let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, + width: '7%', }, { name: 'succCntRtR', @@ -278,6 +295,7 @@ export default { ')

' ); }, + width: '7%', }, ], noDataStr: '검색 결과가 없습니다.', diff --git a/frontend/src/modules/stats/views/BsnmMonthList.vue b/frontend/src/modules/stats/views/BsnmMonthList.vue index 33fc90b..c7d35be 100644 --- a/frontend/src/modules/stats/views/BsnmMonthList.vue +++ b/frontend/src/modules/stats/views/BsnmMonthList.vue @@ -51,6 +51,7 @@ placeholder="검색어 입력" v-model.trim="grid.params.custNm" maxlength="100" + @keypress.enter="search" />
@@ -61,6 +62,7 @@ id="name" placeholder="검색어 입력" v-model.trim="grid.params.bizrno" + @keypress.enter="search" @keypress="onlyNum" @input="onlyNum" minlength="10" @@ -157,12 +159,13 @@ export default { ], columns: [ - { name: 'sumYm', header: '날짜', align: 'center' }, - { name: 'custNm', header: '고객사명', align: 'center' }, + { name: 'sumYm', header: '날짜', align: 'center', width: '8%' }, + { name: 'custNm', header: '고객사명', align: 'center', width: '12%' }, { name: 'bizrno', header: '사업자번호', align: 'center', + width: '8%', // , formatter: props => { // let result = props.bizrno.substring(0, 3) + '-' + props.bizrno.substring(3, 5) + '-' + props.bizrno.substring(5, 10) // return result; @@ -177,6 +180,7 @@ export default { let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); return result; }, + width: '7%', }, { name: 'succCntRt', @@ -192,6 +196,7 @@ export default { '%)

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

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

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

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

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