居民审核
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
<div class="Content">
|
||||
<div class="text-area">
|
||||
<div class="title">不通过理由</div>
|
||||
<textarea placeholder="请输入" maxlength="200"></textarea>
|
||||
<textarea placeholder="请输入" maxlength="200" v-model="opinion"></textarea>
|
||||
</div>
|
||||
<div class="footer" @click="submit">
|
||||
<div class="footer" @click="examine(0)">
|
||||
<div class="btn">保存</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -15,18 +15,27 @@ export default {
|
||||
name: "Content",
|
||||
data() {
|
||||
return {
|
||||
value: '',
|
||||
opinion: '',
|
||||
id: '',
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
document.title = '居民档案审核'
|
||||
},
|
||||
onLoad(option) {
|
||||
// this.id = option.id
|
||||
this.id = option.id
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
|
||||
examine(pass) {
|
||||
this.$http.post(`/app/appresident/examine?id=${this.id}&pass=${pass}&opinion=${this.opinion}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('审核成功')
|
||||
uni.$emit('updatePeople')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user