From eb9ae89c3e9f66fe5d0f39092a41e5c09bd86fc6 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期五, 24 三月 2023 13:40:02 +0800 Subject: [PATCH] 获取司机定位微信接口签到,货代首页列表详情 --- pages/customer-page/customer-my/customer-my.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pages/customer-page/customer-my/customer-my.vue b/pages/customer-page/customer-my/customer-my.vue index c7ea67c..fb69950 100644 --- a/pages/customer-page/customer-my/customer-my.vue +++ b/pages/customer-page/customer-my/customer-my.vue @@ -131,25 +131,27 @@ }, methods: { init() { - uni.showLoading({ - title: '鍔犺浇涓�...' - }); this.getAllHuoDaiByCustomerId(); this.getFleet(); - uni.hideLoading(); }, // 鑾峰彇璐т唬鍒楄〃 getAllHuoDaiByCustomerId() { + uni.showLoading({ + title: '鍔犺浇涓�...' + }); this.$reqGet('getAllHuoDaiByCustomerId').then(res => { + uni.hideLoading(); this.huoDaiData = res.data; - console.log('璐т唬鍒楄〃', res); }); }, // 鑾峰彇杞﹂槦鍒楄〃 getFleet() { + uni.showLoading({ + title: '鍔犺浇涓�...' + }); this.$reqGet('getFleet').then(res => { + uni.hideLoading(); this.fleetData = res.data; - console.log('杞﹂槦鍒楄〃', res); }); }, // 娣诲姞璐т唬 @@ -160,7 +162,6 @@ }, // 娣诲姞杞﹂槦 addFleet() { - console.log('娣诲姞杞﹂槦'); this.updateGroupShow = true; }, addNewFleetPopupClose() { -- Gitblit v1.9.1