Преглед на файлове

优化地图

wulanhaote
hbao преди 3 години
родител
ревизия
297a263dc2
променени са 1 файла, в които са добавени 18 реда и са изтрити 7 реда
  1. +18
    -7
      src/views/homesteadSurvey/add.vue

+ 18
- 7
src/views/homesteadSurvey/add.vue Целия файл

@@ -446,7 +446,7 @@
placeholder="备注"
maxlength="200"
/>
<MapGisDrawing ref="drewingClickLoading" :message="form.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
<MapGisDrawing ref="drewingClickLoading1" :message="form.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
<div style="margin: 16px;">
<van-button v-if="isFinished" round color="#7AC943" style="width:100%" native-type="submit">保存</van-button>
</div>
@@ -1039,7 +1039,7 @@
label="备注"
placeholder="备注"
/>
<MapGisDrawing ref="drewingClickLoading" :message="form3.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
<MapGisDrawing ref="drewingClickLoading3" :message="form3.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
<div style="margin: 16px;" v-if="isFinished">
<van-button round block color="#7AC943" native-type="submit">保存</van-button>
</div>
@@ -2418,7 +2418,7 @@
label="备注"
placeholder="备注"
/>
<MapGisDrawing ref="drewingClickLoading" :message="form4.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
<MapGisDrawing ref="drewingClickLoading4" :message="form4.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
<div style="margin: 16px;" v-if="isFinished">
<van-button round block color="#7AC943" native-type="submit">保存</van-button>
</div>
@@ -3163,8 +3163,6 @@
this.$cookies.set("item","");
if(this.$cookies.get("search") !=null &&this.$cookies.get("search").zjddm !="" && this.$cookies.get("search").zjddm !=undefined && this.$cookies.get("search").zjddm !=null){
this.ztMap =false;
console.log("1111111111");
console.log(this.$cookies.get("search"));
this.$cookies.set("item",this.$cookies.get("search"));
console.log(this.$cookies.get("item"));
}else {
@@ -5427,6 +5425,7 @@
this.showhncy = true
},
showPopupzrz(item) {
console.log(item);
if(this.form.id==null||this.form.id==""){
Notify({ type: 'danger', message: '请先保存宅基地信息' });
}else{
@@ -5445,6 +5444,7 @@
}
}else{
this.form3 = item
this.form3.theGeom = item.theGeom;
if(this.form3.zcs==null||this.form3.zcs==""){
this.form3.zcs = "1"
}
@@ -5479,8 +5479,11 @@

}
this.showzrz = true;
this.active = 3;
this.mapClickLoading();
this.active = 3;
// if(){
//
// }
}
},
showPopupfw(item) {
@@ -6001,7 +6004,15 @@
//this.$cookies.set("item", this.form);
console.log(this.$cookies.get("item"));
setTimeout(() => {
this.$refs.drewingClickLoading.drawingPaceCountryDarw();
if(this.active =="1"){
this.$refs.drewingClickLoading1.drawingPaceCountryDarw();
}else if(this.active=="3"){
this.$refs.drewingClickLoading3.drawingPaceCountryDarw();
}else if(this.active=="4"){
this.$refs.drewingClickLoading4.drawingPaceCountryDarw();
} else {

}
}, 500);
},
/** 查找地图中定位点 */


Зареждане…
Отказ
Запис