qingyiay
2023-04-21 1fdf41cc692eb7b208fe647259d4295164280a41
pages/customer-page/customer-my/customer-my.vue
@@ -33,6 +33,7 @@
         </view>
      </view>
      <view class="statistics"><u-button text="发运统计" type="primary" @click="statistics"></u-button></view>
      <view class="logout"><u-button text="退出登录" type="primary" @click="logout()"></u-button></view>
      <!-- 新建车队弹出框 -->
@@ -182,7 +183,7 @@
               this.$u.toast('添加成功');
               this.getFleet();
            } else {
               this.$u.toast(res.data ? res.data : '添加失败');
               this.$u.toast(res.msg ? res.msg : '添加失败');
            }
         });
         this.updateGroupShow = false;
@@ -247,6 +248,8 @@
            console.log('删除车队', res);
            if (res.code == 0) {
               this.$u.toast('删除成功');
            } else {
               this.$u.toast(res.msg ? res.msg : '删除失败');
            }
            uni.hideLoading();
            this.getFleet();
@@ -272,12 +275,22 @@
      },
      logoutCancel() {
         this.logoutShow = false;
      },
      // 跳转发运统计页面
      statistics() {
         uni.navigateTo({
            url: '/pages/customer-page/customer-my/faYunstatistics/faYunstatistics'
         });
      }
   }
};
</script>
<style lang="scss" scoped>
.statistics {
   margin-top: vww(10);
   margin-bottom: vww(10);
}
::v-deep.customer-my {
   width: 94%;
   margin: 0 auto;