Parcourir la source

优化地图

wulanhaote
hbao il y a 3 ans
Parent
révision
814e3968df
1 fichiers modifiés avec 11 ajouts et 4 suppressions
  1. +11
    -4
      src/views/homesteadSurvey/list.vue

+ 11
- 4
src/views/homesteadSurvey/list.vue Voir le fichier

@@ -1384,7 +1384,6 @@
this.mapAddJump = this.$cookies.get("item").backMapZjdAData.deptId; this.mapAddJump = this.$cookies.get("item").backMapZjdAData.deptId;
this.mapAddJumpNum =1; this.mapAddJumpNum =1;
this.mapShow(); this.mapShow();
this.onSubmitnh();
} }
}else { }else {
this.item = this.$cookies.get("item"); this.item = this.$cookies.get("item");
@@ -2813,9 +2812,17 @@
width: 6, width: 6,
}), }),
}); });
let params = {
"deptId" : that.$cookies.get("item").deptId,
"syqr" : val
let params;
if(that.mapAddJumpNum == 1){
params = {
"deptId" : that.mapAddJump,
"syqr" : val
}
} else {
params = {
"deptId" : that.$cookies.get("item").deptId,
"syqr" : val
}
} }
listZjdzd(params).then((response) => { listZjdzd(params).then((response) => {
console.log(response); console.log(response);


Chargement…
Annuler
Enregistrer