防返贫

This commit is contained in:
yanran200730
2022-01-13 10:22:12 +08:00
parent bfbb21228e
commit ca29a77dd2
3 changed files with 32 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
<template>
<section class="list">
<ai-list>
<ai-title slot="title" title="监测对象" isShowBottomBorder isShowArea v-model="areaId" :instance="instance" @change="page.current=1,getTableData()">
<ai-title slot="title" title="监测对象" isShowBottomBorder isShowArea v-if="areaId" v-model="areaId" :instance="instance" @change="page.current=1,getTableData()">
<template #rightBtn>
<el-button size="small" icon="iconfont iconSetting" type="primary" @click="showSet = true">预警规则</el-button>
</template>
@@ -153,15 +153,6 @@ export default {
}
})
},
getStaData() {
this.instance.post(`/app/appvaccineinoculationuser/countByAreaId`, null, {
params: {areaId: this.areaId}
}).then(res => {
if (res?.data) {
this.staData = res.data
}
})
},
addSet() {
this.$refs["rules"].validate((valid) => {
if (valid) {
@@ -185,7 +176,6 @@ export default {
});
},
getTableData() {
this.page.current == 1 && this.getStaData()
this.instance.post(`/app/apppreventionreturntopoverty/list`, null, {
params: {...this.search, ...this.page, addressAreaId: this.areaId, status: this.status}
}).then(res => {