From 2c139e2b70713d127e941067e513792cbafef0c1 Mon Sep 17 00:00:00 2001 From: Leeminha Date: Mon, 7 Nov 2022 10:47:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=88=EB=A1=9C=EA=B3=A0=EC=B9=A8=EC=8B=9C?= =?UTF-8?q?=20=EC=8A=A4=ED=86=A0=EC=96=B4=20=EC=A0=80=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/modules/sysMgt/views/BatchDetail.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/modules/sysMgt/views/BatchDetail.vue b/frontend/src/modules/sysMgt/views/BatchDetail.vue index 40a7788..fe1e51a 100644 --- a/frontend/src/modules/sysMgt/views/BatchDetail.vue +++ b/frontend/src/modules/sysMgt/views/BatchDetail.vue @@ -167,6 +167,13 @@ export default { created(){ this.setPeriodDay(0); this.setCodeData(); + if(this.$route.params.batchId != null){ + console.log("스토어저장") + this.$store.commit('dataStore/updateDataStore', this.$route.params.batchId); + } else { + var batchId2 = this.$store.getters['dataStore/getDataStore']; + this.batchId = batchId2; + } }, destroyed() {}, mounted(){ @@ -201,7 +208,7 @@ export default { this.grid.params = { startDt: moment(this.startDate).format('YYYYMMDD'), endDt: moment(this.endDate).format('YYYYMMDD'), - batchId: this.$route.params.batchId, + batchId: this.batchId, sttusCd: this.sttusCd }