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 }