bug
This commit is contained in:
		| @@ -72,7 +72,6 @@ export default { | ||||
|       this.getList() | ||||
|     }) | ||||
|     this.getList() | ||||
|     this.getUserInfo() | ||||
|   }, | ||||
|   methods: { | ||||
|     search(e) { | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|       </div> | ||||
|       <div class="info"> | ||||
|         <div class="name">{{ data.name }}</div> | ||||
|         <div class="idNumber">{{ data.idNumber.replace(/(.{6}).*(.{4})/, '$1********$2') }}</div> | ||||
|         <div class="idNumber">{{ data.householdIdNumber.replace(/(.{6}).*(.{4})/, '$1********$2') }}</div> | ||||
|       </div> | ||||
|       <div class="relation" :style="{color:data.householdRelation == 11? '#4181FF' : '#999999' }"> | ||||
|         {{ $dict.getLabel('householdRelation',data.householdRelation) }} | ||||
| @@ -84,10 +84,14 @@ export default { | ||||
|       data: {}, | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   onShow() { | ||||
|     this.getUserInfo() | ||||
|   }, | ||||
|  | ||||
|   onLoad(o) { | ||||
|     this.$dict.load('sex','householdRelation','nation','education','maritalStatus','politicsStatus','faithType','job') | ||||
|     this.id = o.id | ||||
|     this.getUserInfo() | ||||
|   }, | ||||
|   methods: { | ||||
|     getUserInfo() { | ||||
| @@ -97,6 +101,7 @@ export default { | ||||
|         } | ||||
|       }).then(res => { | ||||
|         if(res.code ==0) { | ||||
|           console.log(res); | ||||
|           this.data = res.data.resident | ||||
|         } | ||||
|       }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user