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;; // width: 28px;;
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
padding: 0 8px; padding: 0 9px;
text-align: center; text-align: center;
color: #fff; color: #fff;
font-size: 10px; font-size: 10px;

View File

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

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

View File

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