居民档案年龄
This commit is contained in:
@@ -163,6 +163,7 @@ export default {
|
|||||||
margin-right: 32px;
|
margin-right: 32px;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
.userInfo {
|
.userInfo {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -159,7 +159,8 @@ export default {
|
|||||||
householdAreaId: '',
|
householdAreaId: '',
|
||||||
householdAreaName: '',
|
householdAreaName: '',
|
||||||
householdAddress: '',
|
householdAddress: '',
|
||||||
residentType: ''
|
residentType: '',
|
||||||
|
age: ''
|
||||||
},
|
},
|
||||||
showSelect: false,
|
showSelect: false,
|
||||||
formName: '',
|
formName: '',
|
||||||
@@ -215,7 +216,7 @@ export default {
|
|||||||
// if(!this.form.householdAddress) {
|
// if(!this.form.householdAddress) {
|
||||||
// return this.$u.toast('请输入户籍地址详细地址')
|
// return this.$u.toast('请输入户籍地址详细地址')
|
||||||
// }
|
// }
|
||||||
|
this.form.age = this.$calcAge(this.form.idNumber)
|
||||||
this.$http.post('/app/appresident/addOrUpdate', this.form).then(res => {
|
this.$http.post('/app/appresident/addOrUpdate', this.form).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$u.toast('新增成功')
|
this.$u.toast('新增成功')
|
||||||
|
|||||||
Reference in New Issue
Block a user