Commit a9c6e11e14237d78809b4b6ea2b8b180622e1a03
1 parent
a5bf3843
Exists in
master
feat: 身份证优先
Showing
1 changed file
with
5 additions
and
5 deletions
 
Show diff stats
src/views/Home/component/AddChildPopupGroup.vue
| ... | ... | @@ -8,11 +8,11 @@ | 
| 8 | 8 | <template v-if="cardAuth"> | 
| 9 | 9 | <div class="item"> | 
| 10 | 10 | <p class="phone_title">姓名</p> | 
| 11 | - <input class="code" type="text" v-model="cardName" placeholder="请输入证件姓名" /> | |
| 11 | + <input class="code" type="text" v-model="cardName" placeholder="请输入学生证件姓名" /> | |
| 12 | 12 | </div> | 
| 13 | 13 | <div class="item"> | 
| 14 | 14 | <p class="phone_title">身份证号码</p> | 
| 15 | - <input class="code" type="text" v-model="cardId" placeholder="请输入身份证号码" /> | |
| 15 | + <input class="code" type="text" v-model="cardId" placeholder="请输入学生身份证号码" /> | |
| 16 | 16 | </div> | 
| 17 | 17 | <button class="submit" @click="checkCard">完成</button> | 
| 18 | 18 | <p class="change-btn" @click="cardAuth = false">使用手机号码认证</p> | 
| ... | ... | @@ -379,7 +379,7 @@ export default { | 
| 379 | 379 | schoolId: '', | 
| 380 | 380 | |
| 381 | 381 | chooseSchoolisShow: false, | 
| 382 | - cardAuth: false, //是否身份证认证 | |
| 382 | + cardAuth: true, //是否身份证认证 | |
| 383 | 383 | cardName: '', | 
| 384 | 384 | cardId: '', | 
| 385 | 385 | } | 
| ... | ... | @@ -491,11 +491,11 @@ export default { | 
| 491 | 491 | // 获取身份证认证 | 
| 492 | 492 | checkCard() { | 
| 493 | 493 | if (!this.cardName) { | 
| 494 | - this.$toast('请输入证件姓名') | |
| 494 | + this.$toast('请输入学生证件姓名') | |
| 495 | 495 | return | 
| 496 | 496 | } | 
| 497 | 497 | if (!this.cardId) { | 
| 498 | - this.$toast('请输入身份证号') | |
| 498 | + this.$toast('请输入学生身份证号') | |
| 499 | 499 | return | 
| 500 | 500 | } | 
| 501 | 501 | this.$toast.loading({ | ... | ... | 
