diff --git a/src/views/components/editResi.vue b/src/views/components/editResi.vue index fba7172b..eb57496a 100644 --- a/src/views/components/editResi.vue +++ b/src/views/components/editResi.vue @@ -137,7 +137,7 @@ - +
@@ -363,11 +363,11 @@ export default { if (item.required) { if (item.validType === 'mobile') { rules[item.columnName] = [ - { validator: checkMObile, trigger: 'blur' } + { required: true, validator: checkMObile, trigger: 'blur' } ] } else if (item.validType === 'id_card') { rules[item.columnName] = [ - { validator: checkIdCard, trigger: 'blur' } + { required: true, validator: checkIdCard, trigger: 'blur' } ] } else { rules[item.columnName] = [ @@ -501,7 +501,7 @@ export default { }, created () { this.initForm() - // console.log('formInfo---ggg', this.form) + console.log('formInfo---gggreg', this.rulesForm) if (this.supportAdd) { this.addList = [...this.mutiList] // console.log('addList----111', this.addList) diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue index 6ed432b4..bcd270de 100644 --- a/src/views/components/resiForm.vue +++ b/src/views/components/resiForm.vue @@ -105,7 +105,7 @@ - +
@@ -316,11 +316,11 @@ export default { if (item.required) { if (item.validType === 'mobile') { rules[item.columnName] = [ - { validator: checkMObile, trigger: 'blur' } + { required: true, validator: checkMObile, trigger: 'blur' } ] } else if (item.validType === 'id_card') { rules[item.columnName] = [ - { validator: checkIdCard, trigger: 'blur' } + { required: true, validator: checkIdCard, trigger: 'blur' } ] } else { rules[item.columnName] = [ diff --git a/src/views/modules/base/epidemic/travelForm.vue b/src/views/modules/base/epidemic/travelForm.vue index ed662cab..c6d1f6fc 100644 --- a/src/views/modules/base/epidemic/travelForm.vue +++ b/src/views/modules/base/epidemic/travelForm.vue @@ -53,7 +53,7 @@ diff --git a/src/views/modules/communityService/sqzzz/index.vue b/src/views/modules/communityService/sqzzz/index.vue index 669cbc1b..c69e933e 100644 --- a/src/views/modules/communityService/sqzzz/index.vue +++ b/src/views/modules/communityService/sqzzz/index.vue @@ -95,7 +95,7 @@ align="center" > diff --git a/src/views/modules/visual/basicinfo/people.vue b/src/views/modules/visual/basicinfo/people.vue index 146a16d0..2079e0d6 100644 --- a/src/views/modules/visual/basicinfo/people.vue +++ b/src/views/modules/visual/basicinfo/people.vue @@ -139,12 +139,8 @@ src="@/assets/img/shuju/people/huzhu-line/zuo2.png" />
- - {{ - houseInfo.userList[0].relation - }} - ({{ houseInfo.userList[0].userName }}) +
{{ houseInfo.userList[0].relation }}
+
{{ houseInfo.userList[0].userName }}