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.perPageCnt' + this.perPageCnt);
console.log(this.grid.params); 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.$refs.table.search(this.grid.params, isKeep);
this.sendStoreData(); this.sendStoreData();
}, },

View File

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

View File

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

View File

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