diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 5f77332f..6612742e 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -22,7 +22,7 @@
- +

宅基地

@@ -2584,7 +2584,10 @@ this.getBaseUrl(); }, mounted(){ - this.mapClickLoading(); + if(this.active ==1){ + this.form.theGeom = this.item.theGeom; + this.mapClickLoading(); + } }, methods: { getBaseUrl(){ @@ -3590,7 +3593,8 @@ fwjg:'02', fwjgName:'钢和钢筋混凝土结构', sjly:'04', - sjlyName:'农村宅基地使用权确权登记发证' + sjlyName:'农村宅基地使用权确权登记发证', + theGeom:this.form3.theGeom, } }else{ this.form3 = item @@ -3607,6 +3611,7 @@ } this.showzrz = true; this.active = 3; + console.log(item); this.mapClickLoading(); } }, @@ -3757,7 +3762,8 @@ jzwqkName:'正常', tdzk:'3', tdzkName:'其他', - sfsgcf:'N' + sfsgcf:'N', + theGeom:this.form4.theGeom, } }else{ this.form4=item @@ -3960,6 +3966,7 @@ //地图加载js------start mapClickLoading(){ console.log(1) + console.log(this.form); setTimeout(() => { this.$refs.drewingClickLoading.drawingPaceCountryDarw(); }, 500);