居民档案

This commit is contained in:
yanran200730
2022-08-08 14:49:33 +08:00
parent 27da7731ba
commit 73f64a9eb5
3 changed files with 121 additions and 114 deletions

View File

@@ -48,14 +48,13 @@
</template>
<script>
import {mapState} from 'vuex'
import {mapState} from 'vuex'
export default {
export default {
name: 'AppResidentDocument',
appName: '居民管理',
components: {},
props: {},
data() {
data () {
return {
keyword: '',
datas: [],
@@ -75,11 +74,12 @@ export default {
areaName: ''
}
},
computed: {
...mapState(['user']),
},
watch: {},
onLoad() {
onLoad () {
this.areaId = this.user.areaId
this.areaName = this.user.areaName
this.getList()
@@ -88,9 +88,7 @@ export default {
this.getList()
})
},
onShow() {
document.title = '居民管理'
},
methods: {
getList() {
this.$loading()
@@ -168,7 +166,7 @@ export default {
this.current++
this.getList()
},
}
}
</script>
<style scoped lang="scss">

View File

@@ -1,6 +1,5 @@
<template>
<div class="DetailCard" v-if="pageShow">
<div class="top"></div>
<div class="middle">
<div class="hint">家庭地址</div>
<div class="areaHint">

View File

@@ -198,9 +198,19 @@
display: flex;
justify-content: space-between;
padding: 14px 0;
.phones {
color: #3d94fb;
}
span:first-child {
flex-shrink: 1;
margin-right: 20rpx;
}
span:last-child {
}
}
}
}