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

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

@@ -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: {