居民档案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 this.$http
.post('/app/appresident/list', null, { .post('/app/appresident/list', null, {
params: { params: {
size: this.size, size: 20,
current: this.current, current: this.current,
con: this.keyword, con: this.keyword,
areaId: this.areaId, areaId: this.areaId,

View File

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

View File

@@ -7,7 +7,7 @@
<div class="areaHint"> <div class="areaHint">
<u-icon name="map-fill" color="#73ABFF"></u-icon> <u-icon name="map-fill" color="#73ABFF"></u-icon>
<span>{{ resident.currentAreaName }}</span> <span style="margin-left: 14px;">{{resident.currentAreaName}}</span>
<span v-if="resident.currentAddress">{{resident.currentAddress}}</span> <span v-if="resident.currentAddress">{{resident.currentAddress}}</span>
</div> </div>
</div> </div>
@@ -40,7 +40,7 @@
<div class="rightBottom"> <div class="rightBottom">
<span>身份证号</span> <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> </div>
</div> </div>
@@ -116,9 +116,6 @@ export default {
} }
.areaHint { .areaHint {
margin-top: 38px; margin-top: 38px;
span {
margin-left: 14px;
}
} }
} }

View File

@@ -32,7 +32,7 @@
<div class="item"> <div class="item">
<span>身份证号</span> <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>
<div class="item"> <div class="item">