no message

This commit is contained in:
shijingjing
2022-04-29 17:53:20 +08:00
parent 8987b09157
commit 8bc68b050a
3 changed files with 69 additions and 29 deletions

View File

@@ -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