diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 8d6c6e0d..241ebff7 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -4249,8 +4249,7 @@ if(this.ztMap && this.enterMap ==1){ this.$cookies.set("map",this.backMap); } else { - console.log(this.itemBc); - this.$cookies.set("map",this.itemBc); + } this.$router.push({name:'homesteadList'}); // } diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index 73d0cc19..5d77a005 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -1425,10 +1425,10 @@ this.getDicts("member_remark").then(response => { this.cybzOptions = response.data; }); - if(this.$cookies.get("item").activeBtn !=null){ - if(this.$cookies.get("item").activeBtn == 4){ + if(this.$cookies.get("map").activeBtn !=null){ + if(this.$cookies.get("map").activeBtn == 4){ this.activeBtn = this.$cookies.get("map").activeBtn; - this.item = this.$cookies.get("map"); + this.item = this.$cookies.get("item"); this.mapAddJump = this.$cookies.get("map").backMapZjdAData.deptId; this.backTheGeom = this.$cookies.get("map").backMapZjdAData.theGeom; this.mapZjdData = this.$cookies.get("map").backMapZjdAData;