From 3fba6c7b37bd8212095b9a1009ffab9779efc1a1 Mon Sep 17 00:00:00 2001 From: yangfuda <945208611@qq.com> Date: Wed, 24 Sep 2025 15:20:22 +0800 Subject: [PATCH] =?UTF-8?q?TASK=2045932=20=E8=B5=84=E4=BA=A7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=A8=A1=E5=9D=97=E4=B8=8B=E5=A2=9E=E5=8A=A0=E2=80=9C?= =?UTF-8?q?=E4=BA=A7=E4=B8=9A=E4=BF=A1=E6=81=AF=E2=80=9D=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Map/MapGisLine.vue | 2 +- src/views/sunVillage_info/industryAdd.vue | 12 ++-- src/views/sunVillage_info/industryDetail.vue | 76 +++++++++++--------- src/views/sunVillage_info/industryEdit.vue | 14 ++-- 4 files changed, 55 insertions(+), 49 deletions(-) diff --git a/src/components/Map/MapGisLine.vue b/src/components/Map/MapGisLine.vue index 14869cbd..349bedb2 100644 --- a/src/components/Map/MapGisLine.vue +++ b/src/components/Map/MapGisLine.vue @@ -9,7 +9,7 @@       - +   
diff --git a/src/views/sunVillage_info/industryAdd.vue b/src/views/sunVillage_info/industryAdd.vue index 16e07a9f..8aa116e1 100644 --- a/src/views/sunVillage_info/industryAdd.vue +++ b/src/views/sunVillage_info/industryAdd.vue @@ -82,7 +82,7 @@ @cancel="showOccupyLand = false" /> - + - - - - + + + + - + diff --git a/src/views/sunVillage_info/industryDetail.vue b/src/views/sunVillage_info/industryDetail.vue index 8486b7f8..79f2eed2 100644 --- a/src/views/sunVillage_info/industryDetail.vue +++ b/src/views/sunVillage_info/industryDetail.vue @@ -13,7 +13,7 @@ - - + --> + - - + --> + - - + + + + + - - + --> + - - - - - + + + + + + + @@ -234,33 +240,33 @@ created() { this.houseGetDicts("sys_yes_no").then((response) => { this.sysYesNoSelect = response.data; - for(var i = 0 ; i < response.data.length ; i++){ - this.sysYesNoOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); - } + // for(var i = 0 ; i < response.data.length ; i++){ + // this.sysYesNoOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); + // } }); this.houseGetDicts("industry_rights_type").then((response) => { this.industryRightsSelect = response.data; - for(var i = 0 ; i < response.data.length ; i++){ - this.industryRightsOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); - } + // for(var i = 0 ; i < response.data.length ; i++){ + // this.industryRightsOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); + // } }); this.houseGetDicts("occupy_land_type").then((response) => { this.occupyLandTypeSelect = response.data; - for(var i = 0 ; i < response.data.length ; i++){ - this.occupyLandTypeOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); - } + // for(var i = 0 ; i < response.data.length ; i++){ + // this.occupyLandTypeOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); + // } }); this.houseGetDicts("land_source").then((response) => { this.landSourceSelect = response.data; - for(var i = 0 ; i < response.data.length ; i++){ - this.landSourceOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); - } + // for(var i = 0 ; i < response.data.length ; i++){ + // this.landSourceOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); + // } }); this.houseGetDicts("purpose_type").then((response) => { this.industryTypeSelect = response.data; - for(var i = 0 ; i < response.data.length ; i++){ - this.industryTypeOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); - } + // for(var i = 0 ; i < response.data.length ; i++){ + // this.industryTypeOptions.push({text:response.data[i].dictLabel,value:response.data[i].dictValue}); + // } }); this.getDetail(); }, diff --git a/src/views/sunVillage_info/industryEdit.vue b/src/views/sunVillage_info/industryEdit.vue index f236aaa3..f759ae9a 100644 --- a/src/views/sunVillage_info/industryEdit.vue +++ b/src/views/sunVillage_info/industryEdit.vue @@ -82,7 +82,7 @@ @cancel="showOccupyLand = false" /> - + - - - - + + + + - + @@ -315,7 +315,7 @@ onSubmit(){ updateIndustry(this.form).then(response => { if (response.code == 200){ - this.$notify({ type: 'success', message: '新增成功' }); + this.$notify({ type: 'success', message: '修改成功' }); setTimeout(function(){ history.back(-1); },2000)