mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:33:37 +09:00
어드민 수정건 수정
This commit is contained in:
@@ -63,8 +63,8 @@
|
||||
<div class="group">
|
||||
<div class="select_box">
|
||||
<label for="right" class="label">상세검색</label>
|
||||
<select name="" id="" v-model="grid.params.searchType" @keyup.enter="search">
|
||||
<option value="01" selected>고객사명</option>
|
||||
<select name="searchType" id="searchType" v-model="searchType" @keyup.enter="search">
|
||||
<option value="01">고객사명</option>
|
||||
<option value="02">이름</option>
|
||||
<option value="03">사업자등록번호(생년월일)</option>
|
||||
</select>
|
||||
@@ -169,6 +169,7 @@ export default {
|
||||
{ text: '50', value: 50},
|
||||
{ text: '100', value: 100}
|
||||
],
|
||||
searchType:'01',
|
||||
totalItems: 0,
|
||||
grid: {
|
||||
url: '/api/v1/bo/attractMgt/channelList',
|
||||
@@ -202,14 +203,15 @@ export default {
|
||||
{ name: 'custTyCd', header: '구분', align: 'center', width: '10%'},
|
||||
{ name: 'sndCnt', header: '전체발송건수', align: 'center', width: '11%',
|
||||
formatter: props =>{
|
||||
let result = props.sndCnt.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||
let result = props.sndCnt;
|
||||
//.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||
return result;
|
||||
}
|
||||
}
|
||||
],
|
||||
noDataStr: '검색 결과가 없습니다.',
|
||||
params: {
|
||||
searchType: '',
|
||||
searchType: '01',
|
||||
searchType1: '',
|
||||
searchText: '',
|
||||
subsStDt: '',
|
||||
@@ -234,7 +236,9 @@ export default {
|
||||
this.getExcelHeader();
|
||||
this.setPeriodDay(0);
|
||||
|
||||
this.grid.params.subsSttusCd = '';
|
||||
// this.grid.params.subsSttusCd = '';
|
||||
// this.grid.params.searchType = '01';
|
||||
// this.$refs.searchType_.
|
||||
},
|
||||
destroyed() {
|
||||
this.grid.params.subsSttusCd = '';
|
||||
@@ -260,7 +264,8 @@ export default {
|
||||
search: function(isKeep) {
|
||||
|
||||
console.log('this.perPageCnt'+this.perPageCnt);
|
||||
//console.log(this.grid.params);
|
||||
console.log(this.grid.params);
|
||||
this.grid.params.searchType1 = this.searchType
|
||||
this.$refs.table.search(this.grid.params, isKeep);
|
||||
this.sendStoreData();
|
||||
},
|
||||
@@ -335,7 +340,6 @@ export default {
|
||||
},
|
||||
channelDetail(props){
|
||||
console.log(props);
|
||||
//TODO 전달값 셋팅 필요.
|
||||
this.row.userId = props.loginId;
|
||||
this.row.userSeq = props.userSeq;
|
||||
this.$router.push({ name: 'channelDetail', params: this.row });
|
||||
@@ -343,11 +347,14 @@ export default {
|
||||
setCodeData() {
|
||||
// 상태 옵션 셋팅.
|
||||
api.commCode({'grpCd' : 'SUBS_STTUS_CD'}).then(response => {
|
||||
// grid.params.subsSttusCd
|
||||
this.subsSttusCdList = response.data.data.list;
|
||||
this.grid.params.subsSttusCd = '';
|
||||
});
|
||||
|
||||
api.commCode({'grpCd' : 'CUST_TY_CD'}).then(response => {
|
||||
this.custTyCdList = response.data.data.list;
|
||||
this.grid.params.custTyCd = '';
|
||||
});
|
||||
},
|
||||
setPeriodDay(day) {
|
||||
|
||||
Reference in New Issue
Block a user