|
|
|
@ -412,7 +412,7 @@ |
|
|
|
<view class="qu-right"> |
|
|
|
<img @tap.stop="makeCall(item.shopPhone)" |
|
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
|
alt="" style="width: 40rpx;height: 40rpx;" /> |
|
|
|
alt="" style="width: 55rpx;height: 55rpx;" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -428,7 +428,7 @@ |
|
|
|
<view class="qu-right"> |
|
|
|
<img @tap.stop="makeCall(item.receiverPhone)" |
|
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
|
alt="" style="width: 40rpx;height: 40rpx;" /> |
|
|
|
alt="" style="width: 55rpx;height: 55rpx;" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -1050,9 +1050,11 @@ |
|
|
|
if (!uni.getStorageSync('worker') && res.result != null) { |
|
|
|
this.$refs.tishiPopup.open() |
|
|
|
uni.setStorageSync('worker', res.result) |
|
|
|
that.$refs.tabBar.indexWorkerCount ++ |
|
|
|
}else{ |
|
|
|
if(res.message == '接单成功'){ |
|
|
|
that.tui.toast(res.message); |
|
|
|
that.$refs.tabBar.indexWorkerCount ++ |
|
|
|
}else{ |
|
|
|
that.tui.toast(res.message,2000); |
|
|
|
} |
|
|
|
@ -1070,7 +1072,7 @@ |
|
|
|
that.paotuiCount -= 1 |
|
|
|
} |
|
|
|
} |
|
|
|
that.$refs.tabBar.indexWorkerCount ++ |
|
|
|
|
|
|
|
setTimeout(res => { |
|
|
|
this.getUserLocation(uni.getStorageSync('worker') ? uni.getStorageSync('worker').workerId : res.result.workerId) |
|
|
|
}, 2000) |
|
|
|
@ -1080,9 +1082,7 @@ |
|
|
|
that.tui.toast(res.message); |
|
|
|
return; |
|
|
|
} |
|
|
|
uni.hideLoading(); |
|
|
|
}).catch((res) => {}); |
|
|
|
|
|
|
|
}, |
|
|
|
rejectOrder(item, index) { |
|
|
|
let that = this |
|
|
|
|