From 5990974b973646ca20ee74d24000c4f673288df4 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Wed, 30 Mar 2022 14:43:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add.vue | 19 ++++++----- src/views/homesteadSurvey/list.vue | 51 +++++++++++++----------------- 2 files changed, 33 insertions(+), 37 deletions(-) diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 679db70c..c566678e 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -3199,8 +3199,8 @@ this.industryOptions = this.dictTypeList.Industry; }) this.baseUrl = this.$cookies.get("url") - console.log(this.$route.query.res); - console.log(this.$cookies.get("search")); + //console.log(this.$route.query.res); + //console.log(this.$cookies.get("search")); //this.itemBc = this.$cookies.get("map"); //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){ @@ -3208,9 +3208,13 @@ //this.$cookies.set("map",this.$cookies.get("search")); this.numerical =this.$cookies.get("search"); }else { - if(this.$route.query.res !=null && this.$route.query.res !="" && this.$route.query.res !=undefined){ - this.ztMap =true; - this.numerical =this.$route.query.res; + if(this.$route.query.res !=null && this.$route.query.res !="" && this.$route.query.res != undefined){ + this.numerical = this.$route.query.res; + if(this.numerical.active!=null){ + this.ztMap =true; + }else{ + this.ztMap =false; + } } } if(this.numerical){ @@ -3260,14 +3264,13 @@ }, 500); } }else{ - this.cookiesInfo = this.$cookies.get("search") - this.$cookies.set("search","") + this.cookiesInfo = this.$cookies.get("search")?this.$cookies.get("search"):this.$route.query.res +/* this.$cookies.set("search","")*/ this.item = this.cookiesInfo this.$cookies.set("search",this.cookiesInfo); if(this.item.houseDataConfirmStatus!="CONFIRMED"){ this.isFinished = true } - /*this.getBaseUrl();*/ this.getnhdmlist(); this.getZjd(); diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index 81de1dbe..f4b13f13 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -88,11 +88,6 @@ 开始调查 删除

-

无 - 查看详情 - 开始调查 - 删除 -