mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:04:20 +09:00
알림톡 조회, 차단내역 수정
This commit is contained in:
@@ -94,7 +94,7 @@ export default {
|
||||
],
|
||||
grid: {
|
||||
url: '/api/v1/bo/channelMgt/tmpltList',
|
||||
perPage: 50,
|
||||
perPage: 20,
|
||||
pagination: true,
|
||||
isCheckbox: false,
|
||||
initialRequest: false,
|
||||
@@ -141,11 +141,9 @@ export default {
|
||||
channelMgtApi,
|
||||
commonModal,
|
||||
},
|
||||
created() {
|
||||
// const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
created() {
|
||||
this.getExcelHeader();
|
||||
this.setCodeData();
|
||||
this.grid.pagePerRows = this.perPageCnt;
|
||||
this.setCodeData();
|
||||
},
|
||||
destroyed() {
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
@@ -168,7 +166,7 @@ export default {
|
||||
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
|
||||
let isKeep = false;
|
||||
if (getCondition) {
|
||||
this.grid.pagePerRows = 50;
|
||||
this.grid.pagePerRows = getCondition.perPage;
|
||||
this.grid.params = getCondition.params;
|
||||
page = getCondition.page;
|
||||
isKeep = true;
|
||||
@@ -176,28 +174,22 @@ export default {
|
||||
this.search(isKeep);
|
||||
},
|
||||
methods: {
|
||||
search: function (isKeep) {
|
||||
console.log(this.grid.params);
|
||||
this.grid.params.searchType1 = this.searchType1
|
||||
this.grid.params.searchType2 = this.searchType2
|
||||
this.grid.params.pagePerRows = this.perPageCnt
|
||||
this.grid.perPage = this.perPageCnt
|
||||
|
||||
console.log(this.grid)
|
||||
search: function (isKeep) {
|
||||
this.grid.params.searchType1 = this.searchType1;
|
||||
this.grid.params.searchType2 = this.searchType2;
|
||||
this.grid.params.pagePerRows = this.perPageCnt;
|
||||
this.grid.perPage = this.perPageCnt;
|
||||
|
||||
this.$refs.table.search(this.grid.params, isKeep);
|
||||
this.sendStoreData();
|
||||
},
|
||||
sendStoreData: function () {
|
||||
const getP = this.$refs.table.getPagination();
|
||||
console.log("==========getP : " + getP);
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
page: getP._currentPage,
|
||||
perPage: this.perPageCnt,
|
||||
params: this.grid.params
|
||||
});
|
||||
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
//console.log("getCondition : "+ getCondition.perPage);
|
||||
},
|
||||
async getExcelDataDown() {
|
||||
try {
|
||||
@@ -254,6 +246,7 @@ export default {
|
||||
},
|
||||
changePerPage: function () { // 페이지당 조회할 개수
|
||||
this.grid.pagePerRows = this.perPageCnt;
|
||||
this.search(true);
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -306,7 +306,10 @@ export default {
|
||||
//회원 상세페이지로 이동
|
||||
custDetail(props) {
|
||||
//this.row.custNm = props.serviceId;
|
||||
this.row.serviceId = props.serviceId;
|
||||
|
||||
console.log('=-==-=-=-=');
|
||||
console.log(props);
|
||||
this.row.serviceId = props.serviceId;
|
||||
this.$router.push({name: 'subsDetail', params: this.row});
|
||||
},
|
||||
calendarCalbackFnc(year, month, day) {
|
||||
|
||||
Reference in New Issue
Block a user