This commit is contained in:
shijingjing
2022-03-25 18:02:35 +08:00
parent ee46d7ef18
commit e2f6d60c35
2 changed files with 55 additions and 14 deletions

View File

@@ -130,13 +130,34 @@
</template>
<script>
import { mapState } from 'vuex'
export default {
data() {
return {
type: 0,
id: '',
data: {},
}
},
computed: {
...mapState(['user'])
},
onLoad(o) {
this.id = o.id;
this.getDetail()
},
methods: {
getDetail() {
this.$http.post('/app/apppreventionreturntopovertyriskperson/queryDetailById',null,{
params:{
id: this.id
}
}).then(res => {
if(res.code == 0) {
this.data = res.data
}
})
},
toResult() {
uni.navigateTo({url: './result'})
},