qingyiay
2023-03-22 8e095c1fd6164fafc7d5cfd144528a0d67afef7c
pages/customer-page/customer-my/customer-my.vue
@@ -147,7 +147,7 @@
      },
      // 获取车队列表
      getFleet() {
         this.$reqGet('getFleet', { customerId }).then(res => {
         this.$reqGet('getFleet').then(res => {
            this.fleetData = res.data;
            console.log('车队列表', res);
         });
@@ -177,8 +177,12 @@
         // 新建车队
         this.$reqPost('saveFleet', this.addGroupForm, 'params').then(res => {
            uni.hideLoading();
            console.log('新建车队', res);
            this.getFleet();
            if (res.code == 0) {
               this.$u.toast('添加成功');
               this.getFleet();
            } else {
               this.$u.toast(res.data ? res.data : '添加失败');
            }
         });
         this.updateGroupShow = false;
      },