居民档案bug

This commit is contained in:
liuye
2022-03-17 14:17:42 +08:00
parent c86e46296a
commit a05bfbb480
4 changed files with 7 additions and 8 deletions

View File

@@ -104,7 +104,7 @@ export default {
this.$http
.post('/app/appresident/list', null, {
params: {
size: this.size,
size: 20,
current: this.current,
con: this.keyword,
areaId: this.areaId,

View File

@@ -225,6 +225,8 @@ export default {
delta: 1
})
}
}).catch((err) => {
this.$u.toast(err)
})
},

View File

@@ -7,8 +7,8 @@
<div class="areaHint">
<u-icon name="map-fill" color="#73ABFF"></u-icon>
<span>{{ resident.currentAreaName }}</span>
<span v-if="resident.currentAddress">{{ resident.currentAddress }}</span>
<span style="margin-left: 14px;">{{resident.currentAreaName}}</span>
<span v-if="resident.currentAddress">{{resident.currentAddress}}</span>
</div>
</div>
@@ -40,7 +40,7 @@
<div class="rightBottom">
<span>身份证号</span>
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1******$2') }}</span>
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1********2') }}</span>
</div>
</div>
</div>
@@ -116,9 +116,6 @@ export default {
}
.areaHint {
margin-top: 38px;
span {
margin-left: 14px;
}
}
}

View File

@@ -32,7 +32,7 @@
<div class="item">
<span>身份证号</span>
<span>{{ data.resident && data.resident.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}</span>
<span>{{ data.resident && data.resident.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1********$2') }}</span>
</div>
<div class="item">