TC 수정

This commit is contained in:
kimre
2022-07-18 20:55:42 +09:00
parent 2069d87f49
commit 8475672b02
4 changed files with 22 additions and 24 deletions

View File

@@ -265,7 +265,7 @@ export default {
console.log('this.perPageCnt' + this.perPageCnt);
console.log(this.grid.params);
this.grid.params.searchType1 = this.searchType
this.grid.params.searchType = this.searchType
this.$refs.table.search(this.grid.params, isKeep);
this.sendStoreData();
},

View File

@@ -1,9 +1,9 @@
<template>
<!-- <div class="wrap bg-wrap"> -->
<div>
<div class="dimmed" @click="numberRegPopClose();"></div>
<div class="dimmed numberRegModal" @click="numberRegPopClose();"></div>
<!-- 발신번호 등록 (타사업자)-->
<div class="popup modal52 popup_form register w700">
<div class="popup numberRegModal popup_form register w700">
<div class="pop-head">
<h3 class="pop-tit">발신번호 등록</h3>
</div>
@@ -212,23 +212,18 @@ export default {
},
// 모달 띄우기
numberRegPopopen() {
this.formReset();
var dimmed = document.getElementsByClassName('dimmed');
dimmed[0].style.display = 'block';
var wrap = document.getElementsByClassName('popup-wrap');
wrap[0].style.display = 'block';
var obj = document.getElementsByClassName('modal52');
obj[0].style.display = 'block';
var dimmed = document.getElementsByClassName('numberRegModal');
for (var i = 0; i < dimmed.length; i++) {
dimmed[i].style.display = 'block';
}
},
// 모달 끄기
numberRegPopClose() {
var dimmed = document.getElementsByClassName('dimmed');
dimmed[0].style.display = 'none';
var wrap = document.getElementsByClassName('popup-wrap');
wrap[0].style.display = 'none';
var popup = document.getElementsByClassName('modal52');
popup[0].style.display = 'none';
this.formReset();
var dimmed = document.getElementsByClassName('numberRegModal');
for (var i = 0; i < dimmed.length; i++) {
dimmed[i].style.display = 'none';
}
},
formReset() {
Object.assign(this.$data, this.$options.data());

View File

@@ -41,7 +41,7 @@
<div class="info">
<div class="count"> <span>{{ totalItems.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}</span>
<div class="select_box NumberSe">
<select name="" id="" v-model="perPageCnt" @keyup.enter="search">
<select name="" id="" v-model="perPageCnt" @change="changePerPage()">
<option value="20">20</option>
<option value="50" selected>50</option>
<option value="100">100</option>
@@ -210,7 +210,10 @@ export default {
apprDetail(props) {
console.log(props)
this.$refs.apprDetailPop.apprDetailPopOpen(props)
}
},
changePerPage: function () { // 페이지당 조회할 개수
this.grid.pagePerRows = this.perPageCnt;
},
},
beforeRouteLeave(to, from, next) {

View File

@@ -58,19 +58,19 @@
<sql id="sndnoBlckCondition">
<if test="regId != null and regId != ''">
AND UPPER(esb.REG_ID) LIKE UPPER(CONCAT('%', #{regId}, '%'))
AND UPPER(esb.REG_ID) LIKE UPPER(CONCAT('%', #{regId}, '%'))
</if>
<if test="sndblckTpCd != null and sndblckTpCd != ''">
AND esb.SNDBLCK_TP_CD = #{sndblckTpCd}
AND esb.SNDBLCK_TP_CD = #{sndblckTpCd}
</if>
<if test="blckYn != null and blckYn != ''">
AND esb.BLCK_YN = #{blckYn}
AND esb.BLCK_YN = #{blckYn}
</if>
<if test="blckRsnCd != null and blckRsnCd != ''">
AND esb.BLCK_RSN_CD = #{blckRsnCd}
AND esb.BLCK_RSN_CD = #{blckRsnCd}
</if>
<if test="blckSndrno != null and blckSndrno != ''">
AND esb.BLCK_SNDRNO = #{blckSndrno}
AND esb.BLCK_SNDRNO LIKE CONCAT('%', #{blckSndrno},'%')
</if>
</sql>