tianyi 1 month ago
parent
commit
3af77fd77f
  1. 16
      components/tab-bar/delivery.vue
  2. 2
      components/tab-bar/myCenter.vue
  3. 2
      components/tab-bar/tab-bar.vue

16
components/tab-bar/delivery.vue

@ -453,7 +453,7 @@
that.totalPages = res.result.pages; // pages =
that.$forceUpdate();
} else {
that.tui.toast(res.message);
that.tui.toast(res.message,1000);
return;
}
uni.hideLoading();
@ -557,7 +557,7 @@
},
openPopup() {
if(this.isOnLine != 1){
this.tui.toast('请先上线后配置');
this.tui.toast('请先上线后配置',1000);
return;
}
let that = this
@ -615,7 +615,7 @@
} */
this.$refs.carPopup.open()
} else {
that.tui.toast(res.message)
that.tui.toast(res.message,1000)
return
}
}).catch((res) => {})
@ -635,12 +635,12 @@
let that = this
that.tui.request(url, "POST", {deliveryId:item.id,workerId:item.workerId}, false, true).then((res) => {
if (res.code == 200) {
that.tui.toast(res.message);
that.tui.toast(res.message,1000);
that.searchForm.pageNum = 1
that.getDelivery()
that.$forceUpdate();
} else {
that.tui.toast(res.message);
that.tui.toast(res.message,1000);
return;
}
uni.hideLoading();
@ -687,9 +687,9 @@
worker.isOnLine = value;
this.isOnLine = value
uni.setStorageSync('worker', worker);
this.tui.toast(res.message)
this.tui.toast(res.message,1000)
} else {
this.tui.toast(res.message)
this.tui.toast(res.message,1000)
}
})
@ -706,7 +706,7 @@
if (res.code == 200) {
} else {
this.tui.toast(res.message)
this.tui.toast(res.message,1000)
}
})

2
components/tab-bar/myCenter.vue

@ -98,7 +98,7 @@
url: url
})
} else {
that.tui.toast(res.message)
that.tui.toast(res.message,1000)
return
}
uni.hideLoading()

2
components/tab-bar/tab-bar.vue

@ -138,7 +138,7 @@
}
that.$forceUpdate();
} else {
that.tui.toast(res.message);
that.tui.toast(res.message,1000);
return;
}
uni.hideLoading();

Loading…
Cancel
Save