任务审核
This commit is contained in:
@@ -101,18 +101,11 @@ export default {
|
|||||||
onConfirm() {
|
onConfirm() {
|
||||||
this.$refs.form.validate((valid)=> {
|
this.$refs.form.validate((valid)=> {
|
||||||
if(valid) {
|
if(valid) {
|
||||||
this.flag = true
|
|
||||||
this.instance.post(`api/appwechatescalation/examine?id=${this.form.id}&pass=1&integral=${this.form.integral}`).then(res => {
|
this.instance.post(`api/appwechatescalation/examine?id=${this.form.id}&pass=1&integral=${this.form.integral}`).then(res => {
|
||||||
if(res?.code == 0) {
|
if(res?.code == 0) {
|
||||||
this.$message.success('审核成功')
|
this.$message.success('审核成功')
|
||||||
setTimeout(() =>{
|
this.getList()
|
||||||
this.dialog = false
|
}
|
||||||
this.getTableData()
|
|
||||||
this.flag = false
|
|
||||||
}, 600)
|
|
||||||
} else {
|
|
||||||
this.flag = false
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user