村民圈
This commit is contained in:
@@ -16,7 +16,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
value: '',
|
||||
id: ''
|
||||
id: '',
|
||||
pass: '',
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
@@ -24,17 +25,22 @@ export default {
|
||||
},
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
this.pass = o.pass
|
||||
// console.log(o);
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
this.$http.post('/app/appvillagercircleinfo/examine',null, {
|
||||
params: {
|
||||
id: this.id,
|
||||
pass: 0,
|
||||
pass: this.pass,
|
||||
opinion: this.value
|
||||
}
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
}).then(() => {
|
||||
uni.$emit('update')
|
||||
setTimeout(()=>{
|
||||
uni.navigateBack()
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user