付延余
2023-03-23 a20cc4d791acb78db0d7455922c781784d333970
pages/driver-page/appointment/appointment.vue
@@ -22,18 +22,19 @@
<script>
import combinedTitle from '@/components/combined-title/combined-title.vue';
import { BigNumber } from 'bignumber.js';
export default {
   components: {
      combinedTitle
   },
   data() {
      return {
         // 预约列表请求参数
         yuYueListParams: {
            filedId: '',
            deptId: '',
            sendDate: ''
         },
         // 预约请求参数
         yuYuePostParams: {
            takeCoalId: null,
            yuYueId: null
@@ -95,6 +96,9 @@
         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
               })
            } else {
               this.$u.toast(res.data ? res.data : '预约失败');
            }