|
@@ -177,8 +177,13 @@
|
|
|
getReservatDel(that.id).then(res=>{
|
|
|
if(res.code==200){
|
|
|
that.$toast('删除成功')
|
|
|
+ uni.$emit('refreshdatalist')
|
|
|
+ uni.$emit('refreshdatalists')
|
|
|
setTimeout(function(){
|
|
|
- this.$tab.reLaunch('/pages/index/index')
|
|
|
+ uni.navigateBack({
|
|
|
+ delta:1
|
|
|
+ })
|
|
|
+ // that.$tab.reLaunch('/pages/index/index')
|
|
|
},1500)
|
|
|
|
|
|
}else{
|
|
@@ -211,6 +216,8 @@
|
|
|
getReservatSh(params).then(res=>{
|
|
|
if(res.code==200){
|
|
|
that.$toast('审核成功')
|
|
|
+ uni.$emit('refreshdatalist','sh')
|
|
|
+ uni.$emit('refreshdatalists')
|
|
|
setTimeout(function(){
|
|
|
that.getDataFn();
|
|
|
// that.getcount();
|