防返贫

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

@@ -0,0 +1,29 @@
<template>
<div class="family">
</div>
</template>
<script>
export default {
name: 'Family',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
</style>

View File

@@ -63,9 +63,10 @@
:size.sync="page.size"
@selection-change="(v) => (ids = v.map((e) => e.id))"
@getList="getList()">
<el-table-column label="操作" slot="options" align="center" fixed="right" width="120">
<el-table-column label="操作" slot="options" align="center" fixed="right" width="170">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="add(row.id)">责任家庭</el-button>
<el-button type="text" @click="add(row.id)">查看</el-button>
<el-button type="text" @click="deleteById(row.id)">删除</el-button>
</div>

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