This commit is contained in:
liuye
2022-02-22 11:53:39 +08:00
parent 4d208cfe21
commit a046b6d5ad
4 changed files with 8 additions and 8 deletions

View File

@@ -389,7 +389,7 @@ export default {
// width: 28px;;
height: 28px;
line-height: 28px;
padding: 0 8px;
padding: 0 9px;
text-align: center;
color: #fff;
font-size: 10px;

View File

@@ -7,8 +7,7 @@
<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>{{resident.currentAreaName}}{{resident.currentAddress || ''}}</span>
</div>
</div>
@@ -40,7 +39,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>
@@ -66,13 +65,14 @@ export default {
computed: {},
watch: {},
onLoad(o) {
document.title = '居民档案'
this.id = o.id
this.$dict.load('householdRelation', 'fileStatus').then(() => {
this.getDetail()
})
},
onShow() {},
onShow() {
document.title = '居民档案'
},
methods: {
getDetail() {
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {

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">

View File

@@ -81,7 +81,7 @@ export default {
this.getList()
},
onShow() {
document.title = '居民列表'
document.title = '查看居民档案'
},
methods: {
getList() {