qingyiay
2023-04-08 237a32aadb51f4c7f51d4734f6e62663f8acde36
pages/driver-page/appointment/appointment.vue
@@ -96,11 +96,13 @@
         this.$reqPost('yuYue', { takeCoalId: this.yuYuePostParams.takeCoalId, yuYueId: this.yuYuePostParams.yuYueId }, 'params').then(res => {
            if (res.code == 0) {
               this.$u.toast('预约成功!');
               uni.navigateBack({
                  delta: 1
               })
               let timer = setTimeout(() => {
                  uni.navigateBack({
                     delta: 1
                  });
               }, 1000);
            } else {
               this.$u.toast(res.data ? res.data : '预约失败');
               this.$u.toast(res.msg ? res.msg : '预约失败');
            }
            setTimeout(() => {
               this.yuYueList();