居民档案

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

@@ -53,8 +53,7 @@ import {mapState} from 'vuex'
export default { export default {
name: 'AppResidentDocument', name: 'AppResidentDocument',
appName: '居民管理', appName: '居民管理',
components: {},
props: {},
data () { data () {
return { return {
keyword: '', keyword: '',
@@ -75,10 +74,11 @@ export default {
areaName: '' areaName: ''
} }
}, },
computed: { computed: {
...mapState(['user']), ...mapState(['user']),
}, },
watch: {},
onLoad () { onLoad () {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
@@ -88,9 +88,7 @@ export default {
this.getList() this.getList()
}) })
}, },
onShow() {
document.title = '居民管理'
},
methods: { methods: {
getList() { getList() {
this.$loading() this.$loading()

View File

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

View File

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