From 23413286e8cafb546c2ec826f8644c4043d4ff36 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Sun, 27 Feb 2022 21:00:26 +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 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index cba748a0..1daacdcd 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -2643,8 +2643,18 @@ }, created(){ if(this.$cookies.get("search")){ - this.item = this.$cookies.get("search"); - console.log(this.$cookies.get("search")) + this.item = this.$cookies.get("search").mapZjdAData + if(this.item.active=="2"){ + this.active = "3" + this.getZrzList() + this.showzrz=true + this.form3 = this.$cookies.get("search").mapZrzData + }else if(this.item.active=="3"){ + this.active = "4" + this.getFsssList() + this.showfsss=true + this.form3 = this.$cookies.get("search").mapFsssData + } }else{ this.$set(this.item,"deptId",this.$cookies.get("item").deptId) }