어드민 수정건 수정

This commit is contained in:
USER
2022-07-11 11:43:43 +09:00
parent fb40f49f09
commit 74511fb587
47 changed files with 887 additions and 384 deletions

View File

@@ -10,7 +10,7 @@
<div class="search_wrap">
<div class="select_box">
<label for="stat" class="label">상태</label>
<select name="" id="stat" v-model="grid.params.searchType1" @keyup.enter="search">
<select name="" id="stat" v-model="searchType1" @keyup.enter="search">
<option value="">전체</option>
<option value="Y">사용</option>
<option value="N">폐기</option>
@@ -18,7 +18,7 @@
</div>
<div class="select_box">
<label for="searchType" class="label">상세검색</label>
<select name="" id="searchType" v-model="grid.params.searchType2" @keyup.enter="search">
<select name="" id="searchType" v-model="searchType2" @keyup.enter="search">
<option value="custNm" selected="selected">고객사명</option>
<option value="bizNo">사업자번호</option>
<option value="tmpltNm">템플릿명</option>
@@ -26,13 +26,13 @@
</div>
<div class="input_box id">
<label for="search" class="label">검색어</label>
<input type="text" id="id1" placeholder="검색어 입력" v-model="grid.params.searchText1" v-on:keydown.enter.prevent="search"/>
<input type="text" id="id1" placeholder="검색어 입력" v-model="grid.params.searchText1" v-on:keydown.enter.prevent="search"/>
</div>
<button type="button" class="button grey" @click="search">조회</button>
</div>
</form>
<div class="info">
<div class="count"> <span>{{ totalItems }}</span>
<div class="count"> <span>{{ totalItems.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}</span>
<div class="select_box NumberSe">
<select name="" id="perPage" v-model="grid.pagePerRows" @keyup.enter="search">
<option value="20">20</option>
@@ -172,6 +172,8 @@ export default {
cate2Code: "",
totalItems: 0,
pageType: 'CHANN',
searchType1:'',
searchType2:'custNm',
// 테이블 리스트 데이터
perPageCnt: 50,
@@ -199,15 +201,15 @@ export default {
],
columns: [
{ name: 'no', header: 'NO', align: 'center', width: 40 },
{ name: 'custNm', header: '고객사명', align: 'left', width: 120 },
{ name: 'bregNo', header: '사업자번호', align: 'center', width: 120,renderer: {type: customBRegNo}},
{ name: 'tmpltCd', header: '템플릿코드', align: 'center', width: 120},
{ name: 'tmpltNm', header: '템플릿명', align: 'center', width: 120},
{ name: 'tmpltType', header: '템플릿 유형', align: 'center', width: 120,renderer: {type: customTmpltType}},
{ name: 'stat', header: '상태(반려사유)', align: 'center', width: 120,renderer: {type: customStat}},
{ name: 'sendProfile', header: '발신프로필', align: 'center', width: 120},
{ name: 'lastChgDt', header: '최종수정일', width: 120, cls: 'td_line' }
{ name: 'no', header: 'NO', align: 'center', width: '4%' },
{ name: 'custNm', header: '고객사명', align: 'center', width: '12%' },
{ name: 'bregNo', header: '사업자번호', align: 'center', width: '12%',renderer: {type: customBRegNo}},
{ name: 'tmpltCd', header: '템플릿코드', align: 'center', width: '12%'},
{ name: 'tmpltNm', header: '템플릿명', align: 'center', width: '12%'},
{ name: 'tmpltType', header: '템플릿 유형', align: 'center', width: '12%',renderer: {type: customTmpltType}},
{ name: 'stat', header: '상태(반려사유)', align: 'center', width: '12%',renderer: {type: customStat}},
{ name: 'sendProfile', header: '발신프로필', align: 'center', width: '125'},
{ name: 'lastChgDt', header: '최종수정일', width: '12%', cls: 'td_line' }
],
noDataStr: '검색 결과가 없습니다.',
params: {
@@ -258,6 +260,9 @@ export default {
methods: {
search: function(isKeep) {
console.log(this.grid.params);
this.grid.params.searchType1 = this.searchType1
this.grid.params.searchType2 = this.searchType2
this.$refs.table.search(this.grid.params, isKeep);
this.sendStoreData();
},