Browse Source

居民画像居民详情弹窗修改

V1.0
张若晨 2 years ago
parent
commit
a30e8d0062
  1. 3
      src/views/dataBoard/cpts/personnel/index.vue
  2. 17
      src/views/dataBoard/cpts/resi-details.vue

3
src/views/dataBoard/cpts/personnel/index.vue

@ -17,7 +17,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<data-title title="享受服务次数统计" /> <data-title title="享受服务次数统计" />
<div style="height:12px"></div> <div style="height: 12px"></div>
<EnjoyService /> <EnjoyService />
</el-col> </el-col>
<el-col :span="11" :offset="1"> <el-col :span="11" :offset="1">
@ -30,6 +30,7 @@
<resi-details <resi-details
@close="popupShow = false" @close="popupShow = false"
:resi-id="resId" :resi-id="resId"
:popupShow="popupShow"
v-if="popupShow" v-if="popupShow"
/> />
</div> </div>

17
src/views/dataBoard/cpts/resi-details.vue

@ -1,5 +1,5 @@
<template> <template>
<popup title="居民详情" @close="handleClose"> <popup title="居民详情" v-if="popupShow" @close="handleClose">
<template v-slot:cnt> <template v-slot:cnt>
<div class="m-info"> <div class="m-info">
<div class="subtitle"> <div class="subtitle">
@ -671,6 +671,10 @@ export default {
type: String, type: String,
default: "", default: "",
}, },
popupShow: {
type: Boolean,
default: false,
},
}, },
components: { popup }, components: { popup },
@ -837,10 +841,13 @@ export default {
}; };
}, },
watch: { watch: {
resiId(val) { popupShow: {
if (val) { handler(val) {
this.getApiData(); if (val) {
} this.getApiData();
}
},
immediate: true,
}, },
}, },
computed: { computed: {

Loading…
Cancel
Save