mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 20:24:30 +09:00
사업자별통계 > 월별/일별 집계결과 테이블 width 값 정리, 조회시 엔터로 조회되도록 기능 추가
This commit is contained in:
@@ -950,7 +950,7 @@ header .user_wrap .user_info .logout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contents .table.calculate.scroll table{
|
.contents .table.calculate.scroll table{
|
||||||
min-width: 1500px;
|
/*min-width: 1500px;*/
|
||||||
width:100%;
|
width:100%;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
@@ -45,7 +45,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="input_box id">
|
<div class="input_box id">
|
||||||
<label for="name" class="label">고객사명</label>
|
<label for="name" class="label">고객사명</label>
|
||||||
<input class="search-box" type="text" id="name" placeholder="검색어 입력" v-model.trim="grid.params.custNm" />
|
<input
|
||||||
|
class="search-box"
|
||||||
|
type="text"
|
||||||
|
id="name"
|
||||||
|
placeholder="검색어 입력"
|
||||||
|
v-model.trim="grid.params.custNm"
|
||||||
|
@keypress.enter="search"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="input_box">
|
<div class="input_box">
|
||||||
<label for="name" class="label">사업자번호</label>
|
<label for="name" class="label">사업자번호</label>
|
||||||
@@ -55,6 +62,7 @@
|
|||||||
id="name"
|
id="name"
|
||||||
placeholder="검색어 입력"
|
placeholder="검색어 입력"
|
||||||
v-model.trim="grid.params.bizrno"
|
v-model.trim="grid.params.bizrno"
|
||||||
|
@keypress.enter="search"
|
||||||
@keypress="onlyNum"
|
@keypress="onlyNum"
|
||||||
@input="onlyNum"
|
@input="onlyNum"
|
||||||
maxlength="10"
|
maxlength="10"
|
||||||
@@ -151,9 +159,9 @@ export default {
|
|||||||
],
|
],
|
||||||
|
|
||||||
columns: [
|
columns: [
|
||||||
{ name: 'sumYmd', header: '날짜', align: 'center' },
|
{ name: 'sumYmd', header: '날짜', align: 'center', width: '8%' },
|
||||||
{ name: 'custNm', header: '고객사명', align: 'center' },
|
{ name: 'custNm', header: '고객사명', align: 'center', width: '12%' },
|
||||||
{ name: 'bizrno', header: '사업자번호', align: 'center' },
|
{ name: 'bizrno', header: '사업자번호', align: 'center', width: '8%' },
|
||||||
{
|
{
|
||||||
name: 'sndCnt',
|
name: 'sndCnt',
|
||||||
header: '발송건수',
|
header: '발송건수',
|
||||||
@@ -163,6 +171,7 @@ export default {
|
|||||||
let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRt',
|
name: 'succCntRt',
|
||||||
@@ -178,6 +187,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntS',
|
name: 'sndCntS',
|
||||||
@@ -188,6 +198,7 @@ export default {
|
|||||||
let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtS',
|
name: 'succCntRtS',
|
||||||
@@ -203,6 +214,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntL',
|
name: 'sndCntL',
|
||||||
@@ -213,6 +225,7 @@ export default {
|
|||||||
let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtL',
|
name: 'succCntRtL',
|
||||||
@@ -228,6 +241,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntM',
|
name: 'sndCntM',
|
||||||
@@ -238,6 +252,7 @@ export default {
|
|||||||
let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtM',
|
name: 'succCntRtM',
|
||||||
@@ -253,6 +268,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntR',
|
name: 'sndCntR',
|
||||||
@@ -263,6 +279,7 @@ export default {
|
|||||||
let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtR',
|
name: 'succCntRtR',
|
||||||
@@ -278,6 +295,7 @@ export default {
|
|||||||
')</p>'
|
')</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
noDataStr: '검색 결과가 없습니다.',
|
noDataStr: '검색 결과가 없습니다.',
|
||||||
|
|||||||
@@ -51,6 +51,7 @@
|
|||||||
placeholder="검색어 입력"
|
placeholder="검색어 입력"
|
||||||
v-model.trim="grid.params.custNm"
|
v-model.trim="grid.params.custNm"
|
||||||
maxlength="100"
|
maxlength="100"
|
||||||
|
@keypress.enter="search"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="input_box">
|
<div class="input_box">
|
||||||
@@ -61,6 +62,7 @@
|
|||||||
id="name"
|
id="name"
|
||||||
placeholder="검색어 입력"
|
placeholder="검색어 입력"
|
||||||
v-model.trim="grid.params.bizrno"
|
v-model.trim="grid.params.bizrno"
|
||||||
|
@keypress.enter="search"
|
||||||
@keypress="onlyNum"
|
@keypress="onlyNum"
|
||||||
@input="onlyNum"
|
@input="onlyNum"
|
||||||
minlength="10"
|
minlength="10"
|
||||||
@@ -157,12 +159,13 @@ export default {
|
|||||||
],
|
],
|
||||||
|
|
||||||
columns: [
|
columns: [
|
||||||
{ name: 'sumYm', header: '날짜', align: 'center' },
|
{ name: 'sumYm', header: '날짜', align: 'center', width: '8%' },
|
||||||
{ name: 'custNm', header: '고객사명', align: 'center' },
|
{ name: 'custNm', header: '고객사명', align: 'center', width: '12%' },
|
||||||
{
|
{
|
||||||
name: 'bizrno',
|
name: 'bizrno',
|
||||||
header: '사업자번호',
|
header: '사업자번호',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: '8%',
|
||||||
// , formatter: props => {
|
// , formatter: props => {
|
||||||
// let result = props.bizrno.substring(0, 3) + '-' + props.bizrno.substring(3, 5) + '-' + props.bizrno.substring(5, 10)
|
// let result = props.bizrno.substring(0, 3) + '-' + props.bizrno.substring(3, 5) + '-' + props.bizrno.substring(5, 10)
|
||||||
// return result;
|
// return result;
|
||||||
@@ -177,6 +180,7 @@ export default {
|
|||||||
let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRt',
|
name: 'succCntRt',
|
||||||
@@ -192,6 +196,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntS',
|
name: 'sndCntS',
|
||||||
@@ -202,6 +207,7 @@ export default {
|
|||||||
let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntS.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtS',
|
name: 'succCntRtS',
|
||||||
@@ -217,6 +223,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntL',
|
name: 'sndCntL',
|
||||||
@@ -227,6 +234,7 @@ export default {
|
|||||||
let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntL.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtL',
|
name: 'succCntRtL',
|
||||||
@@ -242,6 +250,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntM',
|
name: 'sndCntM',
|
||||||
@@ -252,6 +261,7 @@ export default {
|
|||||||
let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntM.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtM',
|
name: 'succCntRtM',
|
||||||
@@ -267,6 +277,7 @@ export default {
|
|||||||
'%)</p>'
|
'%)</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'sndCntR',
|
name: 'sndCntR',
|
||||||
@@ -277,6 +288,7 @@ export default {
|
|||||||
let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let result = props.sndCntR.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'succCntRtR',
|
name: 'succCntRtR',
|
||||||
@@ -292,6 +304,7 @@ export default {
|
|||||||
')</p>'
|
')</p>'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
width: '7%',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
noDataStr: '검색 결과가 없습니다.',
|
noDataStr: '검색 결과가 없습니다.',
|
||||||
|
|||||||
Reference in New Issue
Block a user