From 814e3968df05d8803c12091491003c80de955bc6 Mon Sep 17 00:00:00 2001 From: hbao Date: Wed, 2 Mar 2022 17:36:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/list.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index 15a54ee0..4e799471 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -1384,7 +1384,6 @@ this.mapAddJump = this.$cookies.get("item").backMapZjdAData.deptId; this.mapAddJumpNum =1; this.mapShow(); - this.onSubmitnh(); } }else { this.item = this.$cookies.get("item"); @@ -2813,9 +2812,17 @@ 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) => { console.log(response);