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)