@@ -606,7 +606,7 @@ export default { | |||||
}) | }) | ||||
.then((data) => { | .then((data) => { | ||||
console.log(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, | resolution:resolution + Math.random() * 0.00000001, | ||||
that.map.getView().fit(data.bbox); | that.map.getView().fit(data.bbox); | ||||
that.map.getView().setResolution(resolution); | that.map.getView().setResolution(resolution); | ||||
@@ -5481,7 +5481,9 @@ | |||||
} | } | ||||
}) | }) | ||||
} | } | ||||
if(this.form3.theGeom == null){ | |||||
this.form3.theGeom = this.form.theGeom; | |||||
} | |||||
} | } | ||||
this.showzrz = true; | this.showzrz = true; | ||||
this.zrzProduct(); | this.zrzProduct(); | ||||
@@ -5783,7 +5785,7 @@ | |||||
this.form4.sfsgcf = "N" | this.form4.sfsgcf = "N" | ||||
} | } | ||||
if(this.form4.theGeom==null||this.form4.theGeom==""){ | if(this.form4.theGeom==null||this.form4.theGeom==""){ | ||||
this.form4.theGeom = this.form4.theGeom | |||||
this.form4.theGeom = this.form.theGeom | |||||
} | } | ||||
this.fssslxOptions.map(res => { | this.fssslxOptions.map(res => { | ||||
if(res.dictValue == item.fssslx){ | if(res.dictValue == item.fssslx){ | ||||