mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 03:28:39 +09:00
로그인 관련 / 메뉴 링크 추가 / 홈페이지 로그인 적용
This commit is contained in:
@@ -52,11 +52,11 @@
|
||||
<div class="group">
|
||||
<div class="input_box">
|
||||
<label for="right" class="label">발신번호</label>
|
||||
<input class="search-box" type="number" id="search" placeholder="검색어 입력" v-model="grid.params.sndrno">
|
||||
<input class="search-box" type="number" id="search" placeholder="검색어 입력" v-model="grid.params.sndrno" v-on:keyup="onlyNum" @input="onlyNum" maxlength="12">
|
||||
</div>
|
||||
<div class="input_box">
|
||||
<label for="right" class="label">수신번호</label>
|
||||
<input class="search-box" type="number" id="search" placeholder="검색어 입력" v-model="grid.params.rcvno">
|
||||
<input class="search-box" type="number" id="search" placeholder="검색어 입력" v-model="grid.params.rcvno" v-on:keyup="onlyNum" @input="onlyNum" maxlength="12">
|
||||
</div>
|
||||
<div class="select_box">
|
||||
<label for="right" class="label">상세검색</label>
|
||||
@@ -74,12 +74,10 @@
|
||||
</div>
|
||||
</form>
|
||||
<div class="info">
|
||||
<div class="count">총 <span> {{ totalItems }} </span>건
|
||||
<div class="count">총 <span>{{ totalItems }}</span>건
|
||||
<div class="select_box NumberSe">
|
||||
<select name="" id="perpage" v-model="grid.pagePerRows" @keyup.enter="search">
|
||||
<option value="20">20</option>
|
||||
<option value="50" selected>50</option>
|
||||
<option value="100">100</option>
|
||||
<select name="" id="" v-model="perPageCnt" @change="changePerPage()">
|
||||
<option v-for="option in options" v-bind:value="option.value" v-bind:key="option.value">{{ option.text }}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -108,6 +106,7 @@
|
||||
import customGrid from '@/components/CustomGrid';
|
||||
import moment from 'moment';
|
||||
import commonModal from "@/components/modal/commonModal";
|
||||
import { utils_mixin, chkPattern2 } from '../service/mixins';
|
||||
|
||||
//import api from '../service/api';
|
||||
class CustomATagRenderer {
|
||||
@@ -133,22 +132,29 @@ class CustomATagRenderer {
|
||||
}
|
||||
export default {
|
||||
name: 'intrcpList',
|
||||
mixins: [utils_mixin, chkPattern2],
|
||||
data() {
|
||||
return {
|
||||
totalItems: 0,
|
||||
perPageCnt: 50,
|
||||
// 달력 데이터
|
||||
ko: vdp_translation_ko.js,
|
||||
periodDay: 7,
|
||||
sDateDiv: 'day',
|
||||
startDate: new Date(),
|
||||
endDate: new Date(),
|
||||
|
||||
options: [
|
||||
{ text: '20', value: 20},
|
||||
{ text: '50', value: 50},
|
||||
{ text: '100', value: 100}
|
||||
],
|
||||
statType: [],
|
||||
userType: [],
|
||||
row:{},
|
||||
grid: {
|
||||
url: '/api/v1/bo/riskMgt/web/intrcpList',
|
||||
perPage: 20,
|
||||
pagePerRows: 20,
|
||||
pagination: true,
|
||||
isCheckbox: false,
|
||||
initialRequest: false,
|
||||
@@ -168,20 +174,20 @@ export default {
|
||||
],
|
||||
|
||||
columns: [
|
||||
{ name: 'no', header: 'NO', align: 'center', width: 60 },
|
||||
{ name: 'blckTpCd', header: '차단구분', align: 'center', width: 160 },
|
||||
{ name: 'userId', header: '발송ID', align: 'center', width: 100},
|
||||
{ name: 'sndrno', header: '발신번호', align: 'center', width: 130},
|
||||
{ name: 'custNm', header: '고객사명', align: 'center', width: 130, renderer: {
|
||||
{ name: 'no', header: 'NO', align: 'center', width: '5%' },
|
||||
{ name: 'blckTpCd', header: '차단구분', align: 'center', width: '11%' },
|
||||
{ name: 'userId', header: '발송ID', align: 'center', width: '11%'},
|
||||
{ name: 'sndrno', header: '발신번호', align: 'center', width: '11%'},
|
||||
{ name: 'custNm', header: '고객사명', align: 'center', width: '11%', renderer: {
|
||||
type: CustomATagRenderer
|
||||
, options: {
|
||||
callback: this.custDetail,
|
||||
}
|
||||
}},
|
||||
{ name: 'bizrno', header: '사업자번호', align: 'center', width: 90},
|
||||
{ name: 'rcvno', header: '수신번호', align: 'center', width: 90 },
|
||||
{ name: 'blckRsnCd', header: '차단사유', align: 'center', width: 90 },
|
||||
{ name: 'blckDt', header: '발송일자', align: 'center', width: 90 },
|
||||
{ name: 'bizrno', header: '사업자번호', align: 'center', width: '11%'},
|
||||
{ name: 'rcvno', header: '수신번호', align: 'center', width: '11%' },
|
||||
{ name: 'blckRsnCd', header: '차단사유', align: 'center', width: '7%' },
|
||||
{ name: 'blckDt', header: '발송일자', align: 'center', width: '11%' },
|
||||
|
||||
],
|
||||
noDataStr: '검색 결과가 없습니다.',
|
||||
@@ -220,8 +226,6 @@ export default {
|
||||
});
|
||||
},
|
||||
created(){
|
||||
this.$store.commit("login/isLogin", true);
|
||||
this.$store.commit("login/isAuthChk", true);
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
this.setPeriodDay(0);
|
||||
},
|
||||
@@ -241,6 +245,11 @@ export default {
|
||||
methods: {
|
||||
search: function(isKeep) {
|
||||
console.log(this.grid.params);
|
||||
this.grid.params.blckDt = moment(this.startDate).format('YYYYMMDD');
|
||||
this.grid.params.blckRsnCd = this.grid.params.searchType1;
|
||||
this.grid.params.blckTpCd = this.grid.params.searchText1;
|
||||
this.grid.params.sndrno = this.grid.params.searchText2;
|
||||
this.grid.params.custNm = this.grid.params.searchText3;
|
||||
this.$refs.table.search(this.grid.params, isKeep);
|
||||
this.sendStoreData();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user