From 71ba67906896248aa2df5e70756b997fad9a9033 Mon Sep 17 00:00:00 2001 From: wk Date: 星期一, 09 九月 2024 17:54:18 +0800 Subject: [PATCH] feat:门卫 --- pages/driver-page/delivery-my/delivery-my/delivery-my.vue | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/pages/driver-page/delivery-my/delivery-my/delivery-my.vue b/pages/driver-page/delivery-my/delivery-my/delivery-my.vue index ae3efb0..33c5c44 100644 --- a/pages/driver-page/delivery-my/delivery-my/delivery-my.vue +++ b/pages/driver-page/delivery-my/delivery-my/delivery-my.vue @@ -436,7 +436,7 @@ }); if (res.code === 0) { uni.$u.toast('棰勭害鎴愬姛') - this.GetMyDelivery() + this.GetMyDeliverys() } else { uni.$u.toast(res.msg ? res.msg : '棰勭害澶辫触') } @@ -467,7 +467,7 @@ }); if (res.code === 0) { uni.$u.toast('棰勭害鎴愬姛') - this.GetMyDelivery() + this.GetMyDeliverys() } else { uni.$u.toast(res.msg ? res.msg : '棰勭害澶辫触') } @@ -493,7 +493,7 @@ }); if (res.code === 0) { uni.$u.toast('棰勭害鎴愬姛') - this.GetMyDelivery() + this.GetMyDeliverys() } else { uni.$u.toast(res.msg ? res.msg : '棰勭害澶辫触') } @@ -501,6 +501,21 @@ } }) }, + GetMyDeliverys() { + this.$reqGet('driverYuYueList', {orderPlanId:this.id}).then(res => { + if (res.code == 0) { + this.yuYueData = res.data; + } else { + this.$u.toast('鍔犺浇澶辫触'); + } + }); + this.$reqGetId('myDelivery',this.id).then(res => { + if (res.data) { + this.daydata=res.data + this.tmTaskCoalList=res.data.jhOrderPlanList + } + }); + }, GetMyDelivery() { uni.showLoading({ title: '鍔犺浇涓�...' -- Gitblit v1.9.1