From 80bb1462401af431af44b8e46d2dfa6a40185942 Mon Sep 17 00:00:00 2001 From: "DESKTOP-MAVEOS0\\lmh32" Date: Mon, 20 Mar 2023 09:09:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=A9=EC=A0=84=20=EA=B4=80=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/custMgt/views/ChrgList.vue | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/frontend/src/modules/custMgt/views/ChrgList.vue b/frontend/src/modules/custMgt/views/ChrgList.vue index 39b2bf6..1aabc90 100644 --- a/frontend/src/modules/custMgt/views/ChrgList.vue +++ b/frontend/src/modules/custMgt/views/ChrgList.vue @@ -169,6 +169,25 @@ export default { }, mounted() { + // 달력 세팅 + + let page = 1; + // 페이지 정보 및 검색 조건 + 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: { @@ -180,6 +199,8 @@ export default { this.grid.params.startDt = moment(this.startDate).format('YYYYMM'); this.grid.params.endDt = moment(this.endDate).format('YYYYMM'); this.grid.params.searchType1 = this.searchType1; + this.$refs.table.search(this.grid.params, isKeep); + this.sendStoreData(); }, //달력 셋팅