36 lines
578 B
Vue
36 lines
578 B
Vue
|
|
<template>
|
||
|
|
<div class="MonitorRemoveView">
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
name: "MonitorRemoveView",
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
id: '',
|
||
|
|
pass: '',
|
||
|
|
}
|
||
|
|
},
|
||
|
|
onLoad(o) {
|
||
|
|
this.pass = o.pass;
|
||
|
|
this.id = o.id;
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
submit() {
|
||
|
|
this.$http.post(`/app/apppreventionreturntopoverty/relieve?id=${this.id}&pass=${pass}`).then(res => {
|
||
|
|
if (res.code === 0) {
|
||
|
|
this.$u.toast('操作成功')
|
||
|
|
uni.$emit('reload')
|
||
|
|
this.getInfo()
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
},
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style>
|
||
|
|
|
||
|
|
</style>
|