This commit is contained in:
yanran200730
2022-01-12 17:43:23 +08:00
parent a8bad5b96f
commit 37ec666235
2 changed files with 25 additions and 0 deletions

View File

@@ -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',

View File

@@ -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: {