From c52fe9e49e85a2116767666fc47fd457d615c72e Mon Sep 17 00:00:00 2001 From: hbao Date: Sun, 27 Feb 2022 18:48:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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);