no message
This commit is contained in:
@@ -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