居民档案

This commit is contained in:
花有清香月有阴
2021-12-21 15:45:52 +08:00
parent 2d81852c6f
commit 88e358a8ad
7 changed files with 436 additions and 65 deletions

View File

@@ -0,0 +1,44 @@
<template>
<div class="DetailPeople">DetailPeople</div>
</template>
<script>
export default {
name: 'DetailPeople',
components: {},
props: {},
data() {
return {
id: '',
data: [],
}
},
computed: {},
watch: {},
onLoad(o) {
this.id = o.id
this.$dict.load('householdRelation').then(() => {
this.getDetail()
})
},
onShow() {},
methods: {
getDetail() {
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {
if (res.code == 0) {
this.data = res.data
// this.$nextTick(() => {
// this.currentAreaName = res.data.resident.currentAreaName
// })
}
})
},
},
}
</script>
<style scoped lang="scss">
.DetailPeople {
height: 100%;
}
</style>