优化订单列表

This commit is contained in:
TOP糯米 2023-03-30 22:08:25 +08:00
parent 4dff81d1d4
commit 460c228154
2 changed files with 7 additions and 0 deletions

View File

@ -291,6 +291,7 @@ export default {
.chooseWorker(that.id, uid)
.then((msg) => {
that.$utils.toast(msg).then(() => {
this.$store.commit("system/refreshOrder", true);
that.loadDetail();
});
})
@ -339,6 +340,7 @@ export default {
* 刷新页面
*/
refresh() {
this.$store.commit("system/refreshOrder", true);
this.loadDetail();
},
/**
@ -376,6 +378,7 @@ export default {
},
})
.then(() => {
this.$store.commit("system/refreshOrder", true);
this.changeTimeData.data.serviceTime = datetime;
this.changeTimeData.changeTimeModal = false;
})

View File

@ -142,6 +142,10 @@ export default {
currentTab.page = 1;
currentTab.more = true;
currentTab.list = [];
uni.pageScrollTo({
scrollTop: 0,
duration: 0,
});
this.loadData();
},
/**