어드민 리스트 화면 백엔드 중복 호출 문제 수정

This commit is contained in:
kubo8
2023-02-09 14:08:49 +09:00
parent b199bb7630
commit 5772a7ba18
24 changed files with 119 additions and 37 deletions

View File

@@ -118,10 +118,10 @@ export default {
],
grid: {
url: '/api/v1/bo/homeMgt/faqList',
pagePerRows: 20,
pagePerRows: 50,
pagination: true,
isCheckbox: true, // true:첫번째 컬럼 앞에 체크박스 생성 / false:체크박스 제거
initialRequest: true,
initialRequest: false,
addCls: 'box_OFvis',
columns: [
@@ -171,12 +171,15 @@ export default {
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
let isKeep = false;
/*
if (getCondition) {
this.grid.pagePerRows = getCondition.perPage;
this.grid.params = getCondition.params;
// page = getCondition.page;
page = getCondition.page;
isKeep = true;
}
*/
this.grid.pagePerRows = 50;
this.search(isKeep);
},
beforeRouteLeave(to, from, next) {

View File

@@ -117,10 +117,10 @@ export default {
],
grid: {
url: '/api/v1/bo/homeMgt/noticeList',
pagePerRows: 20,
pagePerRows: 50,
pagination: true,
isCheckbox: true, // true:첫번째 컬럼 앞에 체크박스 생성 / false:체크박스 제거
initialRequest: true,
initialRequest: false,
addCls: 'box_OFvis',
columns: [
@@ -180,12 +180,15 @@ export default {
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
let isKeep = false;
/*
if (getCondition) {
this.grid.pagePerRows = getCondition.perPage;
this.grid.params = getCondition.params;
// page = getCondition.page;
isKeep = true;
//isKeep = true;
}
*/
this.grid.pagePerRows = 50;
this.search(isKeep);
},
beforeRouteLeave(to, from, next) {