mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 02:16:34 +09:00
어드민 리스트 화면 백엔드 중복 호출 문제 수정
This commit is contained in:
@@ -128,12 +128,12 @@ export default {
|
||||
cate2Code: '',
|
||||
totalItems: 0,
|
||||
// 테이블 리스트 데이터
|
||||
perPageCnt: 20,
|
||||
perPageCnt: 50,
|
||||
searchType1: '',
|
||||
searchType2: '',
|
||||
grid: {
|
||||
url: '/api/v1/bo/sysMgt/adminList',
|
||||
pagePerRows: 20,
|
||||
pagePerRows: 50,
|
||||
pagination: true,
|
||||
isCheckbox: true, // true:첫번째 컬럼 앞에 체크박스 생성 / false:체크박스 제거
|
||||
initialRequest: false,
|
||||
@@ -188,12 +188,16 @@ export default {
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
|
||||
let isKeep = false;
|
||||
/*
|
||||
if (getCondition) {
|
||||
this.grid.pagePerRows = getCondition.perPage;
|
||||
this.grid.params = getCondition.params;
|
||||
page = getCondition.page;
|
||||
isKeep = true;
|
||||
}
|
||||
*/
|
||||
this.grid.pagePerRows = 50;
|
||||
page = 1;
|
||||
this.search(isKeep);
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -197,7 +197,7 @@ export default {
|
||||
this.grid.pagePerRows = getCondition.perPage;
|
||||
this.grid.params = getCondition.params;
|
||||
page = getCondition.page;
|
||||
isKeep = true;
|
||||
//isKeep = true;
|
||||
}
|
||||
this.search(isKeep);
|
||||
},
|
||||
|
||||
@@ -96,11 +96,14 @@ export default {
|
||||
let page = 1;
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
let isKeep = false;
|
||||
/*
|
||||
if (getCondition) {
|
||||
this.grid.params = getCondition.params;
|
||||
page = getCondition.page;
|
||||
isKeep = true;
|
||||
}
|
||||
*/
|
||||
page = 1;
|
||||
this.search(isKeep);
|
||||
},
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
:url="grid.url"
|
||||
:columns="grid.columns"
|
||||
:pagePerRows="grid.pagePerRows"
|
||||
:initialRequest="grid.pagination"
|
||||
:initialRequest="grid.initialRequest"
|
||||
:pagination="grid.pagination"
|
||||
:noDataStr="grid.noDataStr"
|
||||
:addCls="grid.addCls"
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
totalItems: 0,
|
||||
grid: {
|
||||
url: '/api/v1/bo/sysMgt/notiList',
|
||||
pagePerRows: 20,
|
||||
pagePerRows: 50,
|
||||
pagination: true,
|
||||
addCls: 'box_OFvis',
|
||||
initialRequest: false,
|
||||
@@ -211,12 +211,16 @@ export default {
|
||||
let page = 1;
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
let isKeep = false;
|
||||
/*
|
||||
if (getCondition) {
|
||||
this.grid.pagePerRows = getCondition.perPage;
|
||||
this.grid.params = getCondition.params;
|
||||
page = getCondition.page;
|
||||
isKeep = true;
|
||||
}
|
||||
*/
|
||||
this.grid.pagePerRows = 50;
|
||||
page = 1;
|
||||
this.search(isKeep);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user