diff --git a/src/views/modules/epidemic/persontesting-add-or-update-mobile.vue b/src/views/modules/epidemic/persontesting-add-or-update-mobile.vue index 4c63dc8..acb1734 100644 --- a/src/views/modules/epidemic/persontesting-add-or-update-mobile.vue +++ b/src/views/modules/epidemic/persontesting-add-or-update-mobile.vue @@ -228,6 +228,9 @@ } this.dataForm.name = res.data.userName this.dataForm.mobile = res.data.mobile + let identifyNo = this.dataForm.idcard + this.dataForm.sex = this.IdCard(identifyNo, 2) + this.dataForm.birthday = this.IdCard(identifyNo, 1) }).catch(() => { }) }, IdCard (UUserCard, num) {