BUG 28608

This commit is contained in:
aixianling
2022-03-29 09:29:14 +08:00
parent ace4a8314b
commit f3e003dfd6

View File

@@ -311,8 +311,8 @@ export default {
}).catch(() => 0)
},
handleRelieve(pass) {
let {id} = this.detail
this.$confirm(`是否${!pass ? '(申请)' : ''}解除监测对象`).then(() => {
let {id} = this.detail, msg = pass == 0 ? `是否继续监测对象` : `是否${isNaN(pass) ? '(申请)' : ''}解除监测对象`
this.$confirm(msg).then(() => {
this.instance.post("/app/apppreventionreturntopoverty/relieve", null, {
params: {pass, id}
}).then(res => {