|
|
@@ -5305,26 +5305,27 @@ |
|
|
|
}, |
|
|
|
//宅基地点击地图核查 |
|
|
|
zjdHc(){ |
|
|
|
console.log(this.mapZjdTeAll); |
|
|
|
if(this.zjdHcDy != "" && this.zjdHcDy != "undefined"){ |
|
|
|
if(this.mapZjdData !=undefined && this.mapZjdData !="" && this.mapZjdDataTure !=""){ |
|
|
|
console.log("ggggggggg") |
|
|
|
this.mapZjdTeAll.active =1; |
|
|
|
this.$cookies.set("search",this.mapZjdTeAll); |
|
|
|
this.$router.push({path:'/homesteadSurvey/add'}); |
|
|
|
// console.log(this.mapZjdTeAll); |
|
|
|
// this.$cookies.set("search",cookMap); |
|
|
|
// console.log(this.$cookies.get("search")); |
|
|
|
this.$router.push({path:'/homesteadSurvey/add',query: {res: this.mapZjdTeAll}}); |
|
|
|
}else if(this.mapZrzData !=undefined && this.mapZrzData !=""){ |
|
|
|
if(this.mapZjdTeAll.mapZjdAData !=""){ |
|
|
|
this.mapZjdTeAll.active = 3; |
|
|
|
this.$cookies.set("search",this.mapZjdTeAll); |
|
|
|
this.$router.push({path:'/homesteadSurvey/add'}); |
|
|
|
// this.$cookies.set("search",this.mapZjdTeAll); |
|
|
|
this.$router.push({path:'/homesteadSurvey/add',query: {res: this.mapZjdTeAll}}); |
|
|
|
} else { |
|
|
|
this.$toast("必须有宅基地数据才能进入自然幢核查"); |
|
|
|
} |
|
|
|
}else { |
|
|
|
if(this.mapZjdTeAll.mapZjdAData !="") { |
|
|
|
this.mapZjdTeAll.active = 4; |
|
|
|
this.$cookies.set("search", this.mapZjdTeAll); |
|
|
|
this.$router.push({path: '/homesteadSurvey/add'}); |
|
|
|
//this.$cookies.set("search", this.mapZjdTeAll); |
|
|
|
this.$router.push({path: '/homesteadSurvey/add',query: {res: this.mapZjdTeAll}}); |
|
|
|
} else { |
|
|
|
this.$toast("必须有宅基地数据才能进入附属设施核查"); |
|
|
|
} |
|
|
|