居民档案

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

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 {
}
} }
} }
} }