居民档案年龄

This commit is contained in:
liuye
2022-02-14 15:24:13 +08:00
parent 1a3906f554
commit 6dd95306ff
2 changed files with 4 additions and 2 deletions

View File

@@ -163,6 +163,7 @@ export default {
margin-right: 32px;
width: 80px;
height: 80px;
border-radius: 50%;
}
.userInfo {
width: 100%;

View File

@@ -159,7 +159,8 @@ export default {
householdAreaId: '',
householdAreaName: '',
householdAddress: '',
residentType: ''
residentType: '',
age: ''
},
showSelect: false,
formName: '',
@@ -215,7 +216,7 @@ export default {
// if(!this.form.householdAddress) {
// return this.$u.toast('请输入户籍地址详细地址')
// }
this.form.age = this.$calcAge(this.form.idNumber)
this.$http.post('/app/appresident/addOrUpdate', this.form).then(res => {
if (res.code === 0) {
this.$u.toast('新增成功')