优化督办后的提示

master
吃肉的饺子 2022-07-31 18:46:11 +08:00
parent 09979bc52f
commit b31e21d30a
2 changed files with 9 additions and 6 deletions

View File

@ -163,11 +163,13 @@
reexamineEv(){ reexamineEv(){
this.$requst.post('/api/administrator/examine',{id:this.id}).then(res => { this.$requst.post('/api/administrator/examine',{id:this.id}).then(res => {
if(res.code==0){ if(res.code==0){
console.log(res,'督办复审'); this.$toolAll.tools.showToast('督办成功');
// setTimeout(()=>{
uni.navigateBack({ //
delta:1 uni.navigateBack({
}) delta:1
})
},500)
} else { } else {
this.$toolAll.tools.showToast(res.msg); this.$toolAll.tools.showToast(res.msg);
} }

View File

@ -133,7 +133,8 @@
reexamineEv(id){ reexamineEv(id){
this.$requst.post('administrator/examine',{id:id}).then(res => { this.$requst.post('administrator/examine',{id:id}).then(res => {
if(res.code==0){ if(res.code==0){
this.$toolAll.tools.showToast('审核成功'); this.$toolAll.tools.showToast('督办成功');
this.getListEv();
} else { } else {
this.$toolAll.tools.showToast(res.msg); this.$toolAll.tools.showToast(res.msg);
} }