From 6c2b0971973ebe1c15d62bd167137b25a11a2cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Thu, 17 Jul 2025 17:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sunVillage_info/list_operatingAssets_detail.vue | 4 ++-- .../list_operatingAssets_detail2.vue | 13 +++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/views/sunVillage_info/list_operatingAssets_detail.vue b/src/views/sunVillage_info/list_operatingAssets_detail.vue index eb911675..af3a6997 100644 --- a/src/views/sunVillage_info/list_operatingAssets_detail.vue +++ b/src/views/sunVillage_info/list_operatingAssets_detail.vue @@ -7,7 +7,7 @@
固定资产信息 - + @@ -47,7 +47,7 @@ }; jyxzcqkgkDetail(this.$route.query.id).then((res) => { if (res.code === 200) { - res.data.useType = this.selectDictLabel(this.useTypeOptions, res.data.useType); + res.data.useTypeText = this.selectDictLabel(this.useTypeOptions, res.data.useType); this.form = res.data; } }) diff --git a/src/views/sunVillage_info/list_operatingAssets_detail2.vue b/src/views/sunVillage_info/list_operatingAssets_detail2.vue index 5a273bf3..8b04995d 100644 --- a/src/views/sunVillage_info/list_operatingAssets_detail2.vue +++ b/src/views/sunVillage_info/list_operatingAssets_detail2.vue @@ -6,8 +6,8 @@
资源性资产信息 - - + +
关联合同信息 @@ -29,7 +29,7 @@ return { form: {}, useTypeOptions: [], - usedTypeOptions: [], + usedAreaOptions: [], resourceTypeOptions: [] }; }, @@ -37,9 +37,6 @@ this.getDicts("use_type").then((response) => { this.useTypeOptions = response.data; }); - this.getDicts("used_area").then((response) => { - this.usedTypeOptions = response.data; - }); this.getDicts("resource_type").then((response) => { this.resourceTypeOptions = response.data; }); @@ -54,8 +51,8 @@ }; jyxzyqkgkDetail(this.$route.query.id).then((res) => { if (res.code === 200) { - res.data.useType = this.selectDictLabel(this.useTypeOptions, res.data.useType); - res.data.resourceType = this.selectDictLabel(this.resourceTypeOptions, res.data.resourceType); + res.data.useTypeText = this.selectDictLabel(this.useTypeOptions, res.data.useType); + res.data.resourceTypeText = this.selectDictLabel(this.resourceTypeOptions, res.data.resourceType); this.form = res.data; } })