瀏覽代碼

优化地图

wulanhaote
hbao 3 年之前
父節點
當前提交
628f0dcc2e
共有 2 個文件被更改,包括 4 次插入5 次删除
  1. +1
    -2
      src/views/homesteadSurvey/add.vue
  2. +3
    -3
      src/views/homesteadSurvey/list.vue

+ 1
- 2
src/views/homesteadSurvey/add.vue 查看文件

@@ -4249,8 +4249,7 @@
if(this.ztMap && this.enterMap ==1){ if(this.ztMap && this.enterMap ==1){
this.$cookies.set("map",this.backMap); this.$cookies.set("map",this.backMap);
} else { } else {
console.log(this.itemBc);
this.$cookies.set("map",this.itemBc);

} }
this.$router.push({name:'homesteadList'}); this.$router.push({name:'homesteadList'});
// } // }


+ 3
- 3
src/views/homesteadSurvey/list.vue 查看文件

@@ -1425,10 +1425,10 @@
this.getDicts("member_remark").then(response => { this.getDicts("member_remark").then(response => {
this.cybzOptions = response.data; 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.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.mapAddJump = this.$cookies.get("map").backMapZjdAData.deptId;
this.backTheGeom = this.$cookies.get("map").backMapZjdAData.theGeom; this.backTheGeom = this.$cookies.get("map").backMapZjdAData.theGeom;
this.mapZjdData = this.$cookies.get("map").backMapZjdAData; this.mapZjdData = this.$cookies.get("map").backMapZjdAData;


Loading…
取消
儲存