From 761da8b8c7d571d3e1f080f537eb61fe29d8705c Mon Sep 17 00:00:00 2001 From: QI_YUJIE <2878090898@qq.com> Date: Wed, 30 Aug 2023 08:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E6=9D=83=E8=B0=83=E6=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../village/contractor/contractorFamilyDetail.vue | 6 ++++++ .../contracted/village/contractor/contractorLandDetail.vue | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/contracted/village/contractor/contractorFamilyDetail.vue b/src/views/contracted/village/contractor/contractorFamilyDetail.vue index bf88229d..ebb0478d 100644 --- a/src/views/contracted/village/contractor/contractorFamilyDetail.vue +++ b/src/views/contracted/village/contractor/contractorFamilyDetail.vue @@ -207,6 +207,9 @@ message: '保存成功', duration:"1000", onClose: () => { + if (this.form.yhzgx === '02') { + this.$route.params.cbfmc = this.form.cyxm; + } this.goBack(); } }); @@ -222,6 +225,9 @@ message: '保存成功', duration:"1000", onClose: () => { + if (this.form.yhzgx === '02') { + this.$route.params.cbfmc = this.form.cyxm; + } this.goBack(); } }); diff --git a/src/views/contracted/village/contractor/contractorLandDetail.vue b/src/views/contracted/village/contractor/contractorLandDetail.vue index 6a9a0a55..88fb0a40 100644 --- a/src/views/contracted/village/contractor/contractorLandDetail.vue +++ b/src/views/contracted/village/contractor/contractorLandDetail.vue @@ -168,10 +168,14 @@ this.getDicts("is_common").then(response => { this.sfjbntOptions = response.data; }); + }, + mounted() { if (this.$route.params.id) { this.titleName = '修改承包地信息'; this.isDisabled = true; - this.getDetail(); + setTimeout(() => { + this.getDetail(); + }, 500) } else { this.titleName = '新增承包地信息'; this.resetForm();