mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 19:39:19 +09:00
새로고침시 스토어 저장
This commit is contained in:
@@ -167,6 +167,13 @@ export default {
|
|||||||
created(){
|
created(){
|
||||||
this.setPeriodDay(0);
|
this.setPeriodDay(0);
|
||||||
this.setCodeData();
|
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() {},
|
destroyed() {},
|
||||||
mounted(){
|
mounted(){
|
||||||
@@ -201,7 +208,7 @@ export default {
|
|||||||
this.grid.params = {
|
this.grid.params = {
|
||||||
startDt: moment(this.startDate).format('YYYYMMDD'),
|
startDt: moment(this.startDate).format('YYYYMMDD'),
|
||||||
endDt: moment(this.endDate).format('YYYYMMDD'),
|
endDt: moment(this.endDate).format('YYYYMMDD'),
|
||||||
batchId: this.$route.params.batchId,
|
batchId: this.batchId,
|
||||||
sttusCd: this.sttusCd
|
sttusCd: this.sttusCd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user