diff --git a/packages/3.0.0/AppHealthReport/components/List.vue b/packages/3.0.0/AppHealthReport/components/List.vue index ca079595..e6503b23 100644 --- a/packages/3.0.0/AppHealthReport/components/List.vue +++ b/packages/3.0.0/AppHealthReport/components/List.vue @@ -185,6 +185,18 @@ this.getTotalInfo() }, + remove(id) { + this.$confirm('确定删除该数据?').then(() => { + this.instance.post(`/app/appepidemicreportmember/delete?ids=${id}`).then(res => { + if (res.code == 0) { + this.$message.success('删除成功!') + this.getTotalInfo() + this.getList() + } + }) + }) + }, + toDetail (id) { this.$emit('change', { type: 'Detail', diff --git a/packages/3.0.0/AppReturnHomeRegister/components/List.vue b/packages/3.0.0/AppReturnHomeRegister/components/List.vue index 18baa94a..741ede6b 100644 --- a/packages/3.0.0/AppReturnHomeRegister/components/List.vue +++ b/packages/3.0.0/AppReturnHomeRegister/components/List.vue @@ -193,6 +193,19 @@ }) }, + remove(id) { + this.$confirm('确定删除该数据?').then(() => { + this.instance.post(`/app/appepidemicbackhomerecord/delete?ids=${id}`).then(res => { + if (res.code == 0) { + this.$message.success('删除成功!') + this.getTotalInfo() + this.getList() + } + }) + }) + }, + + getTotalInfo () { this.instance.post(`/app/appepidemicbackhomerecord/statistic`, null, { params: {