diff --git a/src/components/Map/MapGisDrawing.vue b/src/components/Map/MapGisDrawing.vue index 0ea3b368..623160b6 100644 --- a/src/components/Map/MapGisDrawing.vue +++ b/src/components/Map/MapGisDrawing.vue @@ -606,7 +606,7 @@ export default { }) .then((data) => { console.log(data); - let resolution = map.getView().getResolutionForExtent(data.bbox,map.getSize()); + let resolution = that.map.getView().getResolutionForExtent(data.bbox,map.getSize()); resolution:resolution + Math.random() * 0.00000001, that.map.getView().fit(data.bbox); that.map.getView().setResolution(resolution); diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index a6528133..bb60d019 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -5481,7 +5481,9 @@ } }) } - + if(this.form3.theGeom == null){ + this.form3.theGeom = this.form.theGeom; + } } this.showzrz = true; this.zrzProduct(); @@ -5783,7 +5785,7 @@ this.form4.sfsgcf = "N" } if(this.form4.theGeom==null||this.form4.theGeom==""){ - this.form4.theGeom = this.form4.theGeom + this.form4.theGeom = this.form.theGeom } this.fssslxOptions.map(res => { if(res.dictValue == item.fssslx){