no message
This commit is contained in:
@@ -307,7 +307,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.mandarin == '01' ? 'check-active' : '' " @click="form.mandarin='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.mandarin != '01' ? 'check-active' : '' " @click="form.mandarin='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.mandarin == '02' ? 'check-active' : '' " @click="form.mandarin='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -382,7 +382,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.foreignWorkers == '01' ? 'check-active' : '' " @click="form.foreignWorkers='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.foreignWorkers != '01' ? 'check-active' : '' " @click="form.foreignWorkers='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.foreignWorkers == '02' ? 'check-active' : '' " @click="form.foreignWorkers='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.dilapidatedHousehold == '01' ? 'check-active' : '' " @click="form.dilapidatedHousehold='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.dilapidatedHousehold != '01' ? 'check-active' : '' " @click="form.dilapidatedHousehold='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.dilapidatedHousehold == '02' ? 'check-active' : '' " @click="form.dilapidatedHousehold='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -80,7 +80,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.drinkingWaterSafety == '01' ? 'check-active' : '' " @click="form.drinkingWaterSafety='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.drinkingWaterSafety != '01' ? 'check-active' : '' " @click="form.drinkingWaterSafety='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.drinkingWaterSafety == '02' ? 'check-active' : '' " @click="form.drinkingWaterSafety='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -92,7 +92,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.houseDamage == '01' ? 'check-active' : '' " @click="form.houseDamage='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.houseDamage !='01' ? 'check-active' : '' " @click="form.houseDamage='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.houseDamage == '02' ? 'check-active' : '' " @click="form.houseDamage='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -104,7 +104,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.drinkingWaterDamage == '01' ? 'check-active' : '' " @click="form.drinkingWaterDamage='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.drinkingWaterDamage !='01' ? 'check-active' : '' " @click="form.drinkingWaterDamage='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.drinkingWaterDamage == '02' ? 'check-active' : '' " @click="form.drinkingWaterDamage='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -116,7 +116,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.toilet == '01' ? 'check-active' : '' " @click="form.toilet='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.toilet !='01' ? 'check-active' : '' " @click="form.toilet='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.toilet == '02' ? 'check-active' : '' " @click="form.toilet='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -128,7 +128,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.electric == '01' ? 'check-active' : '' " @click="form.electric='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.electric !='01' ? 'check-active' : '' " @click="form.electric='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.electric == '02' ? 'check-active' : '' " @click="form.electric='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -140,7 +140,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.television == '01' ? 'check-active' : '' " @click="form.television='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.television !='01' ? 'check-active' : '' " @click="form.television='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.television == '02' ? 'check-active' : '' " @click="form.television='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -228,7 +228,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.longtouqiye == '01' ? 'check-active' : '' " @click="form.longtouqiye='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.longtouqiye != '01' ? 'check-active' : '' " @click="form.longtouqiye='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.longtouqiye == '02' ? 'check-active' : '' " @click="form.longtouqiye='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -240,7 +240,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.produceElectric == '01' ? 'check-active' : '' " @click="form.produceElectric='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.produceElectric != '01' ? 'check-active' : '' " @click="form.produceElectric='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.produceElectric == '02' ? 'check-active' : '' " @click="form.produceElectric='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -252,7 +252,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.nongheshe == '01' ? 'check-active' : '' " @click="form.nongheshe='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.nongheshe !='01' ? 'check-active' : '' " @click="form.nongheshe='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.nongheshe == '02' ? 'check-active' : '' " @click="form.nongheshe='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -264,7 +264,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.cyzfdtr == '01' ? 'check-active' : '' " @click="form.cyzfdtr='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.cyzfdtr !='01' ? 'check-active' : '' " @click="form.cyzfdtr='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.cyzfdtr == '02' ? 'check-active' : '' " @click="form.cyzfdtr='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -281,28 +281,28 @@ export default {
|
||||
return {
|
||||
form: {
|
||||
houseType: '',
|
||||
dilapidatedHousehold: '02',
|
||||
drinkingWaterSafety: '02',
|
||||
move: '02',
|
||||
dilapidatedHousehold: '',
|
||||
drinkingWaterSafety: '',
|
||||
move: '',
|
||||
houseArea: '',
|
||||
trunkRoadDistance: '',
|
||||
houseRoadType: '',
|
||||
fuelType:'',
|
||||
houseDamage: '02',
|
||||
drinkingWaterDamage: '02',
|
||||
toilet: '02',
|
||||
electric: '02',
|
||||
television: '02',
|
||||
houseDamage: '',
|
||||
drinkingWaterDamage: '',
|
||||
toilet: '',
|
||||
electric: '',
|
||||
television: '',
|
||||
cultivatedLandArea: '', // 耕地面积
|
||||
orchardArea: '',
|
||||
woodlandArea: '',
|
||||
grainForGreenArea: '',
|
||||
grazingGrasslandArea: '',
|
||||
watersArea: '',
|
||||
longtouqiye: '02',
|
||||
produceElectric: '02',
|
||||
nongheshe: '02',
|
||||
cyzfdtr: '02',
|
||||
longtouqiye: '',
|
||||
produceElectric: '',
|
||||
nongheshe: '',
|
||||
cyzfdtr: '',
|
||||
},
|
||||
id: '',
|
||||
girdId: '',
|
||||
@@ -343,6 +343,40 @@ export default {
|
||||
|
||||
submit() {
|
||||
|
||||
if(!this.form.dilapidatedHousehold) {
|
||||
return this.$u.toast('请选择是否危房')
|
||||
}
|
||||
if(!this.form.drinkingWaterSafety) {
|
||||
return this.$u.toast('请选择是否解决安全饮水')
|
||||
}
|
||||
if(!this.form.houseDamage) {
|
||||
return this.$u.toast('请选择是否住房损坏')
|
||||
}
|
||||
if(!this.form.drinkingWaterDamage) {
|
||||
return this.$u.toast('请选择是否饮水设施损坏')
|
||||
}
|
||||
if(!this.form.toilet) {
|
||||
return this.$u.toast('请选择是否有卫生厕所')
|
||||
}
|
||||
if(!this.form.electric) {
|
||||
return this.$u.toast('请选择是否通生活用电')
|
||||
}
|
||||
if(!this.form.television) {
|
||||
return this.$u.toast('请选择是否通广播电视')
|
||||
}
|
||||
if(!this.form.longtouqiye) {
|
||||
return this.$u.toast('请选择是否有龙头企业带动')
|
||||
}
|
||||
if(!this.form.produceElectric) {
|
||||
return this.$u.toast('请选择是否通生产用电')
|
||||
}
|
||||
if(!this.form.nongheshe) {
|
||||
return this.$u.toast('请选择是否加入农民专业合作社')
|
||||
}
|
||||
if(!this.form.cyzfdtr) {
|
||||
return this.$u.toast('请选择是否有创业致富带头人带动')
|
||||
}
|
||||
|
||||
this.form.girdId = this.girdId
|
||||
this.form.girdName = this.girdName
|
||||
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.militaryMartyrs == '01' ? 'check-active' : '' " @click="form.militaryMartyrs='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.militaryMartyrs != '01' ? 'check-active' : '' " @click="form.militaryMartyrs='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.militaryMartyrs == '02' ? 'check-active' : '' " @click="form.militaryMartyrs='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -71,7 +71,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.dropOutOfSchool == '01' ? 'check-active' : '' " @click="form.dropOutOfSchool='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.dropOutOfSchool != '01' ? 'check-active' : '' " @click="form.dropOutOfSchool='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.dropOutOfSchool == '02' ? 'check-active' : '' " @click="form.dropOutOfSchool='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -102,8 +102,8 @@ export default {
|
||||
povertyYear: '',
|
||||
riskType: '',
|
||||
naturalDisasterType: '',
|
||||
militaryMartyrs: '02',
|
||||
dropOutOfSchool: '02',
|
||||
militaryMartyrs: '',
|
||||
dropOutOfSchool: '',
|
||||
dropOutOfSchoolReason: '',
|
||||
},
|
||||
value: '',
|
||||
@@ -140,6 +140,12 @@ export default {
|
||||
if (!this.form.riskType) {
|
||||
return this.$u.toast('请选择风险因素')
|
||||
}
|
||||
if (!this.form.militaryMartyrs) {
|
||||
return this.$u.toast('是否军烈属')
|
||||
}
|
||||
if (!this.form.dropOutOfSchool) {
|
||||
return this.$u.toast('是否义务阶段失学辍学')
|
||||
}
|
||||
|
||||
this.form.girdId = this.girdId
|
||||
this.form.girdName = this.girdName
|
||||
|
||||
Reference in New Issue
Block a user