This commit is contained in:
shijingjing
2022-03-14 17:41:41 +08:00
parent 037fc84d35
commit 1f43f8a052

View File

@@ -41,6 +41,9 @@
<span>身份证号</span>
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1********$2') }}</span>
</div>
<div class="spacial" v-if="item.idNumber == data.resident.idNumber">
<span v-for="(e,index) in spacialList" :key="index">{{e.applicationName}}</span>
</div>
</div>
</div>
</div>
@@ -60,6 +63,7 @@ export default {
id: '',
data: [],
resident: {},
spacialList: [],
}
},
computed: {},
@@ -81,6 +85,7 @@ export default {
this.$forceUpdate()
this.$nextTick(() => {
this.resident = res.data.resident
this.spacialList = res.data.resident.tsrqInfos
this.$forceUpdate()
})
}
@@ -192,6 +197,16 @@ export default {
.rightBottom {
margin-top: 20px;
}
.spacial {
margin-top: 10px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
span {
margin-right: 10px;
color: #ff4466;
}
}
}
}
.card:nth-child(2n-1) {